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)
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
Unknown Object (File)
Mar 28 2024, 8:32 AM
Unknown Object (File)
Mar 28 2024, 8:30 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
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