grafana / scenes

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

SceneObject: Improve cloning logic #944

Closed torkelo closed 2 weeks ago

torkelo commented 2 weeks ago

We currently have a bug in scenes where you cannot "apply" changes in inspect drawer because there is an error thrown when you hit "Apply" (only happens when the dashboard is NOT in edit mode). The error happens because we try go into edit mode while the inspect drawer is open the error is 'Cannot clone a SceneObject with a SceneObjectRef in state which we throw from the cloning.

https://github.com/grafana/grafana/issues/95482

scenes-repo-bot-access-token[bot] commented 2 weeks ago

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