grafana/public/app
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
..
angular Chore: more any/type assertion improvements (#57450) 2022-10-25 11:04:35 +02:00
core Navigation: Prevent app crash when importing a dashboard with a uid of home (#59874) 2022-12-09 12:54:00 +00:00
features Scenes: Add query variable support (#59553) 2022-12-12 04:01:27 -08:00
partials Chore: Migrates remaining Angular modals to React (#33476) 2021-04-28 15:22:28 +02:00
plugins HeatmapPanel: Fix typo in variable naming (#57326) 2022-12-09 21:07:12 -06:00
polyfills WIP Chore: reduce strict errors (#40462) 2021-10-15 08:57:55 +02:00
routes Scenes: Basics for rendering scenes as an embedded page (#60098) 2022-12-12 01:25:28 -08:00
store PublicDashboard: Add RTK Query with loading and error state. Add MSW dependency for testing. (#55518) 2022-09-22 09:35:04 -03:00
types Add query library behind dev-mode-only feature flag (#55947) 2022-11-30 15:33:40 -08:00
app.ts Internationalization: Change locale preference to language (#58359) 2022-11-22 12:18:34 +00:00
AppWrapper.tsx Explore: Remove camel case from tracking labels (#56809) 2022-10-13 12:12:50 +02:00
dev.ts Chore: Make "why-did-you-render" a dynamic import (#53121) 2022-08-08 15:33:49 +01:00
index.ts Type window.nonce (#51200) 2022-06-22 09:28:05 +01:00