fix: cleans up reports when policies are deleted#73937
Conversation
|
LGTM |
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
@linhvovan29546 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] |
|
LGTM 👍 Thank you for your hard work! |
|
Testing... |
|
@daledah This change was intended to fix #14260. Could you please update the test steps to match that issue? Also, it looks like we can remove all instances of |
|
@linhvovan29546 we have an issue here to remove this code block, so i think we should not delete all instances in this PR |
|
@linhvovan29546 i added the steps and videos |
|
PR doesn’t need product input as a code clean-up PR. Unassigning and unsubscribing myself. |
I say this because I added a log to that code block to debug, then I removing the workspace on another device/tab, and the log never triggered. Therefore, I think it is safe to remove it here. cc @tgolen as well Screen.Recording.2025-11-05.at.12.09.36.mov |
|
OK, if that's the case and they can all be removed, then let's just remove all of them in this PR and close the other issue. |
|
@linhvovan29546 i removed |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppUploading Screen Recording 2025-11-07 at 10.57.45.mov… Uploading Screen Recording 2025-11-07 at 10.57.45.mov… Android: mWeb ChromeScreen.Recording.2025-11-07.at.10.18.12.moviOS: HybridAppScreen.Recording.2025-11-07.at.10.07.21.moviOS: mWeb SafariScreen.Recording.2025-11-07.at.10.13.45.movMacOS: Chrome / SafariUploading Screen Recording 2025-11-07 at 10.06.20.mov… MacOS: DesktopUploading Screen Recording 2025-11-07 at 10.24.30.mov… |
|
@daledah The ESLint check failed. |
|
@linhvovan29546 i fixed |
|
✋ 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/tgolen in version: 9.2.49-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/tgolen in version: 9.2.49-0 🚀
|
|
🚀 Deployed to staging by https://github.com/tgolen in version: 9.2.52-0 🚀
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.2.54-1 🚀
|
|
🚀 Deployed to staging by https://github.com/tgolen in version: 9.2.52-0 🚀
|
Explanation of Change
Fixed Issues
$ #73857
PROPOSAL: #73857 (comment)
Tests
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-mweb.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios-mweb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
web.mov