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
Unknown Object (File)
Mon, May 26, 12:41 PM
Unknown Object (File)
Sun, May 25, 2:21 PM
Unknown Object (File)
Tue, May 20, 3:42 PM
Unknown Object (File)
Fri, May 2, 3:47 AM
Unknown Object (File)
Apr 21 2025, 3:15 PM
Unknown Object (File)
Apr 21 2025, 12:52 PM
Unknown Object (File)
Apr 20 2025, 2:23 PM
Unknown Object (File)
Apr 10 2025, 4:44 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