-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[CP Staging] Use modal context provider to fix useResponsiveLayout #43013
Conversation
@danieldoglas 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] |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-06-04.at.07.37.37.android.movAndroid: mWeb ChromeScreen.Recording.2024-06-04.at.07.33.15.android.chrome.moviOS: NativeScreen.Recording.2024-06-04.at.07.40.39.ios.moviOS: mWeb SafariScreen.Recording.2024-06-04.at.07.46.08.ios.safari.movMacOS: Chrome / SafariScreen.Recording.2024-06-04.at.07.20.13.web.movMacOS: DesktopScreen.Recording.2024-06-04.at.07.29.18.desktop.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.
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. |
Use modal context provider to fix useResponsiveLayout (cherry picked from commit 87db18a)
This was CP'd & Deployed to staging in 1.4.78-4 - see https://github.com/Expensify/App/actions/runs/9360027553 |
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.78-5 🚀
|
Details
Tried to add lots of detailed code comments. The idea is that
shouldUseNarrowLayout
should be true if and only if:cc @rayane-djouah @getusha
Fixed Issues
$ #42910
$ #42911
$ #42912
PROPOSAL: #42911 (comment)
Tests / QA Steps
Upload Photo
popover does not jitter.Upload photo
popover appears as expected (near the button on wide screens, bottom-docked on narrow).Offline tests
n/a
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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
web.mov
web.mov
web.mov
web.mov
MacOS: Desktop