1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-02 09:58:24 +01:00
phorge-phorge/src/applications/dashboard/storage
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
..
PhabricatorDashboard.php Convert dashboard read/display pathways to the new panel storage format 2019-04-14 10:23:42 -07:00
PhabricatorDashboardDAO.php Add initial skeleton for Dashboard application 2014-01-30 11:43:24 -08:00
PhabricatorDashboardInstall.php Convert dashboard read/display pathways to the new panel storage format 2019-04-14 10:23:42 -07:00
PhabricatorDashboardNgrams.php Add Ngram support to Dashboards / Panels 2016-12-16 12:09:06 -08:00
PhabricatorDashboardPanel.php On panel pages, show where panels are used 2019-04-12 06:14:21 -07:00
PhabricatorDashboardPanelNgrams.php Add Ngram support to Dashboards / Panels 2016-12-16 12:09:06 -08:00
PhabricatorDashboardPanelTransaction.php Modularize Dashboard Panel transactionns 2019-04-09 13:37:27 -07:00
PhabricatorDashboardPortal.php Make Portals indexable with Ferret 2019-04-10 13:33:54 -07:00
PhabricatorDashboardPortalTransaction.php Add skeleton for Portals, a collection of dashboards and other resources 2019-04-02 14:42:26 -07:00
PhabricatorDashboardSchemaSpec.php Automatically build all Lisk schemata 2014-10-02 09:51:20 -07:00
PhabricatorDashboardTransaction.php Modularize Dashboard transactions 2019-04-12 06:14:51 -07:00