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
F19508584: D20358.diff
Sat, Jan 10, 7:16 AM
F19467924: D20358.diff
Sat, Jan 3, 7:57 PM
F19093147: D20358.id.diff
Dec 3 2025, 8:18 PM
F19086451: D20358.diff
Dec 2 2025, 9:28 PM
F18853917: D20358.diff
Oct 31 2025, 8:35 PM
F18837144: D20358.diff
Oct 27 2025, 4:33 AM
F18763814: D20358.id.diff
Oct 7 2025, 2:24 AM
F18751551: D20358.id48609.diff
Oct 4 2025, 11:37 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
Branch
portal8
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 22450
Build 30729: Run Core Tests
Build 30728: arc lint + arc unit

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.