-
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
Replace usages of isInModal and shouldShowSmallScreen props in components #34837
Replace usages of isInModal and shouldShowSmallScreen props in components #34837
Conversation
…allScreen-props-in-components
…ouldShowSmallScreen-props-in-components
cc @getusha |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-02-11.at.9.49.46.PM.movAndroid: mWeb ChromeScreen.Recording.2024-02-11.at.9.36.10.PM.moviOS: NativeScreen.Recording.2024-02-11.at.9.49.46.PM.moviOS: mWeb SafariScreen.Recording.2024-02-11.at.9.29.41.PM.movMacOS: Chrome / SafariScreen.Recording.2024-02-11.at.9.14.51.PM.movMacOS: DesktopScreen.Recording.2024-02-11.at.10.01.08.PM.mov |
@rayane-djouah lets complete Screenshots/Videos section. |
Sorry for the delay, I will update today! |
…allScreen-props-in-components
…ouldShowSmallScreen-props-in-components
Co-authored-by: Getabalew Tesfaye <75031127+getusha@users.noreply.github.com>
Updated |
all yours @roryabraham |
Sorry, was OOO and we have conflicts. I'll pre-review now in case there are any changes I want to request. |
…allScreen-props-in-components
conflicts resolved |
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.
ok, this LGTM 👍🏼
const styles = useThemeStyles(); | ||
const {isMediumScreenWidth} = useWindowDimensions(); |
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.
NAB for this PR, but we should update useResponsiveLayout
to export isMediumScreenWidth
as well.
✋ 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: 1.4.42-0 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.4.42-5 🚀
|
Details
Replace usages of isInModal and shouldShowSmallScreen props in components
#30528 (comment)
Fixed Issues
$ #30528
Tests
Testable on web and mweb only:
Offline tests
N/A
QA Steps
Testable on web and mweb only:
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.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 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.Recording.2024-02-09.154219.mp4
Android: mWeb Chrome
mweb.chrome.Recording.2024-02-08.170826.mp4
iOS: Native
ios.Recording.2024-02-10.121837.mp4
iOS: mWeb Safari
mweb.safari.Recording.2024-02-08.180423.mp4
mweb.safari.2.Recording.2024-02-08.180544.mp4
MacOS: Chrome / Safari
web.Recording.2024-02-08.163834.mp4
MacOS: Desktop
Desktop.Recording.2024-02-08.170222.mp4