Repository navigation
Drinks: log, plan and cut down on alcohol, with what it does to your nights - #24
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
docs/drinks-plan.mdhas 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.get_drinks,log_drinkandset_drink_plan.drink_entries, included in the backup archive and never sent to Health Connect.Tests:
DrinkInsightsTest.Generated by Claude Code