Closed raulsperoni closed 3 years ago
Will have to look at the PR again & rebase as the Plugin moved to the Grafana-Builder API to allow for better cross-version compatibility.
Hi! First of all the button panel is a great plugin. I ran into the same thing, you can't use Grafana $variables in payload, header parameter, or URL. @raulsperoni does your fork run on Grafana 7.2?
I will take a look at this, rebase and make other PR
In the editor I allow to add other kind of parameters: "variable parameters" that will be resolved before the request. Also I allow to use the variable notation in the label of the button. "This is the label for $variable"
In the panel I'm resolving the variables configured in the editor: first I look for ad hoc filters then for regular variables like text box variables.