Page MenuHomePhabricator

Replace ProfileMenu bugs with different bugs
ClosedPublic

Authored by epriestley on Jan 31 2017, 7:08 PM.
Tags
None
Referenced Files
F13087099: D17273.diff
Thu, Apr 25, 12:51 AM
Unknown Object (File)
Thu, Apr 11, 8:37 AM
Unknown Object (File)
Tue, Apr 9, 11:23 AM
Unknown Object (File)
Mon, Apr 1, 3:07 PM
Unknown Object (File)
Thu, Mar 28, 9:19 PM
Unknown Object (File)
Feb 3 2024, 2:19 PM
Unknown Object (File)
Jan 28 2024, 1:50 AM
Unknown Object (File)
Dec 27 2023, 9:37 AM
Subscribers
None

Details

Summary

Ref T12174. This fixes more bugs than it creates, I think:

  • Dashboards now show the whole menu.
  • Project and home items now show selected state correctly.
  • The "choose global vs personal" thing is now part of MenuEngine, and the same code builds it for Home and Favorites.
  • Home now handles defaults correctly, I think.

Maybe regression/bad/still buggy?:

  • Mobile home is now whatever the default thing was, not the menu?
  • Title for dashboard content or other items that render their own content is incorrectly always "Configure Menu" (this was preexisting).
Test Plan
  • Created, edited, reordered, disabled, deleted and pinned personal and global items on home, favorites, and projects.
  • Also checked User profiles.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Will this support Global / Personal for projects to? That would have "Global" be things applied to all projects, and "Personal" being just that project. However these only seem useful if we can pass in projectPHID to alter what the Global link does...

I dont know we'll do that, just spitballing....

This revision is now accepted and ready to land.Jan 31 2017, 7:18 PM
src/applications/project/engine/PhabricatorProjectProfileMenuEngine.php
10–12

It keeps projects as-is because of this, which turns off the "personal/custom" option.

Overall, this probably moves us slightly closer to a per-project vs all-projects mode but doesn't get us there, the "custom/personal" mode is still fairly specific to being a personal-per-viewer mode.

This revision was automatically updated to reflect the committed changes.

I'm going to deploy this now and we can see how bad I am at testing.