Skip to content

Drinks: rework the screen around glance, act and one insight - #25

Merged
gabrielbr merged 1 commit into
mainfrom
ccr-67ccb970-dqwwqd
Oct 20, 2026
Merged

gabrielbr merged 1 commit into
mainfrom
ccr-67ccb970-dqwwqd

Conversation

@gabrielbr

Copy link
Copy Markdown
Owner

The Drinks page was a stack of eight text-heavy cards. It now follows the same layers as Today.

  • This week tab
    • A gauge of drinks against the limit, with one headline and a dry-days line.
    • A Monday–Sunday strip: drinks per day, dry days ticked, heavy days in amber.
    • Four one-tap buttons for the most-logged drinks, with Undo; "More" opens a sheet.
    • Tonight's total, with recent drinks shown on request, and a plan chip that opens a sheet.
    • One insight card, with details on request.
  • Trends tab: headline numbers, the 8-week chart with week dates, and savings as figures.
  • Support tab: breathing and coach rows, the AUDIT-C check, and support contacts.
  • Settings move to a bottom sheet behind the gear.
  • Welcome is shorter: three benefits and one setup card.

Tests added for the headline wording and the ranking of most-logged drinks.


Generated by Claude Code

…what now"

The page stacked eight text-heavy cards. It now follows Today's layers:
- This week: a gauge of drinks against the limit with one headline ("3.6 left
  this week", "2 more dry days to reach 4"), and a Monday–Sunday strip with
  drinks per day, dry days ticked and heavy days in amber.
- Log: the four drinks you log most as big buttons, "More" in a sheet, undo
  after every log, tonight's total with recent drinks on request, and the plan
  as a chip that opens a sheet.
- One insight card: the most useful thing your nights say right now, details
  on request, and a progress bar while it is still learning your dry nights.
- Trends and Support move to tabs; settings to a sheet behind the gear.
- The welcome is shorter: three benefits and one set-up card.

Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
@gabrielbr
gabrielbr merged commit ebc81e3 into main Oct 20, 2026
2 checks passed
gabrielbr pushed a commit that referenced this pull request Oct 20, 2026
DrinksUi.kt conflicted with the Drinks rework (#25). Took main's screen and
re-applied the audit's fixes to it: Pill and the tab Segments announce their
selection (radio / tab, in selectable groups), the stepper's −/+ name what
they change, deleting a recent drink asks first and the icon names the drink,
the 3-question check uses one selectable 48dp row per answer, and card titles,
stepper notes and recent-drink lines go from 11 to 12sp.
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