-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[No QA] Replace usages of useWindowDimensions with useResponsiveLayout hook in pages folder #43961
Conversation
…h-useResponsiveLayout-in-pages-folder
…h-useResponsiveLayout-in-pages-folder
…h-useResponsiveLayout-in-pages-folder
@arosiclair 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] |
@getusha - PR ready for review |
…h-useResponsiveLayout-in-pages-folder
I will start testing this today |
Screen.Recording.2024-07-01.at.2.50.21.in.the.afternoon.movStaging: Screen.Recording.2024-07-01.at.2.51.41.in.the.afternoon.mov |
…h-useResponsiveLayout-in-pages-folder
…h-useResponsiveLayout-in-pages-folder
…h-useResponsiveLayout-in-pages-folder
@getusha bugs 1 & 2 are not reproducible when we disable react strict mode, they will not be reproducible on production builds. When react strict mode is enabled all components render twice on dev. |
Updated cc @getusha |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-07-24.at.11.16.22.in.the.morning.movAndroid: mWeb ChromeScreen.Recording.2024-07-24.at.10.48.18.in.the.morning.moviOS: NativeScreen.Recording.2024-07-24.at.11.29.10.in.the.morning.moviOS: mWeb SafariScreen.Recording.2024-07-24.at.10.55.35.in.the.morning.movMacOS: Chrome / SafariScreen.Recording.2024-07-22.at.7.51.54.in.the.morning.movMacOS: DesktopScreen.Recording.2024-07-24.at.11.02.43.in.the.morning.mov |
Screen.Recording.2024-07-22.at.8.18.52.in.the.morning.mov |
@getusha - Unable to reproduce. Are you able to reproduce this consistently? Screen.Recording.2024-07-22.at.1.59.16.PM.mov |
…h-useResponsiveLayout-in-pages-folder
…h-useResponsiveLayout-in-pages-folder
Was able to reproduce on staging probably an issue from my emulator. |
@rayane-djouah Isn't it better to mark this as |
Agree, done! |
…h-useResponsiveLayout-in-pages-folder
Fixed the conflicts |
@rayane-djouah fresh conflicts |
…h-useResponsiveLayout-in-pages-folder
…h-useResponsiveLayout-in-pages-folder
Updated |
✋ 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/roryabraham in version: 9.0.13-0 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.0.13-4 🚀
|
Details
#30528 (comment)
Fixed Issues
$ #30528
Tests
Do general regression tests and focus on layouts; test all the app's most important features and verify there are no layout breaks.
Offline tests
N/A
QA Steps
Do general regression tests and focus on layouts; test all the app's most important features and verify there are no layout breaks.
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
Screen.Recording.2024-06-21.at.12.16.05.PM.mov
Android: mWeb Chrome
Screen.Recording.2024-06-21.at.12.07.17.PM.mov
iOS: Native
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-06-21.at.12.01.37.mp4
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-06-21.at.03.19.42.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-06-21.at.2.38.18.AM.mp4
MacOS: Desktop
Screen.Recording.2024-06-21.at.2.45.42.AM.mov