grafana/public
Dominik Prokop 1758ddd457
Scenes: Add query variable support (#59553)
* WIP first attempt to query variable

* regex issue repro demo

* Refresh variable on time range change if refresh specified

* Instantiate variable runner when updating query variable options

* Simplify runners getTarget interface

* Fix issue with variable ot being updated correctly after other variable changed

* Add templateSrv.replace compatibility with query variable

* QueryVariable: use datasource variable as source

* use proper format

* Make sure variables set is correctly updated when query variable errors

* Do not destruct scopedVars when using sceneGraph.interpolate in templateSrv

* Add support for Legacy variables (metricFindQuery)

* Review

* Fix lint

* Test: Add unit for datasource by variable

* test: Add unit for datasource as var

* query: delegate interpolation to datasourceSrv

* Cleanup

Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2022-12-12 04:01:27 -08:00
..
app Scenes: Add query variable support (#59553) 2022-12-12 04:01:27 -08:00
dashboards Chore: Update version of @grafana/eslint-config (#53403) 2022-08-08 15:19:15 +01:00
emails Email: Use MJML email templates (#57751) 2022-11-17 21:41:46 +01:00
fonts Theme: Use Inter font by default (#59544) 2022-12-01 11:59:37 +00:00
gazetteer Geomap: Add GeoJSON gazetteer (#40589) 2021-10-19 21:05:55 -07:00
img use inherited colors on svg (#57427) 2022-10-21 15:24:02 +02:00
lib AzureMonitor: Kusto language support (#33528) 2021-05-11 16:48:59 +02:00
locales Admin: Combine org and admin user pages (#59365) 2022-11-30 15:24:53 +02:00
maps Geomap: include sample geojson files (#39057) 2021-09-10 09:05:03 -07:00
sass Accessibility: Make QueryEditorHelp examples keyboard interactive (#59355) 2022-12-05 16:03:24 +01:00
test Scenes: Add query variable support (#59553) 2022-12-12 04:01:27 -08:00
testdata MarketTrend: add new alpha panel (#40909) 2021-11-05 18:01:26 -07:00
vendor GaugePanel: Setting the neutral-point of a gauge (#53989) 2022-11-18 12:13:31 +01:00
views Chore: remove preloading roboto font (#59664) 2022-12-02 09:30:47 +00:00
api-merged.json Nested Folders: More API fixes (#59316) 2022-11-24 13:28:53 -05:00
api-spec.json Nested Folders: More API fixes (#59316) 2022-11-24 13:28:53 -05:00
openapi3.json Nested Folders: More API fixes (#59316) 2022-11-24 13:28:53 -05:00
robots.txt