Page MenuHomePhabricator

Load global and custom profile menu items in a single query
ClosedPublic

Authored by epriestley on Jan 17 2017, 8:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 8, 3:23 PM
Unknown Object (File)
Sat, Apr 6, 10:05 PM
Unknown Object (File)
Mon, Apr 1, 6:15 PM
Unknown Object (File)
Mar 15 2024, 3:02 PM
Unknown Object (File)
Mar 9 2024, 1:14 PM
Unknown Object (File)
Feb 14 2024, 10:37 AM
Unknown Object (File)
Jan 25 2024, 12:04 AM
Unknown Object (File)
Dec 27 2023, 9:28 AM
Subscribers
None

Details

Summary

Ref T5867. Use a single query to load both personal and global items, then reorder them and add a divider if both groups have some stuff.

Test Plan

Viewed menu, edited personal and global items, viewed/edited existing project menus.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jan 17 2017, 8:54 PM

The builtin stuff made this a bit more involved than I imagined, yeah.

This revision was automatically updated to reflect the committed changes.

Also, any clue where this came from?

Screen Shot 2017-01-17 at 1.04.32 PM.png (164×148 px, 10 KB)

Hmm I didn't see it in my testing but probably still me. Will look soon (getting MacBook fixed)

Also, why is the label in the user menu the Real Name, but log out still says "Log out <username>"?

I haven't built the final version yet. This diff was getting long in the tooth. I think I commented above? I have more plans for UI.

I think I need to convert PhabricatorActionView to a proper AphrontTagView, and migrate setMetadata globally to be able to fully customize the UI there. Brings us closer to PHUIListItemView as well.