-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix checkbox outline in TaskView #28543
Fix checkbox outline in TaskView #28543
Conversation
@puneetlath 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] |
<View | ||
style={[ | ||
StyleUtils.getCheckboxContainerStyle(20, 4), | ||
StyleUtils.getCheckboxContainerStyle(20), |
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.
@jjcoffee I made 6px
default border-radius
for pressable and 4px
for checkbox in StyleUtils
so we don't have to pass them everywhere.
Reviewer Checklist
Screenshots/VideosMobile Web - Chromeandroid-chrome.mp4Mobile Web - Safariios-safari-2023-10-02_16.43.55.mp4iOSios-native-2023-10-02_16.41.23.mp4Androidandroid-native.mp4 |
@Nikhil-Vats Looking good! Little nitpick with the tests - could you update the second step so that it's clear we're shift+TABbing to focus on the checkbox (for someone coming fresh to this it might not be obvious). |
@jjcoffee done. |
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!
@Nikhil-Vats You have conflicts, can you merge main? |
@jjcoffee done! Reattaching screenshots - Web - Screen.Recording.2023-10-02.at.11.08.25.PM.movDesktop - Screen.Recording.2023-10-02.at.11.10.50.PM.mov |
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.
👍
✋ 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/deetergp in version: 1.3.77-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.77-7 🚀
|
Details
Fixed Issues
$ #27872
PROPOSAL: #27872 (comment)
Tests
Go to FAB > Assign task. Enter title, share somewhere and create a new task.
In task view, click on composer and press shift + TAB 4 times (or more if there are comments in report) until the focus is on the checkbox like below -
See screenshot to see how it should look
Verify that, focus outline is aligned with border i.e. both are curved.
Please note that we can only focus on desktop app and chrome (on laptop) so this styling can't be tested on mobile apps and browsers.
Offline tests
Same as above.
QA Steps
Same as above.
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)/** 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.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
Web
27872_web.mp4
Mobile Web - Chrome
Mobile Web - Safari
27872_mweb_safari.mp4
Desktop
27872_desktop.mov
iOS
27872_ios.mp4
Android
27872_android.mov