mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 21:32:18 +00:00
Record the score's delta chip in the affordance ledger
The panel picked up a green +N chip beside its label when the score moved back into the band, and the repo-wide affordance guard counts that colour wherever it appears outside the outcome module. The chip reports a week that went up rather than an action that succeeded, so it is recorded here at exactly one use rather than routed through the outcome table.
This commit is contained in:
1 parent
b697a0a10e
commit
2bd964973f
1 file changed
+5
@@ -174,6 +174,11 @@ const PINNED_AFFORDANCES: Record<
|
||||
"src/components/insights/confidence-badge.ts": { "text-success": 1 },
|
||||
"src/components/insights/daily-briefing.tsx": { "text-success": 1 },
|
||||
"src/components/insights/derived/band-tokens.ts": { "text-success": 1 },
|
||||
// The green `+N` chip beside the Health Score label. It reports a week that
|
||||
// went up, not an action that succeeded, and it wears the same band token
|
||||
// the score's own number does — there is no outcome here to route through
|
||||
// the outcome module.
|
||||
"src/components/insights/health-score-card.tsx": { "text-success": 1 },
|
||||
"src/components/insights/insights-edit-mode.tsx": { "toast.success": 2 },
|
||||
"src/components/insights/insights-tab-strip.tsx": { "toast.success": 1 },
|
||||
"src/components/insights/mood/mood-better-days.tsx": { "text-success": 1 },
|
||||
|
||||
Reference in new issue
Block a user