Simpl-Resultat/src/hooks
le king fu ac9c8afc4a
All checks were successful
PR Check / rust (pull_request) Successful in 24m54s
PR Check / frontend (pull_request) Successful in 2m32s
PR Check / rust (push) Successful in 24m14s
PR Check / frontend (push) Successful in 2m26s
feat: reports hub with highlights panel and detailed highlights page (#71)
- Transform /reports into a hub: highlights panel + 4 nav cards
- New service: reportService.getHighlights (parameterised SQL, deterministic
  via referenceDate argument for tests, computes current-month balance, YTD,
  12-month sparkline series, top expense movers vs previous month, top recent
  transactions within configurable 30/60/90 day window)
- Extended types: HighlightsData, HighlightMover, MonthBalance
- Wired useHighlights hook with reducer + window-days state
- Hub tiles (flat naming under src/components/reports):
  HubNetBalanceTile, HubTopMoversTile, HubTopTransactionsTile,
  HubHighlightsPanel, HubReportNavCard
- Detailed ReportsHighlightsPage: balance tiles, sortable top movers table,
  diverging bar chart (Recharts + patterns SVG), top transactions list with
  30/60/90 window toggle; ViewModeToggle persistence keyed as
  reports-viewmode-highlights
- New i18n keys: reports.hub.*, reports.highlights.*
- 5 new vitest cases: empty profile, parameterised queries, window sizing,
  delta computation, zero-previous divisor handling

Fixes #71

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 14:47:55 -04:00
..
useAdjustments.ts feat: add Budget and Adjustments pages with full functionality 2026-02-12 00:58:43 +00:00
useAuth.ts feat: Maximus Account OAuth2 PKCE + machine activation + subscription check (#51, #53) 2026-04-10 14:18:51 -04:00
useBudget.ts refactor: inline buildPrevYearTotalMap and remove disproportionate tests (#39) 2026-03-11 13:02:47 -04:00
useCategories.ts feat: add 3rd level of category hierarchy 2026-02-25 19:54:05 -05:00
useCategoryZoom.ts refactor: split useReports into per-domain hooks + URL-bookmarked period (#70) 2026-04-14 14:37:33 -04:00
useCompare.ts refactor: split useReports into per-domain hooks + URL-bookmarked period (#70) 2026-04-14 14:37:33 -04:00
useDashboard.ts fix: address reviewer feedback (#31) 2026-03-10 18:53:31 -04:00
useDataExport.ts feat: add data export/import with optional AES-256-GCM encryption (#3) 2026-02-15 11:40:28 +00:00
useDataImport.ts feat: make settings data imports visible in Import History 2026-02-15 13:38:51 +00:00
useHighlights.ts feat: reports hub with highlights panel and detailed highlights page (#71) 2026-04-14 14:47:55 -04:00
useImportHistory.ts feat: 12-month budget grid, import UX improvements, confirmation dialogs (v0.2.4) 2026-02-14 12:59:11 +00:00
useImportWizard.ts feat: show transaction splits on Adjustments page + fix CSV auto-detect 2026-02-17 01:41:08 +00:00
useLicense.ts feat: license card in settings (#47) 2026-04-09 15:47:04 -04:00
useReports.ts refactor: split useReports into per-domain hooks + URL-bookmarked period (#70) 2026-04-14 14:37:33 -04:00
useReportsPeriod.test.ts refactor: split useReports into per-domain hooks + URL-bookmarked period (#70) 2026-04-14 14:37:33 -04:00
useReportsPeriod.ts refactor: split useReports into per-domain hooks + URL-bookmarked period (#70) 2026-04-14 14:37:33 -04:00
useTheme.ts feat: add dark mode with famille-website-inspired warm gray palette 2026-02-13 12:28:11 +00:00
useTransactions.ts feat: add transaction split adjustments across multiple categories 2026-02-16 23:51:36 +00:00
useTrends.ts refactor: split useReports into per-domain hooks + URL-bookmarked period (#70) 2026-04-14 14:37:33 -04:00
useUpdater.ts feat: gate auto-updates behind license entitlement (#48) 2026-04-09 15:52:59 -04:00