Repository navigation
Fix workspace navigation after distance settings deep link - #98423
Merged
Gonals merged 16 commits intoAug 31, 2026
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation of Change
Opening the distance settings RHP from another tab could construct an incomplete workspace background on narrow screens. The navigation action retained the
WorkspaceSplitNavigatorname but dropped its nested state, where the policy-scoped Workspace Initial and Distance Rates routes live. Closing the RHP could therefore reveal/workspaces/undefined.This change:
WorkspaceInitialPagefrom fetching policy data, showing Not Found, or closing the RHP before a route policy ID exists.Fixed Issues
$ #98365
PROPOSAL:
Tests
/workspaces/undefined.Offline tests
/workspaces/undefined, and the app does not crash.QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]".
Same as tests.
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
CleanShot.2026-08-12.at.13.55.23.mp4
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari