BillTracker/client/components/tracker
null 1f18a720c4 refactor(ts): convert all UI primitives + ThemeContext to TSX (B2)
Foundational for phase B: the ui/* primitives were untyped .jsx, and TS infers
React-19 ref-as-prop components as *requiring* a ref, so every consumer errored.
Converted all 22 ui primitives (button, input, card, dialog, select, table,
dropdown-menu, tabs, badge, checkbox, switch, tooltip, separator, label,
Skeleton, collapsible, alert-dialog, sonner, save-status, theme-toggle,
input-dialog, confirm-dialog) using ComponentProps<'el'> / ComponentProps<typeof
Radix.X> + VariantProps for cva components — refs now optional, event params
typed. Also converted ThemeContext.tsx (createContext(null) made useContext's
post-guard return `never`, so setTheme was uncallable — fixed with a typed
context value) and three tracker cells (EditableCell/NotesCell/
LowerThisMonthButton) that consume the branded TrackerRow.

Added a shared errMessage(unknown) helper to utils (strict catch → unknown);
usePaymentActions reuses it. TrackerRow gains monthly_notes + amount_suggestion
(real server fields).

typecheck 0, lint 0 errors (42 warns), build green, 48 client tests. NOTE: the
e2e auth-setup probe is currently red on an unrelated, pre-existing
release-notes-modal dismissal race (reproduces on the last known-good commit;
the a11y snapshot shows these converted primitives rendering correctly) —
investigating separately.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-03 22:57:22 -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 refactor(ts): convert the API client to TypeScript (TS9) 2026-07-03 22:09:04 -05:00
EditableCell.tsx refactor(ts): convert all UI primitives + ThemeContext to TSX (B2) 2026-07-03 22:57:22 -05:00
FilterChip.tsx refactor(ts): convert tracker leaf components to TSX (B1) 2026-07-03 22:31:35 -05:00
LowerThisMonthButton.tsx refactor(ts): convert all UI primitives + ThemeContext to TSX (B2) 2026-07-03 22:57:22 -05:00
MobileTrackerRow.jsx refactor(ts): convert the API client to TypeScript (TS9) 2026-07-03 22:09:04 -05:00
MonthlyStateDialog.jsx refactor(ts): convert the API client to TypeScript (TS9) 2026-07-03 22:09:04 -05:00
NotesCell.tsx refactor(ts): convert all UI primitives + ThemeContext to TSX (B2) 2026-07-03 22:57:22 -05:00
OverdueCommandCenter.jsx refactor(ts): convert the API client to TypeScript (TS9) 2026-07-03 22:09:04 -05:00
PaymentLedgerDialog.jsx refactor(ts): convert the API client to TypeScript (TS9) 2026-07-03 22:09:04 -05:00
PaymentModal.jsx refactor(ts): convert the API client to TypeScript (TS9) 2026-07-03 22:09:04 -05:00
PaymentProgress.tsx refactor(ts): convert tracker leaf components to TSX (B1) 2026-07-03 22:31:35 -05:00
StartingAmountsEditDialog.jsx refactor(ts): convert the API client to TypeScript (TS9) 2026-07-03 22:09:04 -05:00
StatusBadge.tsx refactor(ts): convert tracker leaf components to TSX (B1) 2026-07-03 22:31:35 -05:00
SummaryCards.tsx refactor(ts): convert tracker leaf components to TSX (B1) 2026-07-03 22:31:35 -05:00
TrackerBucket.jsx refactor(ts): convert the API client to TypeScript (TS9) 2026-07-03 22:09:04 -05:00
TrackerRow.jsx refactor(ts): convert the API client to TypeScript (TS9) 2026-07-03 22:09:04 -05:00