mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 04:50:59 +00:00
The per-metric reference panel on each insights category page now opens the self-contained target editor in place rather than linking out to the targets page. The panel mounts the same <TargetEditSheet> the targets card uses, seeded with the metric's type, unit, and range (plus the diastolic band for blood pressure); the sheet writes the threshold override and invalidates the shared targets cache on save, so the panel repaints without a navigation. Switch the sheet's targets-cache invalidation to the query-key factory call so it stays aligned with the centralised key.