Page MenuHomePhabricator

[web] update ThreadMember component to match new UI redesign
AcceptedPublic

Authored by ginsu on Feb 1 2024, 4:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 23, 11:24 PM
Unknown Object (File)
Sun, Jun 23, 11:09 PM
Unknown Object (File)
Thu, Jun 20, 6:55 PM
Unknown Object (File)
Thu, Jun 20, 9:18 AM
Unknown Object (File)
Thu, Jun 20, 12:47 AM
Unknown Object (File)
Tue, Jun 11, 11:13 PM
Unknown Object (File)
Tue, Jun 11, 10:08 AM
Unknown Object (File)
Sun, Jun 9, 5:50 AM
Subscribers

Details

Reviewers
atul
inka
Summary

PLEASE NOTE THAT THIS DIFF AND SUBSEQUENT DIFFS IN THIS STACK WILL NOT BE LANDED UNTIL MORE OF THE REDESIGN IS READY SINCE THIS WILL CAUSE REGRESSIONS IN PROD

This diff updates the ThreadMember component so that it matches the new UI redesign. This diff also resolves an issue where long usernames were not properly truncating

For context here is what the thread member component looks like on figma:

Screenshot 2024-02-01 at 7.49.21 PM.png (2×904 px, 278 KB)

Linear task: https://linear.app/comm/issue/ENG-4161/additional-empty-spaces-between-users-on-members-list

Depends on D10922

Test Plan

Please see the screenshot below

Screenshot 2024-02-01 at 7.46.54 PM.png (1×644 px, 71 KB)

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ginsu edited the test plan for this revision. (Show Details)
ginsu added reviewers: atul, inka.
ginsu added inline comments.
web/modals/threads/members/member.react.js
106–109

Noticed that we could define this outside the component. Also changed the name to editIconComponent because I thought that was a better name for it

ginsu requested review of this revision.Feb 1 2024, 5:05 PM
This revision is now accepted and ready to land.Feb 5 2024, 11:17 AM