Page MenuHomePhabricator

[native] Left-align pending thread header titles
ClosedPublic

Authored by ashoat on Apr 17 2023, 11:52 AM.
Tags
None
Referenced Files
F1777103: D7474.diff
Fri, May 17, 12:17 AM
Unknown Object (File)
Wed, May 8, 2:53 AM
Unknown Object (File)
Sun, Apr 28, 1:35 AM
Unknown Object (File)
Sun, Apr 28, 1:35 AM
Unknown Object (File)
Sun, Apr 28, 1:33 AM
Unknown Object (File)
Sun, Apr 28, 1:11 AM
Unknown Object (File)
Mar 28 2024, 8:33 AM
Unknown Object (File)
Mar 28 2024, 8:33 AM
Subscribers

Details

Summary

We currently center-align a MessageListHeaderTitle if it is searchEmpty ("New Message" with no users selected), or if it is a pending thread (see definition of areSettingsEnabled).

Center-aligned the header title for pending threads is inconsistent with behavior for normal threads. Discussed this with Ted and @ginsu and we decided it would be more consistent to always left-align, except in the "New Message" case.

Some previous context in D7134. Linear task: ENG-3693

Test Plan
beforeafter

Diff Detail

Repository
rCOMM Comm
Branch
ashoat/avatars
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ashoat edited the test plan for this revision. (Show Details)
ashoat added inline comments.
native/chat/chat.react.js
48

Unrelated cleanup. I asked @ginsu to look for other instances of this

ginsu added inline comments.
native/chat/chat.react.js
48

Thanks for catching this, just double checked for other TODO related avatar comments I left and this is the only one

This revision is now accepted and ready to land.Apr 17 2023, 12:30 PM