Skip to content

fix: show onboarding after OAuth signup without a reload#136

Merged
flo-bit merged 1 commit into
eurosky/forkfrom
fix/onboarding
Jul 8, 2026
Merged

fix: show onboarding after OAuth signup without a reload#136
flo-bit merged 1 commit into
eurosky/forkfrom
fix/onboarding

Conversation

@seboslaw

@seboslaw seboslaw commented Jul 8, 2026

Copy link
Copy Markdown

A fresh account created via the external PDS OAuth flow never runs the in-app signup wizard, so we start onboarding on the web OAuth callback. It previously did this with persisted.write('onboarding', ...), but on web that never activated onboarding in the current tab: OnboardingProvider is mounted above the session and is never remounted by login(), and persisted.write() does not fire local onUpdate listeners (its cross-tab BroadcastChannel never echoes back to the sender). The wizard only appeared after a manual reload, which re-read the persisted step.

Drive the in-memory onboarding reducer instead (dispatch 'start', which also persists the step) by threading an onboarding dispatch from InnerApp into tryFinishWebOAuthSignIn.

A fresh account created via the external PDS OAuth flow never runs the
in-app signup wizard, so we start onboarding on the web OAuth callback.
It previously did this with persisted.write('onboarding', ...), but on
web that never activated onboarding in the current tab: OnboardingProvider
is mounted above the session and is never remounted by login(), and
persisted.write() does not fire local onUpdate listeners (its cross-tab
BroadcastChannel never echoes back to the sender). The wizard only
appeared after a manual reload, which re-read the persisted step.

Drive the in-memory onboarding reducer instead (dispatch 'start', which
also persists the step) by threading an onboarding dispatch from InnerApp
into tryFinishWebOAuthSignIn.
@flo-bit
flo-bit merged commit e8ccffd into eurosky/fork Jul 8, 2026
11 of 13 checks passed
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Old size New size Diff
9.22 MB 9.22 MB 17 B (0.00%)

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.

3 participants