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! |
dannymcclain
left a comment
There was a problem hiding this comment.
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 |
|
✋ 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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop