mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
Follow-up to9a74f8e— that commit's pathspec didn't pick up the implementation files, only the new test. This commit lands the actual EmptyState wiring described in the previous message: - src/components/measurements/measurement-list.tsx — Activity icon, filter-aware empty state, optional onAddFirst CTA prop. - src/components/mood/mood-list.tsx — Smile icon, mirroring filter semantics + optional onAddFirst. - src/app/measurements/page.tsx + src/app/mood/page.tsx — pass onAddFirst so the empty-state CTA opens the same dialog as the header button. - src/app/medications/page.tsx — refactor inline icon+text+button block to the EmptyState primitive (Pill icon). - src/app/achievements/page.tsx — Trophy icon for the no-achievements state, reusing the existing noneUnlockedYet string. Together with9a74f8ethe four feature lists now share a consistent empty-state surface with the rest of the app. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>