Skip to content

Drinks: log, plan and cut down on alcohol, with what it does to your nights - #24

Merged
gabrielbr merged 2 commits into
mainfrom
ccr-67ccb970-dqwwqd
Oct 20, 2026
Merged

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

Conversation

@gabrielbr

Copy link
Copy Markdown
Owner

docs/drinks-plan.md has the competitor research (WHOOP, Oura, Sunnyside, Reframe, Try Dry, MyDrinkaware, the UCL Drink Less trial) and the UI/UX analysis of where this fits. Drinks is opt-in.

  • Drinks screen:
    • The week against a weekly limit, dry days and streaks.
    • One-tap logging of common drinks, and tonight's plan.
    • Nights after 1–2 and after 3+ drinks against the user's own dry nights, and how many nights HRV takes to recover.
    • An 8-week chart with money and calories saved.
    • Breathing and the coach for urges.
    • AUDIT-C every 3 months, with where to get help in Brazil.
    • Settings.
  • Today: a Drinks tile with "+1", and a morning-after line on the Last night card.
  • Other entry points: Settings → Metrics → Drinks and a Journal link.
  • Food log: meals that name a drink become drink entries and are deleted with the meal. Logging a drink ticks the Alcohol journal tag.
  • Coach:
    • Drinks context, plus the tools get_drinks, log_drink and set_drink_plan.
    • Tone and safety rules: never push an abrupt stop; heavy daily drinking gets "see a doctor".
  • Weekly report gains a drinks line.
  • Database v32: drink_entries, included in the backup archive and never sent to Health Connect.
  • Fix: plural drink names now count as alcohol in the food log.

Tests: DrinkInsightsTest.


Generated by Claude Code

…our nights

Opt-in (docs/drinks-plan.md, with the competitor research and the UI/UX
analysis of where it fits):

- Drinks screen: this week against a weekly limit, dry days and streaks,
  one-tap logging of common drinks (beer, chopp, wine, spirit, caipirinha,
  cocktail), tonight's plan, what drinking does to your nights (last night,
  1–2 vs 3+ drinks, nights for HRV to recover, against your own dry nights),
  8-week progress with money and calories not spent, a breathing session and
  the coach for urges, the AUDIT-C check every 3 months with where to get help,
  and settings. A welcome screen turns it on.
- Today: a Drinks tile with "+1", and a morning-after line on the Last night
  card. Settings → Metrics → Drinks and a Journal link open the screen.
- A logged meal that names a drink becomes drink entries (deleted with the
  meal); logging a drink ticks the journal's Alcohol tag.
- Coach: drinks context, get_drinks / log_drink / set_drink_plan, and tone and
  safety rules (never push an abrupt stop; heavy daily drinking → a doctor).
- Weekly report gains a drinks line.
- DB v32: drink_entries, in the backup archive; never sent to Health Connect.
- Plural drink names ("beers", "cervejas") now count as alcohol in the food log.

Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
@gabrielbr
gabrielbr merged commit ad622ab into main Oct 20, 2026
2 checks 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