Skip to content

Skipping onboarding lands on a 404 instead of the team home #8493

Description

@cstns

Clicking the "Set it up myself" link on the AI onboarding page takes you to the 404 page instead of the team home.

What happens: skipOnboarding ends the onboarding stage before navigating away. Ending the stage flips the page's own notAvailable guard, and the guard's watcher replaces the route with the 404 page while the navigation to the team home is still in flight. The page effectively 404s itself on the way out.

The unit tests didn't catch it because the ux store mock never actually flipped isOnboardingIntake, so the guard never reacted in tests.

Might be worth navigating away first and only ending the stage once the page is unmounted, so the guard has nothing left to react on.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:frontendFor any issues that require work in the frontend/UItype:bugSomething isn't working

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions