[No QA] Replace usages of useWindowDimensions with useResponsiveLayout in components folder#36292
Conversation
…rops-in-components' into replace-usages-of-isSmallScreenWidth-from-useWindowDimensions-in-components-folder
…uldUseNarrowLayout from useResponsiveLayout in components folder
|
@MonilBhavsar 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] |
|
@MonilBhavsar you can unassign yourself. this part of #30528, @getusha will review |
…eWindowDimensions-in-components-folder
|
@rayane-djouah looks like we have a merge conflict. |
|
@rayane-djouah I think we need to add QA steps or mark it as No QA? |
|
@rayane-djouah check my comments please. |
…eWindowDimensions-in-components-folder
|
sorry for the delay @getusha |
I think that we should ask QA team to do regression testing with an Ad-hoc build before we merge, what do you think? |
what do you think @roryabraham about ^ |
|
Hmmm I think that sounds like it might be overkill in this case, but I'll make an AdHoc build |
|
it didn't work @roryabraham |
|
ah, sorry I think I was on mobile and couldn't kick it off. Doing that now... |
|
Yeah, looks like the RHP opening animation is not smooth when opening Settings > Status. But after refreshing the settings page, the animation is smooth: Screen.Recording.2024-05-10.at.6.04.29.PM.movI'm investigating which change caused it. |
|
Fixed the bug: 501e619. The cause was that there were additional rerenders when |
@rayane-djouah it still feels like there is a difference can you compare it with staging? it's not much i think we can ignore it, if it is not possible to fix. @roryabraham wdyt? |
…eWindowDimensions-in-components-folder
|
I think that this difference is because we are reading a value from Onyx storage, but I think its minor and we can ignore it, what do you think @roryabraham ? |
|
Looks similar enough to me to ignore 👍🏼 |
…eWindowDimensions-in-components-folder
|
Merge freeze is still in effect for now |
…eWindowDimensions-in-components-folder
…eWindowDimensions-in-components-folder
|
Merge freeze is lifted, I will try to review this today |
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 1.4.77-11 🚀
|
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 1.4.77-11 🚀
|
|
hey @roryabraham and @getusha we might have a regression - can you check - #42886 (comment) |
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.78-5 🚀
|
cc @getusha
Details
#30528 (comment)
Fixed Issues
$ #30528
Tests
Perform general regression testing verifying that app layouts and styles are correct.
Offline tests
N/A
QA Steps
No QA
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Recording.2024-03-28.025954.mp4
Android: mWeb Chrome
Recording.2024-03-28.024503.mp4
iOS: Native
Recording.2024-03-28.023602.mp4
iOS: mWeb Safari
Recording.2024-03-28.024006.mp4
MacOS: Chrome / Safari
Recording.2024-03-28.024149.mp4
MacOS: Desktop
Recording.2024-03-28.024756.mp4