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
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
..
application Move Dashboards main edit flow to EditEngine 2019-04-12 06:15:15 -07:00
conduit Add skeleton for Portals, a collection of dashboards and other resources 2019-04-02 14:42:26 -07:00
constants Add skeleton for Portals, a collection of dashboards and other resources 2019-04-02 14:42:26 -07:00
controller Convert dashboard read/display pathways to the new panel storage format 2019-04-14 10:23:42 -07:00
editfield Rebuild query panels on top of EditEngine 2019-04-09 14:08:41 -07:00
editor Convert dashboard read/display pathways to the new panel storage format 2019-04-14 10:23:42 -07:00
engine Convert dashboard read/display pathways to the new panel storage format 2019-04-14 10:23:42 -07:00
engineextension On panel pages, show where panels are used 2019-04-12 06:14:21 -07:00
icon Add some new Dashboard icons 2017-03-21 11:00:16 -07:00
install Make the "Install Dashboard" flow smoother 2019-04-09 13:34:09 -07:00
interface On panel pages, show where panels are used 2019-04-12 06:14:21 -07:00
layoutconfig Convert dashboard read/display pathways to the new panel storage format 2019-04-14 10:23:42 -07:00
menuitem Update all existing ProfileMenuItems for the more-structured API 2019-04-02 15:20:39 -07:00
paneltype On panel pages, show where panels are used 2019-04-12 06:14:21 -07:00
phid On panel pages, show where panels are used 2019-04-12 06:14:21 -07:00
query Convert dashboard read/display pathways to the new panel storage format 2019-04-14 10:23:42 -07:00
remarkup Allow users who can edit a dashboard to remove invalid / restricted panels 2017-02-04 16:33:47 -08:00
storage Convert dashboard read/display pathways to the new panel storage format 2019-04-14 10:23:42 -07:00
typeahead Make Portals indexable with Ferret 2019-04-10 13:33:54 -07:00
xaction Modularize dashboard layout modes (one column, two columns, etc) 2019-04-14 10:22:59 -07:00