Page MenuHomePhabricator

[web] [refactor] remove unneeded div in chat-thread-list component
ClosedPublic

Authored by benschac on Mar 10 2022, 1:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 12:10 AM
Unknown Object (File)
Sun, Nov 10, 12:10 AM
Unknown Object (File)
Fri, Nov 8, 7:42 AM
Unknown Object (File)
Thu, Nov 7, 5:32 AM
Unknown Object (File)
Tue, Nov 5, 1:03 AM
Unknown Object (File)
Tue, Oct 22, 11:44 PM
Unknown Object (File)
Tue, Oct 22, 3:20 AM
Unknown Object (File)
Tue, Oct 22, 2:00 AM

Details

Summary

remove an extra div we don't need. I hard-coded a color but will remove it in future diffs, along with other unneeded styles. I just didn't want to break existing functionality.

before:

Image 2022-03-10 at 4.45.37 PM.jpg (1×1 px, 120 KB)

after:
Image 2022-03-10 at 4.45.12 PM.jpg (1×1 px, 225 KB)

Test Plan

do a side-by-side with production. Make sure the unread pop up doesn't break.

Diff Detail

Repository
rCOMM Comm
Branch
mark-as-unread
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

benschac added reviewers: jacek, tomek.
benschac edited the summary of this revision. (Show Details)

I hard-coded a color but will remove it in future diffs, along with other unneeded styles. I just didn't want to break existing functionality.

If removing the div requires adding these colors, then adding them was ok, but I think we should still use variables instead of hardcoded values.

This revision is now accepted and ready to land.Mar 11 2022, 5:44 AM
In D3405#92013, @palys-swm wrote:

I hard-coded a color but will remove it in future diffs, along with other unneeded styles. I just didn't want to break existing functionality.

If removing the div requires adding these colors, then adding them was ok, but I think we should still use variables instead of hardcoded values.

Agreed. I'm going to use variables in the future. Just wanted to get rid of this div.