This feature aims to refine the logic that determines when to display the initial Walkthrough for users, ensuring a smoother onboarding experience. The improvements involve:
Adjusting the server-side query parameters to specifically check for firstSignInEver.
Implementing a new event-based system to trigger the Walkthrough.
Ensuring the Walkthrough Component listens for the relevant event.
Emitting the trigger event at the precise moment the user's session begins, conditional upon the firstSignInEver flag.
Motivation
User Experience: Provides a targeted onboarding process only for new users, enhancing their first interaction with our platform.
System Efficiency: Reduces unnecessary checks and conditions, streamlining the codebase.
Maintainability: Event-driven approach allows for easier modifications and extensions in the future.
Use Cases
New User Onboarding: A new user signs in for the first time and is seamlessly guided through the platform's features.
Returning User: A returning user signs in and is not interrupted by the Walkthrough, as their firstSignInEver flag is not set.
Expected Behavior
The Walkthrough is displayed only when the firstSignInEver query parameter is true.
The server-side set the firstSignInEver after signing in a user.
A dedicated event is emitted signifying when to show the Walkthrough.
The Walkthrough Component listens specifically for the event above to show itself.
The user session initialization process includes a check for the firstSignInEver parameter, which triggers the event emission when appropriate.
Description
This feature aims to refine the logic that determines when to display the initial Walkthrough for users, ensuring a smoother onboarding experience. The improvements involve:
Motivation
Use Cases
Expected Behavior