You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There has been a lot of discussion around how to support standard settings and templates. I think this is part of that solution, not the entire thing.
It would be great to be able to configure how the panel behaves by default across all dashboards. Also having custom versions of the panel options depending on the Field and SeriesData we are looking at. I propose:
add a config tab on the panel plugin page that lets you set default options. These options would be stored in something like the datasource jsonData and along with the grafanaBootData
add a general way to configure overrides for panel options
The panel plugin is passed options that are derived from: plugin default + system defaults + panel config
The config page could look something like this:
The text was updated successfully, but these errors were encountered:
This would also require (or at least be better) if the Options UIs are built in a way that could consistently shows you want the default value are and if your values are different.
placeholder works well for things in text fields
dropdown using <Select/> has many nice style options that can show this
not sure how to show it with switch components though :) maybe the color of the selection background and a tooltip?
Perhaps when building the save model, it checks values vs the default and only saves things that are different.
There has been a lot of discussion around how to support standard settings and templates. I think this is part of that solution, not the entire thing.
It would be great to be able to configure how the panel behaves by default across all dashboards. Also having custom versions of the panel options depending on the Field and SeriesData we are looking at. I propose:
jsonData
and along with the grafanaBootDataThe config page could look something like this:
The text was updated successfully, but these errors were encountered: