-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[UX Reliability] Improve the bottom modal animations #55157
[UX Reliability] Improve the bottom modal animations #55157
Conversation
…-native-modal-refactor
…oszGrajdek/react-native-modal-refactor-Vkuba # Conflicts: # src/pages/home/report/ContextMenu/ContextMenuActions.tsx
…act-native-modal-refactor-Vkuba adding some types, and do some refactor
fix trashold
…-native-modal-refactor
…oszGrajdek/react-native-modal-refactor_kuba_v2 # Conflicts: # src/components/Search/SearchRouter/SearchRouterModal.tsx
…oszGrajdek/react-native-modal-refactor_kuba_v2 # Conflicts: # src/components/Modal/BaseModal.tsx
@bartosz grajdek/react native modal refactor kuba v2
🚧 @mountiny has triggered a test hybrid app build. You can view the workflow run here. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreenrecorder-2025-02-17-16-00-10-845.mp4Android: mWeb ChromeScreenrecorder-2025-02-17-16-03-04-813.mp4iOS: NativeIMG_9139.MP4iOS: mWeb SafariIMG_9140.MP4MacOS: Chrome / Safari2025-02-17.16.08.37.movMacOS: Desktop2025-02-17.16.12.35.mov |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
Looks nice and smooth on my device @BartoszGrajdek can you please resolve merge conflicts? |
At first everything looks nice for me too The only thing I noticed on the desktop is this 2025-02-17.16.13.57.mov |
@ZhenjaHorbach This bug should be solved in #56594 |
This modal is not affected by these changes, the only modal that will use new code for now is FAB, we'll gradually implement the new version in other modals later. |
Strange |
Oh |
@BartoszGrajdek Conflicts have to be resolved before merging |
Fixed @mountiny let's see if all the checks pass and it should be ready to go 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets test this out!
✋ 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.1-0 🚀
|
Team is facing #57081 when running this PR |
🚀 Deployed to production by https://github.com/francoisl in version: 9.1.1-6 🚀
|
Explanation of Change
This PR reimplements the library
react-native-modal
that we've been using for all modals but withreact-native-reanimated
instead ofreact-native-animatable
inside of it.We'll gradually switch to the new solution, going through each type of bottom-docked modals. In this PR, we're adding the refactored and changed code and implementing the new solution in FAB.
Fixed Issues
$ #49354
Tests
This PR affects just the FAB modal on native & mWeb platforms.
I think testing should go like this:
Offline tests
N/A - nothing should change in this case
QA Steps
Same as in the Tests section
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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
desktop.mov