-
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
Dark Mode Tweaks #13748
Dark Mode Tweaks #13748
Conversation
Screenshots look great, thanks for the speedy work! |
@aimane-chnaif @amyevans One of you needs to 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] |
I think I prefer 1px, but I don't feel too strongly. |
same to me 🙂 But if we use 2px, tab highlight border can be applied to boundaries after making transparent on space between 2 buttons: button.with.dropdown.mov |
Can you show a comparison for the tab highlighting with 1px gap? I feel like it will work fine, because the tab highlight is an outer outline right? |
If 1 px, 2 buttons borders are not consistent because of overlapping one over another button.with.dropdown.mov |
But both are only applied when border is transparent which makes space between buttons. |
So are we good with current version which uses 1px but no highlight border around boundaries? @shawnborton button.with.dropdown.mov |
Yeah, I think that latest version you shared looks great |
Sweet sounds good to me! Looks like this PR is ready for final review in that case |
Reviewer Checklist
Screenshots/VideosMobile Web - Chromemchrome.mp4Mobile Web - Safarimsafari.mp4Desktopdesktop.moviOSios.mp4Androidandroid.mp4NOTE: Web has screenshots for each issue respectively, other platforms are videos |
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.
LGTM 🎉
Looks good to me too - going to go ahead and merge this as Amy is OOO. |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Performance Comparison Report 📊Significant Changes To DurationThere are no entries Meaningless Changes To DurationShow entries
Show details
|
🚀 Deployed to staging by @shawnborton in version: 1.2.44-0 🚀
|
🚀 Deployed to production by @chiragsalian in version: 1.2.44-0 🚀
|
@@ -75,7 +75,7 @@ const MenuItem = (props) => { | |||
}} | |||
style={({hovered, pressed}) => ([ | |||
styles.popoverMenuItem, | |||
StyleUtils.getButtonBackgroundColorStyle(getButtonState(props.focused || hovered, pressed, props.success, props.disabled, props.interactive)), | |||
StyleUtils.getButtonBackgroundColorStyle(getButtonState(props.focused || hovered, pressed, props.success, props.disabled, props.interactive), true), |
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.
Hover background colour for menu item turned out to be the same as the one for block quotes thereby causing this issue where the quote line became invisible.
Details
Changes made:
Update camera icon
MenuItem highlight color
Line Divider color
Match comma color
Fixed Issues
$ #13729
$ #13735
$ #13747
$ #13728
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.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.Screenshots/Videos
Web
Screen.Recording.2022-12-21.at.4.17.02.PM.mov
Mobile Web - Chrome
Screen.Recording.2022-12-21.at.4.23.26.PM.mov
Mobile Web - Safari
Screen.Recording.2022-12-21.at.4.26.02.PM.mov
Desktop
Screen.Recording.2022-12-21.at.4.19.37.PM.mov
iOS
Screen.Recording.2022-12-21.at.4.27.50.PM.mov
Android
Screen.Recording.2022-12-21.at.4.24.38.PM.mov