mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-12 14:16:12 +00:00
The v1.4.22 C1 inline sparkline + "Δ vs. last month" caption never earned their place on /targets. The W5 reconcile filed four findings against them (Design M2 — sparkline ignores min-points threshold so 3 points read as "lots of activity"; M7 — SVG aria-hidden hides the only motion cue from screen readers; L3 — preserveAspectRatio="none" distorts the y axis; Senior-Dev M2 — 7 sequential Array.filter passes on the route). The replacement primitive (a 7-day consistency strip) lands in the next phase; this commit just removes the dead weight. Drops: - Sparkline component, TargetItem.points30d, TargetItem.deltaVsLastMonth - The 60-day fetch and the per-type sparklinePoints / deltaVsLastMonth helpers in the route handler - targets.deltaVsLastMonth, targets.deltaVsLastMonthFlat, targets.deltaUnavailable i18n keys (EN + DE) - targets-sparkline.test.tsx (the consistency-strip suite replaces it in phase 3)