[UX Reliability] Use new modal in ConfirmModal#60023
[UX Reliability] Use new modal in ConfirmModal#60023mountiny merged 32 commits intoExpensify:mainfrom
Conversation
|
ještě lepší kód |
|
@shawnborton @ZhenjaHorbach One of you needs to 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: Nativeandroid.movAndroid: mWeb Chromeandroid-web.moviOS: Nativeios.moviOS: mWeb Safariios-web.movMacOS: Chrome / Safariweb.movMacOS: Desktopweb.mov |
|
Damn |
|
Overall the changes look good ! 2025-04-14.09.56.52.mov |
|
Oh no, tests are still failing, let me try merge the newest main 🙏 I'll take care of remaining issues tomorrow morning. |
|
@ZhenjaHorbach I fixed perf tests and the bug you mentioned, back to you! |
|
We also have a similar issue with workspace taxes And with tags And with reportFields I suppose it's better to find all places where we use setSelected function with ConfirmModal and with .length === 1 condition or translate with count param 2025-04-18.16.58.28.mov |
Thank you for this tip! (this regex worked perfectly: Back to you @ZhenjaHorbach 😄 |
Glad to help |
|
We need to fix workspace tags also 2025-04-23.10.36.04.mov |
|
Actually it's weird
About this feature 2025-04-30.09.17.47.movPerhaps we should revert these changes and fix them in a separate PR so as not to block this PR? |
And this works good ! |
|
I'm back, working on this now! 😄 |
…on-labs/expensify-app-fork into feature/new-confirm-modal
@ZhenjaHorbach I agree with, changes are reverted and I'm working on a follow up PR 😄 edit: follow up is ready here |
|
Update: Chatted with @ZhenjaHorbach on slack — he didn’t have time to check it yesterday but will try to review it today 🤞 |
|
LGTM ! |
mountiny
left a comment
There was a problem hiding this comment.
One question but not going to block on this
| testID={WorkspaceTagsPage.displayName} | ||
| shouldShowOfflineIndicatorInWideScreen | ||
| offlineIndicatorStyle={styles.mtAuto} | ||
| <> |
There was a problem hiding this comment.
Why is this extra view needed?
There was a problem hiding this comment.
Closing animation of the modal was broken when the ConfirmModal was nested inside AccessOrNotFoundWrapper, it was because it was unmounted for one frame and the animation was interrupted this way.
Fixed it right before this comment.
|
✋ 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/mountiny in version: 9.1.45-0 🚀
|
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.1.45-0 🚀
|
Explanation of Change
We've decided to refactor the
react-native-bottom-modalcode so that it utilizesreact-native-reanimated, our goal was to improve FPS, remove the outdated library and gradually switch to the new solution. This PR enables the new solution inConfirmModal.Fixed Issues
$ #49354
PROPOSAL: N/A
Tests
Test just some of these cases, usage is really similar for all:
MoneyReportHeader
RoomMemberDetailsPage
WorkspaceProfilePage
WorkspacesListPage
WorkspaceTagsPage
ReportParticipantsPage
RoomMembersPage
WorkspaceMembersPage
WorkspaceCategoriesPage
VisibilityPage
IOURequestStepScan
TroubleshootPage
Offline tests
N/A
QA Steps
Same as tests
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))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
aaa.webm
Android: mWeb Chrome
andw.webm
iOS: Native
Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-04-10.at.17.50.06.mp4
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-04-10.at.17.51.30.mp4
MacOS: Chrome / Safari
web.mov