Page MenuHomePhabricator

[web] [fix] dot alignment
ClosedPublic

Authored by benschac on Apr 13 2022, 9:27 AM.
Tags
None
Referenced Files
F3357070: D3723.id11549.diff
Sat, Nov 23, 10:09 PM
F3356715: D3723.diff
Sat, Nov 23, 8:09 PM
Unknown Object (File)
Thu, Nov 14, 9:00 AM
Unknown Object (File)
Sat, Nov 9, 2:33 PM
Unknown Object (File)
Sat, Nov 9, 1:39 PM
Unknown Object (File)
Sat, Nov 9, 9:09 AM
Unknown Object (File)
Sat, Nov 9, 9:09 AM
Unknown Object (File)
Sat, Nov 9, 7:12 AM

Details

Summary

dot wasn't aligned with color splotch

before:

Image 2022-04-13 at 1.59.11 PM.jpg (390×816 px, 23 KB)

after:

Image 2022-04-13 at 2.00.19 PM.jpg (246×766 px, 14 KB)

Test Plan

send a new message, un read dot should be aligned

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

benschac edited the summary of this revision. (Show Details)
tomek requested changes to this revision.Apr 15 2022, 8:47 AM

The summary is confusing. Please add some description to the images, telling which one is "before" and which is "after".

web/chat/chat-thread-list.css
105–114 ↗(On Diff #11429)

Why do we need to specify the exact height in two places? Can we make one of them being computed based on the other (e.g. flex: 1)?

This revision now requires changes to proceed.Apr 15 2022, 8:47 AM
web/chat/chat-thread-list.css
105–114 ↗(On Diff #11429)

makes sense, I don't think we need it either.

Accepting, but it would be great if you could address this

The summary is confusing. Please add some description to the images, telling which one is "before" and which is "after".

It looks like both images are from "after" - am I right? Could you also check if it looks ok when we have a thread with two sidebars, from which only one has a dot?

It's important to make the diffs less confusing - for future reference.

This revision is now accepted and ready to land.Apr 19 2022, 2:45 AM
This revision was automatically updated to reflect the committed changes.

@benschac, not sure how many more times I'll need to repeat this :( I hope zero, but hard to believe at this point.

Please. Do. Not. Land. Diffs. Until. You. Address. All. Comments.

In D3723#104110, @palys-swm wrote:

Accepting, but it would be great if you could address this

The summary is confusing. Please add some description to the images, telling which one is "before" and which is "after".

I can, sorry about this. I'm usually pretty consistent on labeling screenshots. But, this time I missed it.

It looks like both images are from "after" - am I right? Could you also check if it looks ok when we have a thread with two sidebars, from which only one has a dot?

It's important to make the diffs less confusing - for future reference.

  • You're right. The before image is incorrect.

two threads, one dot:

Image 2022-04-19 at 3.42.18 PM.jpg (530×856 px, 39 KB)

(additionally)
two threads, two dots

Image 2022-04-19 at 3.43.31 PM.jpg (696×1 px, 61 KB)

(additionally)
two threads, two dot sidebars + chat thread list item

Image 2022-04-19 at 3.43.41 PM.jpg (596×904 px, 49 KB)