1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 20:22:46 +01:00
phorge-phorge/src/applications/fact
epriestley c458b50b85 Render charts from storage instead of just one ad-hoc hard-coded chart
Summary:
Ref T13279. This changes the chart controller:

  - if we have no arguments, build a demo chart and redirect to it;
  - otherwise, load the specified chart from storage and render it.

This mostly prepares for "Chart" panels on dashboards.

Test Plan: Visited `/fact/chart/`, got redirected to a chart from storage.

Reviewers: amckinley

Reviewed By: amckinley

Subscribers: yelirekim

Maniphest Tasks: T13279

Differential Revision: https://secure.phabricator.com/D20483
2019-05-22 04:31:48 -07:00
..
application Render charts from storage instead of just one ad-hoc hard-coded chart 2019-05-22 04:31:48 -07:00
chart Render charts from storage instead of just one ad-hoc hard-coded chart 2019-05-22 04:31:48 -07:00
controller Render charts from storage instead of just one ad-hoc hard-coded chart 2019-05-22 04:31:48 -07:00
daemon Update PhabricatorLiskDAO::chunkSQL() for new %Q semantics 2018-11-13 08:59:18 -08:00
engine Render charts from storage instead of just one ad-hoc hard-coded chart 2019-05-22 04:31:48 -07:00
extract Remove all application callers to "putInSet()" 2018-12-12 16:41:12 -08:00
fact Make chart function argument parsing modular/flexible with 900 pages of error messages 2019-04-23 12:26:32 -07:00
management Make Facts more modern, DRY, and dimensional 2018-02-19 12:05:19 -08:00
query Continue cleaning up queries in the wake of changes to "%Q" 2018-11-16 12:49:44 -08:00
storage Render charts from storage instead of just one ad-hoc hard-coded chart 2019-05-22 04:31:48 -07:00