-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[$500] [Wave Collect] [Ideal Nav] Workspace switcher - "Expensify" and workspace are ticked when returning from workspace [Payment due March 6] #35680
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
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @amyevans ( |
We think that this bug might be related to #vip-vsp |
ProposalPlease re-state the problem we are trying to fix"Expensify" and workspace are ticked when returning from workspace Root causeThe root cause of this issue is that at first when we don't have an active workspace set, and open workspace switcher, we are on route: But the code for selecting the workspace icon doesn't update if the App/src/pages/WorkspaceSwitcherPage.tsx Lines 281 to 286 in e6ea03b
What changes should be made to fix this?We should modify this code: App/src/pages/WorkspaceSwitcherPage.tsx Lines 281 to 286 in e6ea03b
And remove the if condition and early return , thus allowing the setSelectedOption to be set to undefined which it should be as we are going back to the point where there was not an activeWorkspace .
ResultScreen.Recording.2024-02-02.at.11.25.52.PM.movWhat alternative did you explore?We can also use App/src/pages/WorkspaceSwitcherPage.tsx Lines 218 to 220 in e6ea03b
This will make sure that the workspace switcher was closed before new workspace was created so user can't navigate back to it. This is the same approach we take while switching active policy here: App/src/pages/WorkspaceSwitcherPage.tsx Lines 112 to 115 in e6ea03b
ResultScreen.Recording.2024-02-02.at.11.45.48.PM.movPS: I would prefer the alternate solution instead of the main one. |
This is a regression from Ideal Nav, but it's pretty minor so doesn't need to block deploy. Confirmed it's not a dupe of any issues listed in [#whatsnext] Wave 08 - Collect Plan Admins (view). |
Triggered auto assignment to @isabelastisser ( |
Job added to Upwork: https://www.upwork.com/jobs/~01e52e8d993f5ba021 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan ( |
@situchan, can you please review the proposal above? Thanks! |
Bump @situchan. Please let me know if you would like me to reassign this. Thanks! |
sorry reviewing now |
@esh-g's alternative solution looks good to me. |
Current assignee @amyevans is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @situchan 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @esh-g 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@isabelastisser automation failed here. |
@situchan, great, thanks for the heads up! |
Uh oh!
There was an error while loading. Please reload this page.
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: 1.4-36.0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4264387
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
Only "Expensify" will be selected
Actual Result:
"Expensify" and the previous workspace are ticked at the same time
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6365089_1706894608391.20240202_235634__1_.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: