simPod/GrafanaJsonDatasource

Builder mode add quotes around Query Variable

KrisztianKaszas opened this issue · 3 comments

Since #376 was closed with the hint, that I have to enter Query Variables using $variableName without surrounding quotations, I open a new issue for Builder mode, which always adds surrounding quotes to anything the user enters, so that Query Variables cannot be entered in Builder mode.

I still think, that it would be better, if we got back the previous behaviour where also query variables are rendered no matter they are in surrounding quotes. But if it is not possible, we would need a solution in builder mode, that detects if a Query variable is entered, so that no surrounding quotes are added.

I still think, that it would be better, if we got back the previous behaviour where also query variables are rendered no matter they are in surrounding quotes

That's impossible, there was never such a behaviour. That's Grafana's design.

we would need a solution in builder mode, that detects if a Query variable is entered, so that no surrounding quotes are added.

This is what needs to be done.

This issue has been automatically marked as stale because it has not
had recent activity. It will be closed if no further activity occurs.

This issue has not seen any activity since it was marked stale.
Closing.