grafana / scenes

Build Grafana dashboards directly in your Grafana app plugins.
https://grafana.com/developers/scenes
Apache License 2.0
133 stars 20 forks source link

VizPanel: Allow to adapt color palette after plugin change #805

Closed ivanortegaalba closed 3 months ago

ivanortegaalba commented 3 months ago

When changing panel type (plugin), each plugin has a specific field config that must override the ones selected by the user. This is mostly the color strategy.

In Grafana Dashboards, when changing the plugin type, the new options are computed by VizPanel manager but it always passes the isPluginChanged to false.

This PR enables the option to recompute the options taking into account that the plugin has changed.

grafanabot commented 3 months ago

:rocket: PR was released in v5.3.1 :rocket: