-
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] Use new modal in BaseReportActionContextMenu
#56606
base: main
Are you sure you want to change the base?
[UX Reliability] Use new modal in BaseReportActionContextMenu
#56606
Conversation
@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] |
@ZhenjaHorbach I'll be handling this PR, so if anything comes up, please let me know! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreenrecorder-2025-03-29-08-46-01-658.mp4Android: mWeb ChromeScreenrecorder-2025-03-29-08-50-23-240.mp4iOS: Native2025-03-29.08.55.40.mp4iOS: mWeb Safari2025-03-29.08.55.37.mp4MacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
Also looks like a bug 2025-03-04.16.54.42.mov |
I'll come back to this later this week or next week as I have projects with higher priority, sorry! |
Any update here? |
I suppose we will continue to work on this soon ! |
@ZhenjaHorbach Could you retest? I can't reproduce this |
Same with this, looks like it works correct now @ZhenjaHorbach |
Sure ! |
@ZhenjaHorbach Should be fixed as well |
Actually this issue is similar to this |
Checked my old videos 2025-03-28.17.38.30.mov |
Hmm interesting, that's definitely a blocker. I'm going to look at it on Monday! Any other bugs/issues? @ZhenjaHorbach |
No Otherwise everything is good ! And If you have 5 minutes |
And interesting |
It was working — the issue was that the content was disappearing and the modal was shrinking in a weird way. It should work now after the last two commits. |
You can check again, this time it should work well on all platforms, I'm logging off. Have fun! 😄 |
You are fast 😅 |
That's what I do for a living 🏃♂️💨 |
@mountiny |
But on the other hand, I think everything will be fine in adhoc builds 2025-03-28.18.31.42.mov |
🚧 @mountiny has triggered a test app build. You can view the workflow run here. |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
LGTM ! |
But wait 2025-03-29.09.08.12.mp4 |
@blazejkustra can you please check that out? Thanks! |
Is this iOS? What browser are you using?@ZhenjaHorbach Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-03-31.at.14.42.52.mp4 |
seems like normal safari to me |
Yes |
I can’t reproduce it 😢 Could you write out the detailed steps? I want to make sure I’m doing it the same way. Also, could you let me know which iPhone model you’re using, the iOS version, and the version of Safari? That’ll help a lot—thanks! @ZhenjaHorbach |
Hmmm, good question. First, tap on the input. I just tested it, and it works for me! |
Wait - you mean it doesn't work for you when following these steps, right? 😆
Still no luck, tried several times: ScreenRecording_03-31-2025.17-05-38_1.MP4
@ZhenjaHorbach bump 😄 |
@mountiny Can you try? 😂 56606.pr-testing.expensify.com |
It reproduces stably for me following these steps 😅
Oh |
By the way, I also have Chrome on my iPhone And I can reproduce with any message 2025-03-31.18.25.35.mp4 |
Explanation of Change
We've decided to refactor the
react-native-bottom-modal
code 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 inBaseReportActionContextMenu
.Fixed Issues
$ #49354
Tests
I think testing should go like this:
To open the modal you need to:
Offline tests
Same as above, but it shouldn't matter
QA Steps
Same as above
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