grafana/public/test
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
..
core Update dependency @reduxjs/toolkit to v1.9.0 (#58247) 2022-12-08 17:27:38 +00:00
helpers Alerting: Fix RuleEditor flaky test for existing grafana managed alert (#59780) 2022-12-07 16:15:33 +01:00
lib remove exported test globals from test/lib/common (#50256) 2022-06-06 15:38:37 +01:00
matchers Chore: some type fixes (#59030) 2022-11-29 15:52:08 +00:00
mocks Chore: more any/type assertion improvements (#57450) 2022-10-25 11:04:35 +02:00
specs Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
.jshintrc feat(templating): lots of progress on template variable context specific formats, #2918, all elasticsearch / lucene use cases seem to work now 2016-03-01 08:43:54 +01:00
global-jquery-shim.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
jest-resolver.js Chore: Upgrade to jest 28 (#49679) 2022-05-30 14:14:34 +01:00
jest-setup.ts Angular: auto-migrate graph panel when angular is disabled (#59247) 2022-11-23 13:32:52 -08:00
jest-shim.ts Update dependency @types/node to v14 (#40405) 2021-10-21 16:52:26 +02:00
redux-rtl.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
setupTests.ts Scenes: Add query variable support (#59553) 2022-12-12 04:01:27 -08:00