Page MenuHomePhabricator

Update all existing ProfileMenuItems for the more-structured API
ClosedPublic

Authored by epriestley on Mar 31 2019, 7:12 PM.
Tags
None
Referenced Files
F13329047: D20358.id48577.diff
Sun, Jun 16, 8:21 PM
F13321925: D20358.diff
Fri, Jun 14, 7:22 AM
F13304354: D20358.id.diff
Sat, Jun 8, 9:02 AM
F13287747: D20358.diff
Tue, Jun 4, 9:14 AM
F13283954: D20358.id48577.diff
Sun, Jun 2, 7:26 PM
F13275367: D20358.diff
Fri, May 31, 4:42 AM
F13261475: D20358.diff
Mon, May 27, 1:05 AM
F13227861: D20358.diff
Mon, May 20, 5:18 AM
Subscribers
None

Details

Summary

Depends on D20357. Ref T13275. Now that there's a stronger layer between "stuff in the database" and "stuff on the screen", these subclasses all need to emit intermediate objects instead of raw, HTML-producing view objects.

This update is mostly mechanical.

Test Plan
  • Viewed Home, Favorites, Portals, User Profiles, Project Profiles.
  • Clicked each item on each menu/profile type.
  • Added every (I think?) type of item to a menu and clicked them all.
  • Grepped for obsolete symbols (newNavigationMenuItems, willBuildNavigationItems).

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

  • Minor API completeness / correctness fixes.
  • Support image icons, used by "Project" menu items.

This also includes some changes aimed at T12871, which improve rendering of dashboards that aren't accessible. Instead of just failing into a confusing broken/empty state, we now show "Restricted" vs "Invalid" vs "Archived" more clearly.

This revision is now accepted and ready to land.Apr 1 2019, 10:11 PM
This revision was automatically updated to reflect the committed changes.