You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Name a session after the first substance logged into it
Starting a session from the phone is one tap with nowhere to type a title,
so those entries landed in the journal as "Untitled" and stayed there.
`name_after_first_dose` (db.rs, called from `log_dose`) fills a blank title
with the substance name of the session's first dose. Only the first dose
names it: after that the session has a name, and a title cleared back to
blank was cleared on purpose. A title the user typed is never overwritten,
and renaming still wins. Living at the db layer means it holds for the
desktop, the phone, and the Companion's log_dose tool alike.
The desktop's "+ Session" form stamped the literal string "Untitled
experience" into the title column when the field was blank, which would
have made the auto-name unreachable there; it now stores blank and leans on
the display fallback the journal already had. The phone's start-a-session
pane gains an optional title field — offered, never demanded.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments