fix delete modal persist displayed despite the workspace is deleted#73778
Conversation
|
@dominictb 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] |
|
@shubham1206agra Will you review this or me? |
…/73083-delete-workspace-modal-persist
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 8 files with indirect coverage changes 🚀 New features to boost your workflow:
|
…/73083-delete-workspace-modal-persist
Reviewer Checklist
Screenshots/VideosScreen.Recording.2025-11-04.at.10.42.48.PM.movScreen.Recording.2025-11-04.at.10.51.34.PM.mov |
|
@situchan can you fill out the "Explanation of Change" section when you have a sec please. Let's always aim to write something in there, for context for future readers. |
|
@JmillsExpensify I don't think you need to review too here, right? This is a small fix for a modal that didn't close correctly. |
|
🚀 Deployed to staging by https://github.com/francoisl in version: 9.2.44-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.2.44-5 🚀
|
Explanation of Change
allPoliciesinPolicyUtilsfromOnyx.connectis sometimes updated slower thanpoliciesfromuseOnyx(ONYXKEYS.COLLECTION.POLICY)in view component.To prevent this outdated
allPolicies, we get it fromuseOnyxinstead of deprecatedgetPolicyfromPolicyUtilsinWorkspacesListPage.Fixed Issues
$ #73083
PROPOSAL: #73083 (comment)
Tests
Precondition: user have several workspace
Offline tests
Same as Tests
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand 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
Android: Native
android.mov
Android: mWeb Chrome
android.chrome.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios.safari.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov