mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
feat(coach): medications + anthropometrics exclusion toggles
Extend the coach exclude-metrics enum with two optional-context tokens and surface them in the settings sheet under a separate "Include context" group. The snapshot gates the GLP-1 weeklyContext block on the medications toggle (skipping the Prisma lookup entirely when excluded) and gates the new anthropometrics block on the anthropometrics toggle plus at least one non-null profile field. Empty blocks are never emitted.
This commit is contained in:
1 parent
83f0b5ae86
commit
1e9a03bee5
12 files changed
+225
-22
No files matched your search
@@ -353,8 +353,10 @@ components:
|
||||
- sleep
|
||||
- resting_hr
|
||||
- steps
|
||||
- medications
|
||||
- anthropometrics
|
||||
type: string
|
||||
maxItems: 9
|
||||
maxItems: 11
|
||||
type: array
|
||||
showEvidenceByDefault:
|
||||
default: false
|
||||
@@ -1076,8 +1078,10 @@ components:
|
||||
- sleep
|
||||
- resting_hr
|
||||
- steps
|
||||
- medications
|
||||
- anthropometrics
|
||||
type: string
|
||||
maxItems: 9
|
||||
maxItems: 11
|
||||
type: array
|
||||
showEvidenceByDefault:
|
||||
default: false
|
||||
@@ -1880,8 +1884,10 @@ paths:
|
||||
- sleep
|
||||
- resting_hr
|
||||
- steps
|
||||
- medications
|
||||
- anthropometrics
|
||||
type: string
|
||||
maxItems: 9
|
||||
maxItems: 11
|
||||
type: array
|
||||
showEvidenceByDefault:
|
||||
default: false
|
||||
|
||||
Reference in new issue
Block a user