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
F18902742: D20483.id48990.diff
Nov 8 2025, 2:31 AM
F18897723: D20483.id48865.diff
Nov 7 2025, 5:36 PM
F18828153: D20483.id.diff
Oct 24 2025, 2:36 PM
F18822509: D20483.diff
Oct 23 2025, 7:09 AM
F18784649: D20483.diff
Oct 13 2025, 2:00 PM
F18737478: D20483.diff
Oct 1 2025, 10:56 AM
F18654395: D20483.diff
Sep 22 2025, 7:57 AM
F18643934: D20483.id48990.diff
Sep 19 2025, 3:43 AM
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