From 7346a6a12508c0b827ad3d09872cd5542d398d79 Mon Sep 17 00:00:00 2001 From: Jean-Luc Makiola Date: Mon, 16 Mar 2026 12:50:24 +0100 Subject: [PATCH] docs(02): research phase domain --- .../02-RESEARCH.md | 510 ++++++++++++++++++ 1 file changed, 510 insertions(+) create mode 100644 .planning/phases/02-dashboard-charts-and-layout/02-RESEARCH.md diff --git a/.planning/phases/02-dashboard-charts-and-layout/02-RESEARCH.md b/.planning/phases/02-dashboard-charts-and-layout/02-RESEARCH.md new file mode 100644 index 0000000..238f1f6 --- /dev/null +++ b/.planning/phases/02-dashboard-charts-and-layout/02-RESEARCH.md @@ -0,0 +1,510 @@ +# Phase 2: Dashboard Charts and Layout - Research + +**Researched:** 2026-03-16 +**Domain:** Recharts 2.x chart components (Donut/PieChart, BarChart, Horizontal BarChart), shadcn/ui ChartContainer integration, React Router URL state management +**Confidence:** HIGH + +## Summary + +Phase 2 replaces the existing flat pie chart and progress bars on the dashboard with three rich chart components -- an expense donut chart with center label and active sector, a grouped vertical bar chart for income budgeted vs actual, and a horizontal bar chart for category-type budget vs actual spending. All charts must consume CSS variable tokens from the established OKLCH palette (no hardcoded hex values) and handle empty states gracefully. Month navigation via URL search params enables shareable links and browser history navigation. + +The project uses **Recharts 2.15.4** (not 3.x as the roadmap loosely referenced). This is important because Recharts 2.x has working `