BillTracker/client/components/tracker
null a0a8579a08 refactor(tracker): shared useTogglePaid mutation hook — finish Tracker mutations (F1)
Toggle paid/unpaid was duplicated across the desktop and mobile rows (optimistic
flip + Undo/paid toasts + refresh). Extracted into a shared useTogglePaid()
React Query mutation hook: the caller keeps the instant local optimistic flip,
the hook rolls it back on error and invalidates the tracker/badge caches on
settle. isPending replaces the desktop row's local loading state (badge spinner
+ un-pay confirm dialog). With useQuickPay (P3), both core Tracker write actions
are now idiomatic useMutation hooks living in one place.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-03 21:18:18 -05:00
..
AutopaySuggestionActions.jsx 0.34.3 2026-05-31 15:06:10 -05:00
CashFlowCard.jsx feat(cashflow): safe-to-spend projection with timeline, vitest setup, package upgrades 2026-06-12 01:32:28 -05:00
DriftInsightPanel.jsx feat(tracker): price-change drift detection with amber insight panel 2026-05-30 14:33:55 -05:00
EditableCell.jsx 0.34.3 2026-05-31 15:06:10 -05:00
FilterChip.jsx 0.34.3 2026-05-31 15:06:10 -05:00
LowerThisMonthButton.jsx 0.34.3 2026-05-31 15:06:10 -05:00
MobileTrackerRow.jsx refactor(tracker): shared useTogglePaid mutation hook — finish Tracker mutations (F1) 2026-07-03 21:18:18 -05:00
MonthlyStateDialog.jsx refactor: component splits, PWA support, CommandPalette 2026-05-28 20:53:22 -05:00
NotesCell.jsx 0.34.3 2026-05-31 15:06:10 -05:00
OverdueCommandCenter.jsx fix(utils): extract localDateString to shared lib, replace .toISOString().slice() pattern across client 2026-06-11 23:40:22 -05:00
PaymentLedgerDialog.jsx feat: framer-motion page transitions and UI polish 2026-06-07 15:14:09 -05:00
PaymentModal.jsx feat: tracker payment flow and mobile row improvements 2026-06-07 14:49:39 -05:00
PaymentProgress.jsx fix(tracker): update payment progress and bills service (batch 0.37.1) 2026-06-08 11:54:47 -05:00
StartingAmountsEditDialog.jsx refactor: component splits, PWA support, CommandPalette 2026-05-28 20:53:22 -05:00
StatusBadge.jsx refactor(tracker): consolidate isPaidStatus + rowOutstanding + toast gap (T5) 2026-07-03 18:36:30 -05:00
SummaryCards.jsx 0.34.3 2026-05-31 15:06:10 -05:00
TrackerBucket.jsx feat(tracker): Pay-all-due per bucket + reversible quick-pay with specific toasts (T4) 2026-07-03 18:43:01 -05:00
TrackerRow.jsx refactor(tracker): shared useTogglePaid mutation hook — finish Tracker mutations (F1) 2026-07-03 21:18:18 -05:00