Repository navigation
Open workspace confirmation from the FAB on Account and Insights tabs - #102625
Conversation
… on Account and Insights tabs Co-authored-by: dmkt9 <dmkt9@users.noreply.github.com>
|
The failing Analysis: The only lint error is Fix in progress: [No QA] Move NetSuite helpers out of PolicyUtils to fix max-lines lint failure is open. After it merges, merge Evidence: This PR changes only
|
|
🤖 Web test steps verification results: On web (wide layout), FAB > New workspace opens the Confirm Workspace page from Account > Profile and from Inbox, with no Not Found page, and the Default currency row opens the currency selector. The Insights tab is not available for this test account, so that step could not run.
|
|
@MelvinBot merge the latest main branch to fix the eslint failure |
…eNotHereAccountInsights Co-authored-by: dmkt9 <dmkt9@users.noreply.github.com>
|
Merged the latest The ESLint failure was |
|
@MelvinBot update your checklist:
|
|
Updated the PR description:
|
|
The failing check is unrelated to this PR, so I didn't push a fix. Analysis: Evidence: The same 3 tests fail the same way on other unrelated PRs' Jest runs, starting around 14:11 UTC today. Jest runs before 14:01 UTC passed. Two PRs merged to
Next step: Once |
|
The failing check is still unrelated to this PR, so I didn't push a fix. This PR hasn't been re-run since my last comment. Analysis: Fix in progress on Next step: After that PR merges, merge |
|
@MelvinBot mark this PR as ready |
|
I couldn't mark this PR as ready. The command to change its draft status was blocked in my environment. You can do it yourself: click Ready for review at the bottom of the PR page. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@MelvinBot merge the latest main branch into this PR |
…eNotHereAccountInsights Co-authored-by: dmkt9 <dmkt9@users.noreply.github.com>
|
@mjasikowski Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safarichrome.mp4 |
|
No fix needed. All checks now pass on the latest commit ( Details
|
|
🚧 mjasikowski has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/mjasikowski in version: 9.5.8-0 🚀
|
|
No help site update needed. This is a bug fix: New workspace in the FAB now opens the workspace confirmation page from the Account and Insights tabs instead of a Not Found page. That's what users already expect, and no help article says otherwise. |











Explanation of Change
The FAB "New workspace" item opens the
workspace/confirmationdynamic route on top of whatever screen is active. That route only allowed a short list of entry screens (HOME,INBOX,REPORT,SEARCH.ROOT,WORKSPACES_LIST,SETTINGS.ROOT).On a wide layout, the Account tab lands on
settings/profile(SETTINGS.PROFILE.ROOT), and the Insights tab isinsights/:dashboardID(INSIGHTS). Neither is in the list, sogetStateFromPathrejects the suffix and the path falls through to the Not Found page.The FAB is reachable from every tab, so this PR sets
DYNAMIC_ROUTES.WORKSPACE_CONFIRMATION.entryScreensto['*'], which several other global dynamic routes already use. The child routes (currency, plan type, owner) key offWORKSPACE_CONFIRMATION.DYNAMIC_ROOTand need no change.Added a regression test that resolves the real route state for
settings/profile/workspace/confirmationandinsights/spend/workspace/confirmation. Both returnednot-foundbefore this change and now resolve to the confirmation screen.AI web verification (wide layout, local dev build)
Fixed Issues
$ #102095
PROPOSAL: #102095 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari