grafana/public/app/features/variables
Hugo Häggmark c7ffc1199c
Variables: turns on newVariables as a new default (#23272)
* Variables: turns on newVariables as default

* Chore: adds default templating state

* Some small refactorings to get the template_srv tests to get green when toggle is enabled by default.

* Refactor: adds getVariables dependency to DashboardModel

* Tests: fixes StackDriver tests

* Tests: updates snapshots

* Tests: updates snapshot for DashboardGrid.test.tsx

* Tests: fixes DashboardModel.test.ts

* fixed initDashboard tests.

* renamed variable.

* changed so we use the templating.list when running the migration work.

* changed so we always returns the variables in sorted order.

* Tests: fixed cloudwatch tests

* added so we set the global template variable props.

* Fixed tests and added moved logic to complete templateSrv variables.

* removed unneccesary updateIndex.

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2020-04-03 09:38:14 +02:00
..
adhoc Variables: breaks variable.ts into 2 separate files utils and types (#22884) 2020-03-24 05:46:31 +01:00
constant Variables: turns on newVariables as a new default (#23272) 2020-04-03 09:38:14 +02:00
custom Variables: turns on newVariables as a new default (#23272) 2020-04-03 09:38:14 +02:00
datasource Variables: turns on newVariables as a new default (#23272) 2020-04-03 09:38:14 +02:00
editor TemplateVariables: make sure we handle multi/single value with correct data type (#23208) 2020-04-01 18:13:38 +02:00
interval Variables: turns on newVariables as a new default (#23272) 2020-04-03 09:38:14 +02:00
pickers Variables: turns on newVariables as a new default (#23272) 2020-04-03 09:38:14 +02:00
query Variables: turns on newVariables as a new default (#23272) 2020-04-03 09:38:14 +02:00
shared TemplateVariables: make sure we handle multi/single value with correct data type (#23208) 2020-04-01 18:13:38 +02:00
state Variables: turns on newVariables as a new default (#23272) 2020-04-03 09:38:14 +02:00
textbox Variables: turns on newVariables as a new default (#23272) 2020-04-03 09:38:14 +02:00
adapters.ts Variables: breaks variable.ts into 2 separate files utils and types (#22884) 2020-03-24 05:46:31 +01:00
guard.ts TemplateVariables: make sure we handle multi/single value with correct data type (#23208) 2020-04-01 18:13:38 +02:00