1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-08 13:51:02 +01:00
phorge-phorge/src/applications/search/menuitem
epriestley a3c43c473b Convert dashboard read/display pathways to the new panel storage format
Summary:
Depends on D20406. Ref T13272. This gets about half of Dashboards working with the new "duplicate panel friendly" storage format. Followups will fix the write pathways.

Collateral damage here includes:

  - Remove the old Dashboard/Panel edge type. We have a new, more general edge type for "container X uses panel Y", and we don't need this edge type for anything else.
  - Remove "attachPanels()" from Dashboard. Only rendering actually needs this, and it can just load the panels.
  - Remove "attachPanelPHIDs()" from Dashboard. We can look at the panel refs to figure this out.
  - Remove "attachProjects()" from Dashboard. Nothing uses this and it's not a very modern approach.
  - `getPanelPHIDs()` just looks at the config now.
  - Deleted some `LayoutConfig`-related code which is broken/obsolete.

Test Plan:
  - Viewed various dashboards which were created before the changes, saw them render correctly.
  - Viewed a dashboard with two of the same panel! AMAZING!

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13272

Differential Revision: https://secure.phabricator.com/D20407
2019-04-14 10:23:42 -07:00
..
PhabricatorApplicationProfileMenuItem.php Update all existing ProfileMenuItems for the more-structured API 2019-04-02 15:20:39 -07:00
PhabricatorConpherenceProfileMenuItem.php Update all existing ProfileMenuItems for the more-structured API 2019-04-02 15:20:39 -07:00
PhabricatorDashboardProfileMenuItem.php Convert dashboard read/display pathways to the new panel storage format 2019-04-14 10:23:42 -07:00
PhabricatorDividerProfileMenuItem.php Update all existing ProfileMenuItems for the more-structured API 2019-04-02 15:20:39 -07:00
PhabricatorEditEngineProfileMenuItem.php Update all existing ProfileMenuItems for the more-structured API 2019-04-02 15:20:39 -07:00
PhabricatorLabelProfileMenuItem.php Update all existing ProfileMenuItems for the more-structured API 2019-04-02 15:20:39 -07:00
PhabricatorLinkProfileMenuItem.php Update all existing ProfileMenuItems for the more-structured API 2019-04-02 15:20:39 -07:00
PhabricatorManageProfileMenuItem.php Update all existing ProfileMenuItems for the more-structured API 2019-04-02 15:20:39 -07:00
PhabricatorMotivatorProfileMenuItem.php When picking a default menu item to render, don't pick disabled items 2019-04-02 15:21:27 -07:00
PhabricatorProfileMenuItem.php Index and surface usage sites for Dashboards 2019-04-12 06:13:44 -07:00
PhabricatorProfileMenuItemIconSet.php Rename all ProfilePanels into ProfileMenuItems 2016-12-11 11:44:38 -08:00
PhabricatorProjectProfileMenuItem.php Update all existing ProfileMenuItems for the more-structured API 2019-04-02 15:20:39 -07:00