refactor: WindowDimensionsProvider to function component#22809
Conversation
|
@abdulrahuman5196 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] |
|
PR is ready for review |
|
Did you have a chance to look at the PR? |
|
@abdulrahuman5196 |
|
Sorry for the delay. Will close this before the weekend. |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-07-23.at.2.03.01.PM.mp4Mobile Web - Chromeaz_recorder_20230723_140730.mp4Mobile Web - SafariUntitled.1.mp4DesktopScreen.Recording.2023-07-23.at.2.10.36.PM.mp4iOSScreen.Recording.2023-07-23.at.2.14.10.PM.mp4Androidaz_recorder_20230723_142958.mp4 |
There was a problem hiding this comment.
Changes looks good and works well. Reviewers checklist is also complete.
All yours @cristipaval
🎀 👀 🎀
C+ Reviewed
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #16225 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
✋ 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/cristipaval in version: 1.3.45-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.45-7 🚀
|
Details
Refactor the
WindowDimensionsProvidercomponent to function componentFixed Issues
$ #16225
PROPOSAL: #16225 (comment)
Tests
Offline tests
QA Steps
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)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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
Web
16225_mac_chrome.mp4
Mobile Web - Chrome
16225_android_chrome.mp4
Mobile Web - Safari
16225_ios_safari.mp4
Desktop
16225_mac_desktop.mp4
iOS
16225_ios_native.mp4
Android
16225_android_native.mp4