Component: BurndownChart (Recharts LineChart) (#35)

* feat: getBurndownData helper + computeBurndownDays (lib/insights/burndown.ts)

Server-side aggregatie per active sprint: bouwt time-series met remaining en ideal per dag.
Inclusief 4 Vitest-unit-tests voor de pure computeBurndownDays functie.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore: voeg recharts toe aan dependencies

Vereist door BurndownChart component in lib/insights.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat: BurndownChart component (Recharts LineChart, ideal vs remaining)

LineChart met two series: ideal (grijs, dashed) en remaining (status-in-progress blauw).
ResponsiveContainer 100% x 240px, empty-state bij lege days-array.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Janpeter Visser 2026-05-01 16:41:15 +02:00 committed by GitHub
parent fb3e55b9c0
commit 1df1ea48ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 199 additions and 24 deletions

View file

@ -43,6 +43,7 @@
"react-hook-form": "^7.74.0",
"react-markdown": "^10.1.0",
"react-textarea-autosize": "^8.5.9",
"recharts": "^3.8.1",
"remark-gfm": "^4.0.1",
"shadcn": "^4.4.0",
"sharp": "^0.34.5",