Refactor ConfirmModal usage to useConfirmModal in Discard change modal#83297
Refactor ConfirmModal usage to useConfirmModal in Discard change modal#83297roryabraham merged 8 commits intoExpensify:mainfrom
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@ZhenjaHorbach 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] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp2026-03-09.13.43.45.movAndroid: mWeb Chrome2026-03-09.13.43.45.moviOS: HybridApp2026-03-09.13.33.46.mov2026-03-09.13.35.58.moviOS: mWeb Safari2026-03-09.13.26.06.mov2026-03-09.13.30.37.mov2026-03-09.13.31.30.movMacOS: Chrome / Safari2026-03-09.13.12.52.mov2026-03-09.13.16.05.mov2026-03-09.13.20.10.mov |
|
@nkdengineer |
@ZhenjaHorbach Updated. |
|
Changes don't work for odometer flow on ios native 2026-03-09.13.36.33.mov |
|
@ZhenjaHorbach I fixed. |
|
Sorry @nkdengineer, I was too slow and there are conflicts here now |
17e931f to
3a6d4c0
Compare
7ef08ed to
1474c4f
Compare
|
@roryabraham I'm done, the failed test is not related. |
roryabraham
left a comment
There was a problem hiding this comment.
NAB, but React Compiler is working in your hooks so the manual memoization isn't necessary. Merging to avoid conflicts and because failing test isn't related
|
@roryabraham looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
🚧 @roryabraham has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.3.38-0 🚀
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.3.38-4 🚀
|
Explanation of Change
Refactor ConfirmModal usage to useConfirmModal in Discard change modal
Fixed Issues
$ #76694
PROPOSAL:
Tests
IOURequestStepDistanceOdometerPrecondition: Odometer beta is enabled
IOURequestStepMerchantIOURequestStepDescriptionAvatarPageOffline tests
Same
QA Steps
Same as test
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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
Screen.Recording.2026-02-24.at.13.03.02.mov
Android: mWeb Chrome
Screen.Recording.2026-02-24.at.13.06.33.mov
iOS: Native
Screen.Recording.2026-02-24.at.13.05.39.mov
iOS: mWeb Safari
Screen.Recording.2026-02-24.at.13.07.11.mov
MacOS: Chrome / Safari
Screen.Recording.2026-02-23.at.22.54.50.mov
Screen.Recording.2026-02-24.at.13.10.48.mov
Screen.Recording.2026-02-24.at.13.11.17.mov
Screen.Recording.2026-02-24.at.13.11.29.mov