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
F3519621: D9456.id.diff
Sun, Dec 22, 10:44 PM
Unknown Object (File)
Sat, Nov 30, 4:23 PM
Unknown Object (File)
Nov 20 2024, 2:46 PM
Unknown Object (File)
Nov 14 2024, 7:27 AM
Unknown Object (File)
Nov 14 2024, 7:27 AM
Unknown Object (File)
Nov 14 2024, 7:27 AM
Unknown Object (File)
Nov 14 2024, 7:25 AM
Unknown Object (File)
Nov 14 2024, 7:08 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
No Lint Coverage
Unit
No Test Coverage

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

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