Refactored ConfirmModal usage to useConfirmModal#77950
Refactored ConfirmModal usage to useConfirmModal#77950roryabraham merged 13 commits intoExpensify:mainfrom
Conversation
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.
|
|
@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] |
|
@roryabraham 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] |
|
PR doesn’t need product input as a refactor PR. Unassigning and unsubscribing myself. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp2026-01-07.12.43.09.mov2026-01-07.12.44.40.mov2026-01-07.12.46.39.mov2026-01-07.12.42.25.movAndroid: mWeb Chrome2026-01-07.12.36.11.mov2026-01-07.12.37.29.mov2026-01-07.12.37.55.mov2026-01-07.12.38.28.moviOS: HybridApp2026-01-07.12.29.15.mov2026-01-07.12.30.24.mov2026-01-07.12.31.18.mov2026-01-07.12.32.04.moviOS: mWeb Safari2026-01-07.11.56.18.mov2026-01-07.11.59.36.mov2026-01-07.12.00.22.mov2026-01-07.12.04.05.movMacOS: Chrome / Safari2026-01-07.11.08.54.mov2026-01-07.11.11.26.mov2026-01-07.11.32.26.mov2026-01-07.11.40.49.mov |
|
@ZhenjaHorbach Updated with Main and also added space. |
|
@abbasifaizan70 |
|
LGTM! |
|
@roryabraham Resolved feedback. Thanks |
|
✋ 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/roryabraham in version: 9.2.96-1 🚀
|
|
@abbasifaizan70 |
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.2.96-6 🚀
|
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.2.96-6 🚀
|
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.2.96-6 🚀
|
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.2.97-0 🚀
|
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.2.99-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.2.99-8 🚀
|
Explanation of Change
This PR refactored ConfirmModal usage to useConfirmModal in the following files:
Fixed Issues
$ #76695
PROPOSAL: #76695 (comment)
Tests
RoomMemberDetailsPage.tsx
ReportParticipantDetailsPage.tsx
EditReportFieldPage.tsx
TravelTerms.tsx
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
RoomMemberDetailsPage.tsx
https://github.com/user-attachments/assets/fc92aba3-08c7-4d3b-8a34-ecd08bd8423c
ReportParticipantDetailsPage.tsx
Screen.Recording.2026-01-06.at.7.26.21.PM.mov
Android: mWeb Chrome
RoomMemberDetailsPage.tsx
Screen.Recording.2026-01-06.at.7.50.55.PM.mov
ReportParticipantDetailsPage.tsx
Screen.Recording.2026-01-06.at.7.21.22.PM.mov
iOS: Native
RoomMemberDetailsPage.tsx
Screen.Recording.2026-01-06.at.7.55.48.PM.mov
ReportParticipantDetailsPage.tsx
Screen.Recording.2026-01-06.at.7.11.08.PM.mov
iOS: mWeb Safari
RoomMemberDetailsPage.tsx
Screen.Recording.2026-01-06.at.7.56.48.PM.mov
ReportParticipantDetailsPage.tsx
Screen.Recording.2026-01-06.at.7.16.38.PM.mov
MacOS: Chrome / Safari
RoomMemberDetailsPage.tsx
ReportParticipantDetailsPage.tsx
EditReportFieldPage.tsx
Screen.Recording.2026-01-06.at.7.23.34.PM.mov
TravelTerms.tsx
Screen.Recording.2026-01-07.at.6.59.22.PM.mov