mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
Add selectedScoreRings to the dashboard layout blob: a closed four-id set (READINESS, RECOVERY_SCORE, SLEEP_SCORE, MED_COMPLIANCE) capped at three rings, with a client-safe ring-to-module map alongside. The resolver drops unknown ids, dedupes, and clamps; a legacy blob without the field defaults to the single MED_COMPLIANCE ring while an explicit empty array is respected. The widgets PUT validates the field against the closed enum and preserves the stored value when a client omits it, the same contract heroVisible already rides.