Skip to content

Dashboards: (Scenes) Row - no refresh on template variable change #104172

Open
grafana/scenes
#1104
@scottlepp

Description

@scottlepp

What happened?

If your panel is in a row, and the row has repeat options set, the panel won't update when a template variable is selected/changed.

[feature_toggles]
dashboardScene = true

What did you expect to happen?

The panels within the row should refresh.

Did this work before?

Yes. This fails when scenes is enabled.

How do we reproduce it?

  1. Create a Custom Variable with some numeric values
  2. Add a panel with the grafana-testdata-datasource ( or any datasource that references a template variable )
  3. Choose - CSV Metric Values and put in your $variable_name as the String Input
  4. Back to Dashboard
  5. Add > Row ( your panel should now be in the row )
  6. Edit the row, and change the repeat options to your Custom Variable then Update
  7. Now change the variable value in the drop down. You will see the panel within the row doesn't update to show the new variable value.1.

Is the bug inside a dashboard panel?

No

Environment (with versions)?

Grafana: main
OS: macos
Browser: chrome

Grafana platform?

Other

Datasource(s)?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    👩‍💻 Development

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions