Skip to content

Conversation

@koltsov-spiralscout
Copy link

What’s fixed
After completing the onboarding flow, users still saw the "Begin" option, which made it appear as though the onboarding process wasn’t actually finished.

What was done
Replaced saving and reading onboarding state from localStorage with proper persistence in the database.
Updated logic to correctly reflect onboarding completion based on stored DB values.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates onboarding state management from localStorage to database persistence to ensure onboarding completion status is properly tracked across sessions and devices.

Key changes:

  • Replaced localStorage reads/writes with API calls to /api/v1/onboard/banner/flags endpoint
  • Updated auto-redirect logic to rely solely on database-stored hasVisited flag
  • Modified all three onboarding state methods to use database persistence

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wippyai wippyai deleted a comment from Copilot AI Dec 8, 2025
@koltsov-spiralscout koltsov-spiralscout force-pushed the EE2-1894-need-to-hide-the-onboarding-banner branch from 9709fc3 to e28aeca Compare December 8, 2025 19:25
@koltsov-spiralscout koltsov-spiralscout force-pushed the EE2-1894-need-to-hide-the-onboarding-banner branch from e28aeca to 30ca89e Compare December 8, 2025 19:33
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.

2 participants