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

GroupBy variable: It may not receive the latest set of queries available in a scene #686

Closed dprokop closed 6 months ago

dprokop commented 7 months ago

GroupBy variable, as other MultiValueVariable, provides available options (dimensions) on initialisation.

Since the available values may depend on queries from the scene, the current implementatio. may be problematic. I.e. in the core Dashboards scenario adding a panel or editing queries in any panel does not invalidate available dimensions in the Group by variable picker.

I think we need to change picker implementation to one that's similar to adhoc filters, whenever the picker is opened the options are resolved.

grafanabot commented 6 months ago

:rocket: Issue was released in v4.11.2 :rocket: