Page MenuHomePhabricator

[native] Left-align pending thread header titles
ClosedPublic

Authored by ashoat on Apr 17 2023, 11:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 5:21 AM
Unknown Object (File)
Mon, Nov 18, 11:58 PM
Unknown Object (File)
Wed, Nov 6, 3:29 AM
Unknown Object (File)
Tue, Nov 5, 4:30 AM
Unknown Object (File)
Tue, Nov 5, 4:30 AM
Unknown Object (File)
Tue, Nov 5, 4:30 AM
Unknown Object (File)
Thu, Oct 31, 5:45 PM
Unknown Object (File)
Thu, Oct 31, 5:45 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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

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

ginsu added inline comments.
native/chat/chat.react.js
48 ↗(On Diff #25230)

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