fix(frontend): enhance species badges, smart symptom matching, and sync charity total
Deploy Canina / deploy (push) Successful in 2m5s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s

This commit is contained in:
parsa aghaei committed 2026-09-05 16:37:35 +03:30
1 parent 330d960502
commit 30fb8f3e83
18 files changed
+16952 -14903

No files matched your search

@@ -1325,7 +1325,7 @@ export default function UserDashboard() {
<p className="text-[10px] font-bold text-white/70 mb-1">مجموع کمک‌های اهدایی</p>
<div className="flex items-baseline gap-2 flex-row-reverse justify-end">
<span className="text-xl sm:text-3xl font-black italic">
{toPersian((Math.max(profile.charityDonationTotal || 0, orders.reduce((sum, o) => sum + Number(o.charityDonation || 0), 0))).toLocaleString())}
{toPersian((Number(profile.charityDonationTotal) || 0).toLocaleString())}
</span>
<span className="text-xs font-bold opacity-60">تومان</span>
</div>
@@ -1336,7 +1336,7 @@ export default function UserDashboard() {
<Sparkles className="w-3 h-3 sm:w-4 sm:h-4 text-white" />
</div>
<p className="text-[10px] sm:text-xs font-black leading-relaxed">
همکاری شما باعث تامین هزینه <span className="text-xs sm:text-sm text-yellow-300 mx-1">{toPersian(Math.floor((profile.charityDonationTotal || 0) / 15000).toString())} وعده غذا</span> برای حیوانات بی‌پناه شده است.
همکاری شما باعث تامین هزینه <span className="text-xs sm:text-sm text-yellow-300 mx-1">{toPersian(Math.floor((Number(profile.charityDonationTotal) || 0) / 15000).toString())} وعده غذا</span> برای حیوانات بی‌پناه شده است.
</p>
</div>
</div>