Simpl-Resultat/src/components/reports
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
..
BudgetVsActualTable.tsx fix: remove duplicated px-3 class and improve readability (#29) 2026-03-09 21:28:46 -04:00
CategoryBarChart.tsx Add box-shadow and z-index to chart tooltips for better visibility (#19) 2026-03-08 12:06:16 -04:00
CategoryOverTimeChart.tsx Add box-shadow and z-index to chart tooltips for better visibility (#19) 2026-03-08 12:06:16 -04:00
CategoryOverTimeTable.tsx Improve visual hierarchy of subtotals and totals in all tables 2026-03-07 09:10:27 -05:00
CategoryTable.tsx Improve visual hierarchy of subtotals and totals in all tables 2026-03-07 09:10:27 -05:00
HighlightsTopMoversChart.tsx feat: reports hub with highlights panel and detailed highlights page (#71) 2026-04-14 14:47:55 -04:00
HighlightsTopMoversTable.tsx feat: reports hub with highlights panel and detailed highlights page (#71) 2026-04-14 14:47:55 -04:00
HighlightsTopTransactionsList.tsx feat: reports hub with highlights panel and detailed highlights page (#71) 2026-04-14 14:47:55 -04:00
HubHighlightsPanel.tsx feat: reports hub with highlights panel and detailed highlights page (#71) 2026-04-14 14:47:55 -04:00
HubNetBalanceTile.tsx feat: reports hub with highlights panel and detailed highlights page (#71) 2026-04-14 14:47:55 -04:00
HubReportNavCard.tsx feat: reports hub with highlights panel and detailed highlights page (#71) 2026-04-14 14:47:55 -04:00
HubTopMoversTile.tsx feat: reports hub with highlights panel and detailed highlights page (#71) 2026-04-14 14:47:55 -04:00
HubTopTransactionsTile.tsx feat: reports hub with highlights panel and detailed highlights page (#71) 2026-04-14 14:47:55 -04:00
MonthlyTrendsChart.tsx Bump version to 0.6.0 — Reports enhancements and comment visibility fix 2026-03-04 21:01:13 -05:00
MonthlyTrendsTable.tsx refactor: remove pivot report, add sub-route skeletons and shared components (#69) 2026-04-14 14:25:38 -04:00
ReportFilterPanel.tsx fix: address reviewer feedback (#41) 2026-03-18 04:01:43 -04:00
Sparkline.tsx refactor: remove pivot report, add sub-route skeletons and shared components (#69) 2026-04-14 14:25:38 -04:00
ViewModeToggle.test.ts refactor: remove pivot report, add sub-route skeletons and shared components (#69) 2026-04-14 14:25:38 -04:00
ViewModeToggle.tsx refactor: remove pivot report, add sub-route skeletons and shared components (#69) 2026-04-14 14:25:38 -04:00