warn when leaving a workspace with reports to approve - #101352
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 283b1a4ca4
ℹ️ 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".
|
@dukenv0307 Why is the BE taking time to reassign the approver? In the attached screenshot, we can see that the BE took ~16 minutes to do the task.
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp101352-android-hybrid-001.mp4Android: mWeb Chrome101352-mweb-chrome-003.mp4iOS: HybridApp101352-ios-hybrid-004.mp4iOS: mWeb Safari101047-mweb-safari-003.mp4MacOS: Chrome / Safari101047-web-chrome-004.mp4 |
There was a problem hiding this comment.
Thanks @dukenv0307. LGTM except for the concern in #101352 (comment).
@blimpich FE changes LGTM. All yours for review. Thanks.
|
🚧 blimpich 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/blimpich in version: 9.4.82-0 🚀
|
|
🤖 Yes — help site changes are required. Draft PR: Docs updates for E/A#101352 Document leaving a workspace and approver warning This PR broadened when the leave-workspace approver warning appears. Previously it showed only for someone set as an approver in the workspace's approval workflow (
What the draft PR changes
UI label verification and authoring notesWritten against Verified in the live web app: the Workspaces navigation tab, the Overview and Members items in the workspace settings menu, and the More dropdown on the workspace Overview page. Not reachable in the live app: the leave action is gated behind The article also documents the full message precedence from One claim to confirm: the article and the
@dukenv0307, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR view run · no recording available |
|
🚀 Deployed to staging by https://github.com/blimpich in version: 9.4.86-0 🚀
|
|
🚀 Deployed to staging by https://github.com/blimpich in version: 9.4.89-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.4.89-0 🚀
Bundle Size Analysis (Sentry): |


Explanation of Change
warn when leaving a workspace with reports to approve
Fixed Issues
$ #98764
PROPOSAL:
Tests
Preconditions:
STR:
Leave - Backward Approver Edit Access?is shownOffline tests
Same as above
QA Steps
Same as above
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)Avatar, 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
Screen.Recording.2026-09-16.at.16.41.11.mov