mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
Phase 8 of W4d GLP-1 full integration. New TherapyTimeline component mounts on /insights/medikamente below the compliance grid. Renders a chronological merge of every GLP-1-relevant event the user has logged: dose changes (with up/down arrow against the previous step), injections (with optional site), inventory events, and side-effect days collapsed from MoodEntry tags. Self-hides for users without a GLP-1 medication (the API returns `hasGlp1: false`), so /insights/medikamente keeps its v1.4.24 look for everyone else. New GET /api/insights/glp1-timeline aggregates the data. Caps at 60 entries by default (configurable to 200 via ?limit) to keep the list readable; older events surface via the existing intake-history page. DE + EN copy for the surface lives under insights.therapyTimeline. The medikamente sub-page description gains a one-liner explaining when the timeline appears.