-
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
Add useStyleUtils
hook
#32498
Add useStyleUtils
hook
#32498
Conversation
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
@allroundexperts 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] |
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.
Let's add to the description why we're making this change.
For Tests, we can add something like "build the app and test on all platforms that there are no errors. Switch to light mode, and repeat"
For QA can you add something like "NO QA- this PR can be tested through normal regression testing for style-based regressions"
@allroundexperts are you able to prioritize this checklist today? |
Yes. This is catching conflicts like 🔥 |
@allroundexperts Can you just provide Android screenshots? |
Sure! |
resolved again |
Screen.Recording.2023-12-07.at.9.56.32.PM.mov |
@chrispader Color of split button is getting diluted to background |
@shubham1206agra I'll handle that in a follow up! #32688 |
@shubham1206agra can we complete the review here? |
@shubham1206agra I think the CORS are unrelated |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeScreen.Recording.2023-12-07.at.11.34.22.PM.mp4Screen.Recording.2023-12-07.at.11.27.00.PM.mp4iOS: mWeb SafariScreen.Recording.2023-12-07.at.10.55.01.PM.mp4MacOS: Chrome / SafariScreen.Recording.2023-12-07.at.10.41.46.PM.mp4MacOS: DesktopScreen.Recording.2023-12-07.at.11.12.55.PM.mp4 |
@chrispader Please fix this #32498 (comment) so that I can approve this PR |
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.
Looking good except one comment from @shubham1206agra!
@shubham1206agra is this platform specific? I am unable to replicate |
This was on iOS native. Let me confirm this on web too. |
@grgia Please ignore this |
✋ 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/grgia in version: 1.4.10-0 🚀
|
🚀 Deployed to staging by https://github.com/grgia in version: 1.4.10-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.10-1 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.10-1 🚀
|
}, | ||
}; | ||
modalContainerStyle = { | ||
borderRadius: 12, |
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.
Not using the correct radius value of componentBorderRadiusLarge
i.e. 16 instead of 12 caused #42716
@grgia
Details
Fixed Issues
$ #32472
PROPOSAL:
Tests
Build the app and test on all platforms that there are no errors. Switch to light mode, and repeat.
Offline tests
QA Steps
No QA.
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)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
MacOS: Desktop