Repository navigation
FTUE: example day in the simple mode, reflection shown on demand; consent after the first entry - #6
Merged
Merged
Conversation
…e first entry Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…lection mode Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
First-run work for the journal. The simple mode stays the default; the reflection mode is shown as the occasional deeper layer, not the base.
Empty state. Two sentences on the loop and two buttons: Add the first entry and See an example day.
Example day (stage 1, simple mode). Adds yesterday's twelve sample entries (EN/UK; one bad moment, −7, among many small good ones) and opens the day report: it feels like a bad day and adds up to +3. The reflection mode is not turned on. The entries are normal and carry ids starting with
example-.Tour card (stage 2). While the example is in the archive, a card above the list says this is how you live in the simple mode, and that when you want to look closer at an entry you switch on the reflection mode (profile menu → Mode). Show reflection mode turns it on, fills in a sample reflection for the −7 entry (the second score, +3, changes the day's total) and opens it. After that the card says the mode is on and can be switched back, "most days you will not need it". Remove the example deletes the sample entries. Events:
example_added,example_reflection_shown,example_removed.Consent popup timing. No longer at launch: offered once per session after the first saved entry (not after the example), and still when the user taps sync. "Allow" is remembered, a refusal is not. Funnel: anonymous
app_open→event_saved→ popup →consent_granted(with an identifier) /consent_declined(anonymous).Verified in a browser (web): the empty state shows both buttons and no popup; the example day opens its report in the simple mode with 12 entries; the card appears on the list; Show reflection mode turns the mode on, writes the protocol (score −7, reflection score +3) and shows the four answers; the card switches to its second text; Remove the example leaves no entries and no card.
svelte-checkclean. I did not drive the real capture form to its Save button; the consent offer sits right aftereventStore.addinhandleCaptureSave.The old single-entry example from the previous version of this PR is gone. The landing work is in #7.
🤖 Generated with Claude Code