Page MenuHomePhabricator

[web] [refactor] chat thread list item menu html cleanup
ClosedPublic

Authored by benschac on Feb 11 2022, 10:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 11:13 PM
Unknown Object (File)
Sun, Nov 10, 11:13 PM
Unknown Object (File)
Sun, Nov 10, 11:10 PM
Unknown Object (File)
Tue, Nov 5, 9:55 PM
Unknown Object (File)
Tue, Nov 5, 12:50 AM
Unknown Object (File)
Sun, Nov 3, 1:26 PM
Unknown Object (File)
Sat, Oct 26, 8:07 PM
Unknown Object (File)
Oct 13 2024, 2:27 PM

Details

Summary

fix up html + css while changing the unread theme

before:

Image 2022-02-24 at 2.34.33 PM.jpg (620×920 px, 65 KB)

after:
Image 2022-02-24 at 2.33.59 PM.jpg (634×896 px, 62 KB)

Test Plan

click unread, no new functionality or changes should happen.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul requested changes to this revision.Feb 14 2022, 11:16 AM

chat thread list item menu markup

This title is kind of hard for me to make sense of.

web/chat/chat-thread-list.css
196–198 ↗(On Diff #9575)

Aren't we losing this menu item styling logic? Would it hurt anything to keep things contained in an unordered list/list item?

This revision now requires changes to proceed.Feb 14 2022, 11:16 AM
benschac retitled this revision from [web] [refactor] chat thread list item menu markup to [web] [refactor] chat thread list item menu html cleanup.Feb 15 2022, 7:17 AM
benschac added inline comments.
web/chat/chat-thread-list.css
196–198 ↗(On Diff #9575)

No, there was only ever one item.

There wasn't ever any _real_ design for this button.

replied to your comment.

atul added inline comments.
web/chat/chat-thread-list.css
201 ↗(On Diff #9575)

should we avoid using a hard-coded hex value here?

This revision is now accepted and ready to land.Feb 24 2022, 7:42 AM
This revision now requires review to proceed.Feb 24 2022, 7:42 AM
ashoat requested changes to this revision.Feb 24 2022, 10:35 AM

Can you provide a before/after screenshot here? It's hard for me to review this without knowing what's being changed, and in the past we've had design regressions introduced in unrelated diffs so I'm a bit wary.

This revision now requires changes to proceed.Feb 24 2022, 10:35 AM
benschac added inline comments.
web/chat/chat-thread-list.css
201 ↗(On Diff #9575)

Yeah, I didn't want to just randomly change the color value. I can continue to grab color values in another diff.

added screen shots

This revision is now accepted and ready to land.Feb 24 2022, 1:04 PM

Image 2022-02-24 at 4.47.57 PM.jpg (694×2 px, 139 KB)

Looking at this one last time before landing I noticed the background color has changed in my diff.

I'm going to fix it before I land it.

I take it back:

Image 2022-02-24 at 4.57.42 PM.jpg (1×2 px, 222 KB)
just double-checked master and feature branch and they're the same. The background color was changed in a different commit un-related to this one.

This revision is now accepted and ready to land.Feb 24 2022, 1:58 PM