-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[$500] Onboarding - Changing the URL during onboarding takes back to the first flow #46104
Comments
Triggered auto assignment to @alexpensify ( |
We think that this bug might be related to #wave-collect - Release 1 |
@alexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
ProposalPlease re-state the problem that we are trying to solve in this issue.Onboarding reset to first page if user change URL address What is the root cause of that problem?When user change the url while in onboarding, in here: App/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx Lines 59 to 64 in a79189f
App/src/libs/actions/Welcome.ts Lines 56 to 57 in a79189f
the problem occurs because the Welcome.isOnboardingFlowCompleted() function is triggered again when the URL changes, causing navigation back to the first page of onboarding. This happens because we do not store the onboarding progress in onyx and use What changes do you think we should make in order to solve the problem?We could add onboardingDraft in onyx and store the current address in the onboardingDraft. Then the onNotComppleted will navigate to the last route stored in onBoardingDraft. So in each Welcome.isOnboardingFlowCompleted function call we need to adjust the onNotCompleted parameter to navigate to the stored route in onboardingDraft. Or if it is possible we could directly navigate do the navigation in onNotCompleted, but it seems the onNotCompleted parameter is different on each code that use it. |
I'll test it soon; this GH is on my testing list. |
Job added to Upwork: https://www.upwork.com/jobs/~01f2e620ccc728274d |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
Assigning |
@tsa321 Thanks for the proposal! I did a test but it seems the Instead I found out that the route is set here. App/src/libs/Navigation/NavigationRoot.tsx Lines 97 to 99 in ba25cb3
|
Thanks, @mollfpr . I’ll need to change that line to use |
@tsa321 That will be great. Thank you! |
@mollfpr, here is the test branch. I also found a bug: when a user is in the onboarding flow and enters a random URL, the onboarding process shows the first page and then closes without completing the flow. The fix are are in the macos-web-d.mp4 |
@alexpensify, @mollfpr Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@mollfpr, when you get a chance, can you review the latest text? Thanks! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Reviewing! |
📣 @tsa321 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
I will try to submit a PR tomorrow. |
@mollfpr PR is ready |
Weekly Update: PR is under review |
Next StepsThis PR is going through the review process. Heads up, I will be offline until Tuesday, September 3, 2024, and will not actively watch over this GitHub during that period.If anything urgent is needed here, please ask for help in the #expensify-open-source Slack Room-- thanks! |
Catching up from being OOO, I see the PR is moving along. |
@alexpensify, can we increase the pricing of this PR to $500. The scope of the PR changed during development (discussed here) to solve two additional bugs on main. Contributor decided to solve it in this PR. Does that sound fair @tsa321? |
Upwork job price has been updated to $500 |
Thanks for this context and done! |
Weekly Update: Waiting for this one to go to production |
Now we wait for this one to go through automation. It went into production yesterday. |
Automation didn't kick in, so I'll need to manually work on the payment process. |
$500 approved for @mollfpr |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.11-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
) on your browser and hit enter
Expected Result:
After the page re-loads the user is taken to the current process of the onboarding flow ("What's your name?")
Actual Result:
The user is taken one step back in the onboarding flow("What do you want to do today?") and the previously filled-out name is displayed after clicking on continue
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6551299_1721806826933.2024-07-24_10_18_33.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: