Page MenuHomePhabricator

[web] introduce user-profile as a menu variant
ClosedPublic

Authored by ginsu on Oct 12 2023, 1:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 4, 8:18 PM
Unknown Object (File)
Sat, Jun 29, 3:13 AM
Unknown Object (File)
Thu, Jun 27, 11:56 PM
Unknown Object (File)
Thu, Jun 27, 6:51 AM
Unknown Object (File)
Wed, Jun 26, 3:24 PM
Unknown Object (File)
Mon, Jun 24, 2:56 AM
Unknown Object (File)
Mon, Jun 24, 2:56 AM
Unknown Object (File)
Mon, Jun 24, 2:56 AM

Details

Summary

The first step to introducing the user profile menu is that we need to create a user-profile className variant in Menu. This className handles things like the menu background color, the placement, and the color of the content

Screenshot of designs:

Screenshot 2023-10-12 at 4.03.39 AM.png (702×1 px, 140 KB)

Part of https://linear.app/comm/issue/ENG-5225/introduce-userprofilemenu

Depends on D9455

Test Plan

Please see the screenshot below to see what the container of the menu looks like

Screenshot 2023-10-12 at 4.05.00 AM.png (1×3 px, 942 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu requested review of this revision.Oct 12 2023, 1:18 AM
atul added a subscriber: ted.
atul added inline comments.
web/components/menu.react.js
9–14 ↗(On Diff #31953)

We should consolidate + tidy up Menu component as part of design system so we aren't constantly creating one-off variants.

CC @ashoat, @ted: not sure how/when to prioritize, but just to keep on your radar

This revision is now accepted and ready to land.Oct 16 2023, 9:34 AM
web/components/menu.react.js
9–14 ↗(On Diff #31953)