feat: first-run onboarding flow and context-aware empty states (closes #32)#51
Merged
Conversation
…#32) - Add /onboarding page with 3-step flow: welcome → Gmail OAuth → ingestion results - Redirect first-time users (no Gmail connection) from home to /onboarding - Add ?source=onboarding param to /connect/gmail/start so callback redirects to /onboarding?step=ingesting instead of /settings after OAuth completes - Auto-trigger POST /ingest?limit=50 on the ingesting step; show spinner, then trips-found or nothing-found result with appropriate CTAs - Add ?limit query param to POST /ingest (capped at 50) for the higher first-run scan; default behaviour (limit=4) unchanged - Trips page empty state: show "Connect Gmail" CTA when Gmail not connected - Chat page empty state: show "Connect Gmail" CTA when no Gmail; show 4 starter prompt chips when Gmail connected and conversation is empty - Settings page help text contextualised to connected vs not-connected state Co-Authored-By: Claude Sonnet 4.6 <[email protected]> Claude-Session: https://claude.ai/code/session_01E3ftJB2VsLgBRgWX2bcbBp
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
to /onboarding?step=ingesting instead of /settings after OAuth completes
then trips-found or nothing-found result with appropriate CTAs
first-run scan; default behaviour (limit=4) unchanged
starter prompt chips when Gmail connected and conversation is empty
Co-Authored-By: Claude Sonnet 4.6 [email protected]
Claude-Session: https://claude.ai/code/session_01E3ftJB2VsLgBRgWX2bcbBp