VolkovLabs / business-variable

The Business Variable panel builds on top of the regular dashboard variables. It allows you to have dashboard filters in a separate panel, which you can place anywhere on the dashboard.
https://docs.volkovlabs.io
Apache License 2.0
33 stars 0 forks source link

Editing text in a variable panel is lost whenever the dashboard refreshes #203

Closed SteveRBeeks closed 1 month ago

SteveRBeeks commented 1 month ago

If I have the dashboard on a timer - e.g. 10s - to refresh data, and I am editing text in a variable panel, as soon as the refresh kicks in, the variable returns to its original state. In order to work around this I have to have users toggle OFF the refresh if they want to make changes to text panels, then toggle it back on after editing the variable.

This behaviour doesn't happen if I use a variable in the dashboard as usual, only in the panel.

mikhail-vl commented 1 month ago

@SteveRBeeks Thank you for reporting the issue. We will look into it in the upcoming version.

vitPinchuk commented 1 month ago

@SteveRBeeks Thank you for your question

I double-checked it today Turned on auto-refresh 5s The described behavior is not observed

https://www.loom.com/share/f8833c8b509d4c4ba9e01e805dbe266d?sid=7d0d5534-f8c0-400e-94f8-d45426dff588

Which plugin version do you use? Are you using Grafana Cloud? Thanks

SteveRBeeks commented 1 month ago

@vitPinchuk Plugin version 3.0.0 Grafana OSS 11.1.4

https://github.com/user-attachments/assets/bdc0496d-e72f-4689-b8ce-3cbbf0ee907b

Variable Panel Refresh Bug-1727905374146.json

SteveRBeeks commented 1 month ago

Ah I found the issue - it's when the panel is in table mode it breaks. When it's in minimised mode, it works just fine.