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

SceneVariableSet: Update all variables in case of error #850

Closed Sergej-Vlasov closed 1 month ago

Sergej-Vlasov commented 2 months ago

when we have chained variables in a repeat panel and one of them fails we do not update remaining ones and repeated panel does not appear because remaining variables are stuck in loading state that forces early return in repeat panel logic and does not render anything.

In order to render the panel with some sort of error message all variables should finish updating.

part of https://github.com/grafana/grafana/pull/91149

📦 Published PR as canary version: 5.7.1--canary.850.10147682812.0
:sparkles: Test out this PR locally via: ```bash npm install @grafana/scenes-react@5.7.1--canary.850.10147682812.0 npm install @grafana/scenes@5.7.1--canary.850.10147682812.0 # or yarn add @grafana/scenes-react@5.7.1--canary.850.10147682812.0 yarn add @grafana/scenes@5.7.1--canary.850.10147682812.0 ```
grafanabot commented 1 month ago

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