From 955fb96aec2e628ac5e6c9640785e193f59510b6 Mon Sep 17 00:00:00 2001 From: null Date: Sun, 7 Jun 2026 17:03:29 -0500 Subject: [PATCH] fix(tracker): budget display and payment progress fixes --- client/components/tracker/PaymentProgress.jsx | 4 +- client/components/tracker/TrackerBucket.jsx | 16 ++++---- client/components/tracker/TrackerRow.jsx | 38 +++++++++---------- 3 files changed, 29 insertions(+), 29 deletions(-) diff --git a/client/components/tracker/PaymentProgress.jsx b/client/components/tracker/PaymentProgress.jsx index 07f9e7a..53bea27 100644 --- a/client/components/tracker/PaymentProgress.jsx +++ b/client/components/tracker/PaymentProgress.jsx @@ -25,12 +25,12 @@ export function PaymentProgress({ row, threshold, onOpen, onMarkFullAmount, comp onClick={onOpen} className={cn( 'w-full rounded-md text-left transition-colors hover:bg-accent/60 focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50', - compact ? 'p-2' : 'px-2 py-1.5', + compact ? 'p-2' : 'px-2 py-1', )} title="View payment history" >
- 0 ? 'text-emerald-300' : 'text-muted-foreground/85')}> + 0 ? 'text-emerald-300' : 'text-muted-foreground/85')}> {amountLabel} {summary.count > 1 && ( diff --git a/client/components/tracker/TrackerBucket.jsx b/client/components/tracker/TrackerBucket.jsx index 9757234..3530a23 100644 --- a/client/components/tracker/TrackerBucket.jsx +++ b/client/components/tracker/TrackerBucket.jsx @@ -15,13 +15,13 @@ function SortableHead({ sortKey, activeSortKey, sortDir, onSort, children, class return (
-
-
+
+
diff --git a/client/components/tracker/TrackerRow.jsx b/client/components/tracker/TrackerRow.jsx index 672cf52..1d69486 100644 --- a/client/components/tracker/TrackerRow.jsx +++ b/client/components/tracker/TrackerRow.jsx @@ -305,12 +305,12 @@ export function TrackerRow({ row, year, month, refresh, index, onEditBill, moveC style={{ animationDelay: `${index * 40}ms` }} > {/* Bill name + category + monthly notes (if set) */} - +
) : ( - + {row.name} )} @@ -427,7 +427,7 @@ export function TrackerRow({ row, year, month, refresh, index, onEditBill, moveC
{row.category_name && ( -

{row.category_name}

+

{row.category_name}

)} {/* Monthly notes shown inline under the bill name */} {row.monthly_notes && ( @@ -449,7 +449,7 @@ export function TrackerRow({ row, year, month, refresh, index, onEditBill, moveC {/* Due */} - + {editingDue ? ( {/* Expected / Actual — shows actual_amount in amber when it overrides the template */} - + {editingExpected ? ( ) : effectiveActual != null ? ( ) : ( -
+