mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
The /insights page used to lead with a 5-column grid of TrendCards (weight, BP-sys, BP-dia, pulse, plus body-fat and mood when present) — exact duplicates of the dashboard tile-strip. Marc said the tiles "duplizieren Dashboard, nehmen nur Platz weg" and asked for them gone. Drop the strip, the helper functions that supported only it (`getRangeColorClass`, `getRangeHint`, `RangeDisplayConfig`), and the bookkeeping locals (`bf`, `showBodyFatCard`, `moodSummary`, `showMoodCard`, `fmt`). Remaining mood references on the page read `data?.moodSummary` inline; every other helper was used only by the removed strip. Net: -157 lines, no behaviour change anywhere except the missing duplicate strip. Recommendations grid + per-section status / chart cards below stay intact — those are the actual value of /insights. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>