From 34fcbb0d925d7db44359f0cd006433b3bafd9e13 Mon Sep 17 00:00:00 2001 From: null Date: Sun, 7 Jun 2026 16:44:40 -0500 Subject: [PATCH] fix(tracker): payment progress tracking fixes --- client/components/tracker/PaymentProgress.jsx | 4 ++-- client/components/tracker/TrackerBucket.jsx | 16 +++++++------ client/components/tracker/TrackerRow.jsx | 23 ++++++++++--------- 3 files changed, 23 insertions(+), 20 deletions(-) diff --git a/client/components/tracker/PaymentProgress.jsx b/client/components/tracker/PaymentProgress.jsx index 3620078..07f9e7a 100644 --- a/client/components/tracker/PaymentProgress.jsx +++ b/client/components/tracker/PaymentProgress.jsx @@ -1,7 +1,7 @@ import { cn, fmt } from '@/lib/utils'; import { paymentSummary } from '@/lib/trackerUtils'; -export function PaymentProgress({ row, threshold, onOpen, onMarkFullAmount, compact = false }) { +export function PaymentProgress({ row, threshold, onOpen, onMarkFullAmount, compact = false, className }) { const summary = paymentSummary(row, threshold); const barTone = summary.remaining === 0 ? 'bg-emerald-500' @@ -19,7 +19,7 @@ export function PaymentProgress({ row, threshold, onOpen, onMarkFullAmount, comp const showQuickFix = onMarkFullAmount && summary.partial && summary.paid > 0; return ( -
+
{row.category_name && ( -

{row.category_name}

+

{row.category_name}

)} {/* Monthly notes shown inline under the bill name */} {row.monthly_notes && ( @@ -555,10 +555,11 @@ export function TrackerRow({ row, year, month, refresh, index, onEditBill, moveC {/* Amount paid — mismatch now compares against threshold */} - + setPaymentLedgerOpen(true)} onMarkFullAmount={!isSkipped ? handleMarkFullAmount : undefined} /> @@ -579,7 +580,7 @@ export function TrackerRow({ row, year, month, refresh, index, onEditBill, moveC {/* Status — uses effectiveStatus (accounts for skipped + threshold) */} -
+
{/* Actions */} - -
+ +
{showUpdateNudge ? (
Update default?