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.
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 theisPluginChanged
tofalse
.This PR enables the option to recompute the options taking into account that the plugin has changed.