-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Migrate RN Gesture Handler in AttachmentCarouselPager to Gestures API #61841
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
Migrate RN Gesture Handler in AttachmentCarouselPager to Gestures API #61841
Conversation
61bc55a
to
10547df
Compare
🚧 @mountiny has triggered a test app build. You can view the workflow run here. |
@hungvu193 can you please test this one too? |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
Sure |
@JakubKorytko Sometimes I can't swipe left or right: PR.movHere's on main: main.mov |
@hungvu193 The issue has now been resolved. I tested it on all platforms and didn't encounter any problems. |
@JakubKorytko Can you merge main? Tests are failing |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid.movAndroid: mWeb ChromemChrome.moviOS: HybridAppIOS.moviOS: mWeb SafarimSafari.movMacOS: Chrome / SafariChrome.movMacOS: DesktopScreen.Recording.2025-05-14.at.11.01.49.mov |
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.
Test well!
🎯 @hungvu193, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #61992. |
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.
Lgtm thank you
There are conflicts to merge, @JakubKorytko can you merge main into your branch? |
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.
Thanks!
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.
LGTM
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Explanation of Change
Some parts of the
react-native-gesture-handler
used inAttachmentCarouselPager
are deprecated and should be migrated to the new Gestures API. This causes ESLint checks to fail.App/src/components/Attachments/AttachmentCarousel/Pager/index.tsx
Lines 5 to 6 in c74a7db
Fixed Issues
$ N/A
PROPOSAL: N/A
Tests
Offline tests
Same as tests
QA Steps
Same as tests
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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop