mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
The dashboard bands took only the weight target into account. Blood pressure, resting pulse and body fat were resolved from age and sex alone, so a target set on /targets left the chart zones and the tile ranges on the standard band. buildDashboardBands now reads the stored targets blob and routes every override through getEffectiveRange, the same resolver the targets page and the doctor report use. A metric without an override keeps exactly the band it drew before. The snapshot's targetBands carry the resolved values, so a native client reading them needs no change; the field descriptions now say the own target wins. Refs #1261