BillTracker/client/hooks
null ad9fcbd56f refactor(tracker): shared useQuickPay mutation hook (P3)
Quick-pay was duplicated verbatim in TrackerRow and MobileTrackerRow (create
payment + Undo toast + refresh, with a manual busy flag on mobile). Extracted
into a shared useQuickPay() React Query mutation hook: isPending comes for free
(replaces the quickPaySaving state), the tracker/badge caches invalidate on
settle, and the flow lives in one place. Behavior identical.

(togglePaid keeps its local optimistic flip as-is; other mutations can adopt the
same useMutation pattern incrementally.)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-03 21:04:43 -05:00
..
useAuth.jsx fix(client): resolve all 13 exhaustive-deps warnings (R2b) 2026-07-03 19:47:14 -05:00
useAutoSave.js feat(settings): auto-save preferences with live save status (batch 0.39.0) 2026-06-12 02:08:42 -05:00
useAutoSave.test.jsx feat(settings): auto-save preferences with live save status (batch 0.39.0) 2026-06-12 02:08:42 -05:00
usePaymentActions.js refactor(tracker): shared useQuickPay mutation hook (P3) 2026-07-03 21:04:43 -05:00
useQueries.js feat(tracker): prefetch adjacent month on nav hover for instant switching (P2) 2026-07-03 20:58:23 -05:00
useSearchPanelPreference.js feat: search filter panel component, search preference persistence, page integration 2026-06-07 01:28:35 -05:00