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
{{ message }}
Repository navigation
[Due for payment 2025-07-04] [$250] Login - Incorrect ND onboarding modals when selecting Manage company expenses (10+) option #63488
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Open a fresh incognito window
2.Go to OD staging.expensify.com
3.Select "Manage my company's expenses (10+)"
4.Sign up with a account with the following format: [anything]@tstsg.com e.g: isagoicotest@tstsg.comt
5.Click on "Get Started"
Expected Result:
The user is navigated to ND, the "What do you want to do today?" modal is skipped
After being redirected to ND, the user should see an onboarding modal to select the company size with ranges that start at 11
Actual Result:
After selecting the "Manage my company's expenses (10+)" option, the user is redirected to ND and the first onboarding which is displayed is "What do you want to do today?" instead of the onboarding modal to select the company size with ranges that start at 11
Workaround:
Unknown
Platforms:
Select the officially supported platforms where the issue was reproduced:
Android: App
Android: mWeb Chrome
iOS: App
iOS: mWeb Safari
iOS: mWeb Chrome
Windows: Chrome
MacOS: Chrome / Safari
MacOS: Desktop
Platforms Tested:
On which of our officially supported platforms was this issue tested:
Android: App
Android: mWeb Chrome
iOS: App
iOS: mWeb Safari
iOS: mWeb Chrome
Windows: Chrome
MacOS: Chrome / Safari
MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidenceBug6850874_1749065937826.Recording__121__2_.mp4
🚨 Edited by proposal-police: This proposal was edited at 2025-06-05 04:43:24 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
After selecting the "Manage my company's expenses (10+)" option, the user is redirected to ND and the first onboarding which is displayed is "What do you want to do today?" instead of the onboarding modal to select the company size with ranges that start at 11
What is the root cause of that problem?
Skipping the email step will bring us to the onboarding purpose if the user is not routed to the app via VSB
Update the same for navigation logic on BaseOnboardingWorkEmailValidation
select the company size with ranges that start at 11
The company size ranges will be fixed here
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
We can update WorkEmailOnboarding test to verify the user navigate to the employees step if the user is routed app via smb
What alternative solutions did you explore? (Optional)
NA
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]Login - Incorrect ND onboarding modals when selecting Manage company expenses (10+) option[/-][+][$250] Login - Incorrect ND onboarding modals when selecting Manage company expenses (10+) option[/+]on Jun 10, 2025
changed the title [-][$250] Login - Incorrect ND onboarding modals when selecting Manage company expenses (10+) option[/-][+][Due for payment 2025-07-04] [$250] Login - Incorrect ND onboarding modals when selecting Manage company expenses (10+) option[/+]on Jun 27, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.71-11 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@rojiphil@alexpensify@rojiphil The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Jun 4, 2025
Triggered auto assignment to @alexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.thelullabyy commentedon Jun 5, 2025
🚨 Edited by proposal-police: This proposal was edited at 2025-06-05 04:43:24 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
After selecting the "Manage my company's expenses (10+)" option, the user is redirected to ND and the first onboarding which is displayed is "What do you want to do today?" instead of the onboarding modal to select the company size with ranges that start at 11
What is the root cause of that problem?
Skipping the email step will bring us to the onboarding purpose if the user is not routed to the app via VSB
App/src/pages/OnboardingWorkEmail/BaseOnboardingWorkEmail.tsx
Lines 163 to 168 in 437acdd
What changes do you think we should make in order to solve the problem?
We should navigate to the employee step if the user is routed to the app via
SMBApp/src/pages/OnboardingWorkEmail/BaseOnboardingWorkEmail.tsx
Lines 163 to 168 in 437acdd
We also need to update the same logic in the
useEffecthereApp/src/pages/OnboardingWorkEmail/BaseOnboardingWorkEmail.tsx
Line 74 in 437acdd
Update the same for navigation logic on
BaseOnboardingWorkEmailValidationThe company size ranges will be fixed here
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
We can update
WorkEmailOnboardingtest to verify the user navigate to the employees step if the user is routed app via smbWhat alternative solutions did you explore? (Optional)
NA
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
[-]Login - Incorrect ND onboarding modals when selecting Manage company expenses (10+) option[/-][+][$250] Login - Incorrect ND onboarding modals when selecting Manage company expenses (10+) option[/+]melvin-bot commentedon Jun 10, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021932249541162156105
melvin-bot commentedon Jun 10, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rojiphil (
External)alexpensify commentedon Jun 10, 2025
@rojiphil - when you get a chance, can you please review this proposal to confirm if it will fix the issue? Thanks!
thelullabyy commentedon Jun 12, 2025
@rojiphil Any thoughts on my proposal?
24 remaining items
[-][$250] Login - Incorrect ND onboarding modals when selecting Manage company expenses (10+) option[/-][+][Due for payment 2025-07-04] [$250] Login - Incorrect ND onboarding modals when selecting Manage company expenses (10+) option[/+]melvin-bot commentedon Jun 27, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jun 27, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.71-11 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2025-07-04. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jun 27, 2025
@rojiphil @alexpensify @rojiphil The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
alexpensify commentedon Jul 4, 2025
Payment Summary
Contributor: @thelullabyy paid $250 via Upwork
Contributor+: @rojiphil due $250 via NewDot-- please submit a request
rojiphil commentedon Nov 7, 2025
paid