Remove optimistic CLOSED actions on success#39008
Conversation
|
@sobitneupane 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] |
|
Rory checked this solution here so I think we will proceed with this fix. |
|
@sobitneupane are you around for reviewing? |
|
I am around if @sobitneupane is sleeping |
Reviewer Checklist
Screenshots/VideosAndroid: NativeRecord_2024-03-27-05-06-07.mp4Android: mWeb ChromeRecord_2024-03-27-05-13-17.mp4iOS: NativeScreen.Recording.2024-03-27.at.4.37.24.AM.moviOS: mWeb SafariScreen.Recording.2024-03-27.at.4.47.06.AM.movMacOS: Chrome / SafariScreen.Recording.2024-03-27.at.4.38.39.AM.movMacOS: DesktopScreen.Recording.2024-03-27.at.4.58.55.AM-1.mov |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…d-reportactions Remove optimistic CLOSED actions on success (cherry picked from commit 29fd425)
|
🚀 Cherry-picked to staging by https://github.com/yuwenmemon in version: 1.4.56-7 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
Tested in staging and it works now: Screen.Recording.2024-03-26.at.5.45.22.PM.mov |
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.4.56-8 🚀
|
|
Created issue to handle the follow up work for this: https://github.com/Expensify/Expensify/issues/383435 |
Details
Deletes the optimistic CLOSED report action after the
DeleteWorkspacehas finalized. This is fine because we receive the server side CLOSED report actions in the request response.Fixed Issues
$ #38839
PROPOSAL:
Tests
Offline tests
#adminsroom.QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Uploading Screen Recording 2024-03-26 at 11.11.02 AM.mov…
MacOS: Desktop