[Domain Control] Fix security group details visible after offline deletion#89887
Conversation
…ot-found page during RHP navigation
…cted to groups page instead of workspaces page
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d53ac2515d
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
…ecking navigation.canGoBack()
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppios.moviOS: mWeb SafariMacOS: Chrome / Safariweb.mov |
|
@jakubstec please merge main |
…isable-deep-link-access-to-group-details
|
@situchan done! |
|
Can we also fix sub pages? Still accessible |
right, we should do that. give me a sec |
|
@situchan done! |
mountiny
left a comment
There was a problem hiding this comment.
Lets stick with the pendingAction in the name so deleteGroupPendingAction
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.3.73-0 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required for this PR. The changes are purely a bug fix to the existing "Delete Group" functionality for domain security groups — specifically preventing the group details page from flashing a "Not found" page during offline deletion and blocking deeplink access to a deleted group. No user-facing workflows, feature names, or steps have changed. The existing help article ( |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.3.73-0 🚀
Bundle Size Analysis (Sentry): |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.3.73-4 🚀
|
|
@izarutskaya Cannot reprod it on Android, iOS also seems to be fine :( |
Explanation of Change
Follow up PR to adding 'Delete group' setting to domain security groups - blocking access to a group being deleted, and avoid flashing the not-found page during RHP navigation. Adding changes requested in previous PR (docs)
Fixed Issues
$ #89997
PROPOSAL:
Tests
Preconditions:
/domains/<domainAccountID>/groupsDelete Groupand delete a group.Not found page.Not found pageis visible when opening security group page via deeplink (/domains/<domainAccountID>/groups/12345678)Not found pageOffline tests
N/A
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, 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.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
MacOS: Chrome / Safari
Screen.Recording.2026-05-07.at.09.58.54.mov
Screen.Recording.2026-05-07.at.10.06.11.mov
iOS
Screen.Recording.2026-05-07.at.10.03.38.mov