-
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
Align the task checkbox center vertically on the task title's first line #43646
Align the task checkbox center vertically on the task title's first line #43646
Conversation
@dannymcclain @aimane-chnaif 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] |
@bernhardoj this is looking good. I did notice that older tasks seem to have a larger gap between the checkbox and the title (and the second line doesn't line up with the first). Is that expected? You can see in my screenshot the task from June 6 has slightly different spacing than the new tasks I created today. The new tasks look great. Just wondering why the older ones don't look the same. |
Well that's super weird haha. |
I found that it's a FE issue. We add a space after the assignee mention. App/src/components/ReportActionItem/TaskPreview.tsx Lines 76 to 77 in bce61c0
However, in the buggy case, the task actually doesn't have an assignee but detected as having an assignee (taskAssigneeAccountID !== 0). |
Dang, good catch @dannymcclain! |
Is this something we can fix here? I assume it won't apply to tasks created before, since those are kinda already set. But can we prevent it from continuing to happen with new tasks? |
I'll try to find the fix tomorrow. |
Fixed! |
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.
Going to approve from a design perspective because this looks good. Definitely make sure to get a proper technical review.
Reviewer Checklist
Screenshots/VideosAndroid: mWeb ChromeiOS: mWeb SafariMacOS: Desktop |
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/techievivek in version: 1.4.86-0 🚀
|
1 similar comment
🚀 Deployed to staging by https://github.com/techievivek in version: 1.4.86-0 🚀
|
🚀 Deployed to staging by https://github.com/techievivek in version: 1.4.86-0 🚀
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.0-9 🚀
|
Details
We want to vertically center the checkbox with the task title first line.
Fixed Issues
$ #42934
PROPOSAL: #42934 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Optional: increase the device font size to notice it easier
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.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 and/or tagged@Expensify/design
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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop