Page MenuHomePhabricator

Render charts from storage instead of just one ad-hoc hard-coded chart
ClosedPublic

Authored by epriestley on Apr 30 2019, 3:31 PM.
Tags
None
Referenced Files
F18828153: D20483.id.diff
Fri, Oct 24, 2:36 PM
F18822509: D20483.diff
Thu, Oct 23, 7:09 AM
F18784649: D20483.diff
Mon, Oct 13, 2:00 PM
F18737478: D20483.diff
Wed, Oct 1, 10:56 AM
F18654395: D20483.diff
Sep 22 2025, 7:57 AM
F18643934: D20483.id48990.diff
Sep 19 2025, 3:43 AM
F18619590: D20483.diff
Sep 15 2025, 2:51 AM
F18618204: D20483.id48865.diff
Sep 14 2025, 11:26 PM
Subscribers

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable