Page MenuHomePhabricator

[web] make user profile accessible from member component
ClosedPublic

Authored by ginsu on Oct 12 2023, 10:57 PM.
Tags
None
Referenced Files
F2193330: D9483.id32097.diff
Thu, Jul 4, 9:46 PM
Unknown Object (File)
Tue, Jul 2, 7:32 PM
Unknown Object (File)
Mon, Jul 1, 1:18 AM
Unknown Object (File)
Sat, Jun 29, 6:46 PM
Unknown Object (File)
Sat, Jun 29, 4:37 AM
Unknown Object (File)
Sat, Jun 29, 4:37 AM
Unknown Object (File)
Sat, Jun 29, 4:37 AM
Unknown Object (File)
Sat, Jun 29, 4:34 AM

Details

Summary

This diff makes the member component interactive. When a user clicks on this component, the user profile modal will be pushed

Linear task:

https://linear.app/comm/issue/ENG-5242/make-user-profile-accessible-from-thread-member

Depends on D9481

Test Plan

Please see demo video below:

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu edited the summary of this revision. (Show Details)
ginsu added a subscriber: ted.
ginsu added inline comments.
web/modals/threads/members/member.react.js
120–122 ↗(On Diff #31989)

Removed this so that the component has a hover effect that is consistent with the friend/block list row from D9477

web/modals/threads/members/members-modal.css
37 ↗(On Diff #31989)

Instead of creating a new color variable, I reused one with an incorrect variable name. I made a comment in the Linear task responsible for this part of the new color design system on web project and @ted and I will address this then.

https://linear.app/comm/issue/ENG-5032/thread-members-modal#comment-4e2519b3

atul added inline comments.
web/modals/threads/members/members-modal.css
37 ↗(On Diff #31989)

The color also "blends in" with the role label pill.

We should either use a slightly different color, add an outline to the pill, etc.

This revision is now accepted and ready to land.Oct 16 2023, 11:51 AM

rebase before landing + address @atul's comments