mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
The GLP-1 detail disclosure carried a titration block that only ever rendered the standard EMA *reference* ladder — a static schedule with no values from the user's own therapy, blank whenever the medication's brand fell outside the catalog. Replace it with a dose-strength curve over the user's recorded dose-change history. The MedicationDoseChange stream is the history of record for titration (2.5 -> 5 -> 7.5 mg escalation steps). The new curve plots that series as a step line, carrying the latest dose forward to now so the current strength anchors the right edge. With a single dose change there is no escalation to draw, so the surface states the current dose plainly with a "no titration history yet" caption rather than a flat single-point chart; with none it shows the empty state. The curve plots only logged facts, so unlike the estimated-PK drug-level chart it needs no Research-Mode gate. Drop the now-unused reference-ladder section, its read route, the ladder helpers, the titration query key, and the orphaned i18n block.