Page MenuHomePhabricator

[web] intorduce user profile menu to user profile modal
ClosedPublic

Authored by ginsu on Oct 12 2023, 1:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 2, 3:09 AM
Unknown Object (File)
Sat, Jun 29, 8:58 AM
Unknown Object (File)
Tue, Jun 25, 10:16 PM
Unknown Object (File)
Tue, Jun 25, 10:44 AM
Unknown Object (File)
Mon, Jun 24, 4:45 AM
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
Subscribers

Details

Summary

This diff here introduces the logic for the user profile menu into the user profile modal

Linear task: https://linear.app/comm/issue/ENG-5225/introduce-userprofilemenu

Depends on D9457

Test Plan

Confirmed that the user profile menu works as expected.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu added reviewers: atul, inka.
ginsu added inline comments.
web/modals/user-profile/user-profile-modal.react.js
30–32 ↗(On Diff #31956)

The case for anonymous users

ginsu requested review of this revision.Oct 12 2023, 1:51 AM
atul added inline comments.
web/modals/user-profile/user-profile-modal.react.js
30–32 ↗(On Diff #31956)

Was helpful to read this annotation -> it'll probably be helpful for future readers to see this as a comment

37–47 ↗(On Diff #31956)

Let's memoize this guy

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

address @atul's comments + rebase before landing