Skip to content

Nutrition, My Health and Readiness in the new look - #85

Merged
gabrielbr merged 2 commits into
mainfrom
ccr-67ccb970-dqwwqd
Nov 16, 2026
Merged

gabrielbr merged 2 commits into
mainfrom
ccr-67ccb970-dqwwqd

Conversation

@gabrielbr

Copy link
Copy Markdown
Owner

This converts Nutrition, My Health and Readiness to the new look. Everything is behind Debug → New look; the current look is unchanged. Each shared change keeps the old look's values, and lookCard(oldBorder = false) covers old cards that never had a border.

Shared pieces (so several screens move at once)

  • Look / lookCard() (calm/Look.kt) return the surface and text colours for whichever look is on.
  • My Health's Section and Fact: a calm card, with a sentence-case heading instead of a caps eyebrow.
  • The My Health entry card: also at the end of Vitals, Sleep and Activity, so those three move too.
  • ContributorsCard: used on Readiness, Sleep and Activity. It gets a section title and a calm card with inset dividers.

Screens

  • Readiness:
    • Calm top bar, page, gutter, 720dp cap and Inter.
    • The band word ("Good") is shown as a heading.
    • The coverage note is a plain raised block.
    • The no-score card and the "data behind this score" card are calm.
  • My Health:
    • Calm top bar, with Share my week kept.
    • Page, gutter, cap and Inter.
    • Health-area titles in Inter, and the Symptom Radar row as a calm card.
  • Nutrition:
    • Calm top bar when opened as a pushed screen (none as a tab), page, gutter, cap and Inter.
    • The day's kcal is the screen's statement.
    • Meal type headings, and meal rows on the calm card.
    • The next-meal card leads with "Next meal idea · Lunch" instead of a caps label.

Impeccable pass fixes

  • Readiness: "Not enough data yet" lowercased every name, so HRV showed as "hrv". It now keeps acronyms.
  • Nutrition: the next-meal card had a caps label over its content; it now leads with its heading.
  • Nutrition: every meal row had a red delete icon. It is now muted; the delete confirmation keeps the red.

Audit

audits/2026-11-16-new-look-nutrition-myhealth-readiness.md

Screen Audit Critique
Readiness 18/20 32/40
My Health 18/20 30/40
Nutrition 18/20 32/40

No P0 or P1 findings. Carried forward:

  • NL-4, still in the old style:
    • Nutrition's Log meal button and macro bars
    • My Health's trend charts, breathing sheet and habits
    • the Readiness ring's drawing
  • Canvas boards: owed, because the canvas tools were not connected.
  • On-device check: owed, because there is no emulator here.

Generated by Claude Code

Behind Debug -> New look. Shared pieces first, through Look / lookCard(): My Health's Section and
Fact, the My Health entry card (also on Vitals, Sleep, Activity) and ContributorsCard (Readiness,
Sleep, Activity). Then each screen's bar, page, gutter, 720dp cap and Inter; readiness's band word
as a heading; the day's kcal as Nutrition's statement; sentence-case headings for the caps kickers.
Impeccable pass fixes: acronyms kept in "Not enough data yet", the next-meal kicker, a quiet delete
icon on meal rows. Audit in audits/2026-11-16-new-look-nutrition-myhealth-readiness.md.

Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
@gabrielbr
gabrielbr merged commit eabc955 into main Nov 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants