Repository navigation
Description
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.1.68-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: #62849
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Device used: Apple iPhone 12 Pro / Safari
App Component: Other
Action Performed:
Precondition: Log into the same new Gmail account in the main (mWeb), and secondary (web, or desktop) device.
- mWeb: Navigate to https://staging.new.expensify.com/
- mWeb: Create a workspace and stay at the main WS page
- Web: Delete the workspace
- mWeb: Tap on "Go back to home page"
- mWeb: Tap on "Workspaces"
Expected Result:
I should be navigated to the workspace list.
Actual Result:
"Hmm... it's not here" page opens after deleting WS from another device and navigating to the workspace list.
Workaround:
Unknown
Platforms:
- Android: App
- Android: mWeb Chrome
- iOS: App
- iOS: mWeb Safari
- iOS: mWeb Chrome
- Windows: Chrome
- MacOS: Chrome / Safari
- MacOS: Desktop
Screenshots/Videos
1.mp4
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~021938729819676862550
- Upwork Job ID: 1938729819676862550
- Last Price Increase: 2025-09-08
Activity
melvin-bot commentedon Jun 17, 2025
Triggered auto assignment to @RachCHopkins (
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.[-]Workspace - mWeb - it's not here page opens after deleting WS from another device[/-][+]Workspace - mWeb - It's not here page opens after deleting WS from another device[/+]truph01 commentedon Jun 17, 2025
🚨 Edited by proposal-police: This proposal was edited at 2025-06-17 21:18:45 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
LAST_VISITED_PATH_WORKSPACES_TAB.What changes do you think we should make in order to solve the problem?
LAST_VISITED_PATH_WORKSPACES_TABvalue in session storage when the user clicks "Go back to home page" on the workspace initial page.App/src/pages/workspace/WorkspaceInitialPage.tsx
Line 444 in e32b529
Proposed code update:
This ensures that when the user returns to the workspace tab later, the app won’t attempt to navigate to a deleted workspace.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
What alternative solutions did you explore? (Optional)
Solution 1
goBackToHomefunction inNavigation.tsfile so that it callssaveWorkspacesTabPathToSessionStorage('')directly.Solution 2
App/src/pages/workspace/WorkspaceInitialPage.tsx
Line 444 in e32b529
dmkt9 commentedon Jun 18, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
"Hmm... it's not here" page opens after deleting WS from another device and navigating to the workspace list.
What is the root cause of that problem?
App/src/components/Navigation/NavigationTabBar/index.tsx
Line 158 in 0686278
policyIDin the params before navigating to the workspace, this leads to the following error:App/src/components/Navigation/NavigationTabBar/index.tsx
Lines 175 to 185 in 0686278
What changes do you think we should make in order to solve the problem?
shouldShowPolicy—just as it’s used to filter the workspace list inWorkspacesListPage:App/src/pages/workspace/WorkspacesListPage.tsx
Lines 376 to 377 in 0686278
Use
instead of
App/src/components/Navigation/NavigationTabBar/index.tsx
Line 175 in 0686278
returnstatement inside theifso that it falls back to the workspace list when the policy isn’t accessible. The complete code would then look like this:What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
NA
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.
truph01 commentedon Jun 18, 2025
Proposal updated
Solution 2sectionmelvin-bot commentedon Jun 23, 2025
@RachCHopkins Eep! 4 days overdue now. Issues have feelings too...
melvin-bot commentedon Jun 25, 2025
@RachCHopkins 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
melvin-bot commentedon Jun 27, 2025
@RachCHopkins 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!
[-]Workspace - mWeb - It's not here page opens after deleting WS from another device[/-][+][$250] Workspace - mWeb - It's not here page opens after deleting WS from another device[/+]melvin-bot commentedon Jun 27, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021938729819676862550
61 remaining items
melvin-bot commentedon Sep 1, 2025
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
hoangzinh commentedon Sep 1, 2025
cc @RachCHopkins looks like we can close this issue
mvtglobally commentedon Sep 5, 2025
Issue not reproducible during KI retests. (Second week)
melvin-bot commentedon Sep 5, 2025
@hoangzinh Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
hoangzinh commentedon Sep 6, 2025
Ping @RachCHopkins in Slack to close this issue
melvin-bot commentedon Sep 8, 2025
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
hoangzinh commentedon Sep 9, 2025
Awaiting @RachCHopkins to close this issue
RachCHopkins commentedon Sep 11, 2025
Sorry, have been OOO! Closed!