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)
Sat, Mar 23, 12:40 AM
Unknown Object (File)
Sat, Mar 23, 12:40 AM
Unknown Object (File)
Sat, Mar 23, 12:40 AM
Unknown Object (File)
Sat, Mar 23, 12:40 AM
Unknown Object (File)
Feb 23 2024, 4:47 AM
Unknown Object (File)
Feb 20 2024, 3:48 PM
Unknown Object (File)
Feb 20 2024, 8:18 AM
Unknown Object (File)
Feb 11 2024, 7:42 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