Fix require cycle from clearReportNotifications#33254
Conversation
b9eef16 to
7271668
Compare
|
This is ready for review. @s77rt I keep getting this error on Android so I can't test it let me know if it works for you |
|
@arosiclair I will complete the checklist tomorrow. I'm also getting a similar error on Android (discussion). |
Reviewer Checklist
Screenshots/VideosAndroid: NativeCan't test due to a an ongoing issue https://expensify.slack.com/archives/C01GTK53T8Q/p1702883604941629 Android: mWeb Chromen/a iOS: NativeNotifications cannot be tested in iOS Simulator iOS: mWeb Safarin/a MacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
|
@jasperhuangg 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] |
|
✋ 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/jasperhuangg in version: 1.4.15-0 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.4.15-5 🚀
|
Details
Fixes the require cycle by moving logic from actions/Report.ts to the ReportScreen component
Fixed Issues
$ #33204
Tests
No tests on mWeb
Offline tests
None
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.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)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
N/A
iOS: Native
iOS: mWeb Safari
N/A
MacOS: Chrome / Safari
MacOS: Desktop