You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a bug. When I uploaded my profile picture at the onboarding, it navigated me to the dashboard, and then the onboarding started over again. All my settings were saved, so, I quickly returned to the dashboard again by pressing the next button each time.
Also, it is weirdly switching the languages back and forth. also, there are some react minified js errors. I feel lag when I navigate through the pages.
Steps to Reproduce
Sign up with a fresh account
Complete all onboarding steps
Actual Results
The onboarding bug forces me to go over onboarding again.
After onboarding bug, the dashboard switches language between two (default and regional langs) when I use sidebar menu.
Expected Results
Completing onboard at the first attempt.
Seeing the default language.
Technical details
Google Chrome 124.0.6367.62
Evidence
Screen.Recording.2024-04-24.at.4.45.57.PM.mov
The text was updated successfully, but these errors were encountered:
To tackle the onboarding loop and language auto-switch issues you're experiencing with cal.com, here are some specific steps and insights:
Onboarding Loop: This issue might be due to the application not properly updating or checking the user's onboarding completion status. Investigate the navigation logic in apps/web/pages/getting-started/[[...step]].tsx, focusing on how the currentStepIndex and completion status are managed. Ensure that once the onboarding is completed, a flag is set in the user's profile to prevent re-entry into the onboarding flow.
Language Auto-Switch: The problem could be related to the initialization and persistence of the user's language preference. Check the implementation of the useLocale hook, which should save the language preference (e.g., in local storage or a backend database) and load it upon application startup. This is crucial for maintaining consistent language settings across sessions.
For the React Minified JS Errors, ensure your project's build setup includes source maps to help trace errors back to their original source code. Also, review the use of React features and hooks for potential issues, such as incorrect useEffect dependencies or state updates on unmounted components, which could lead to errors.
Addressing these specific areas should help resolve the issues you're facing.
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
Issue Summary
I encountered a bug. When I uploaded my profile picture at the onboarding, it navigated me to the dashboard, and then the onboarding started over again. All my settings were saved, so, I quickly returned to the dashboard again by pressing the next button each time.
Also, it is weirdly switching the languages back and forth. also, there are some react minified js errors. I feel lag when I navigate through the pages.
Steps to Reproduce
Actual Results
Expected Results
Technical details
Evidence
Screen.Recording.2024-04-24.at.4.45.57.PM.mov
The text was updated successfully, but these errors were encountered: