* 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>
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
partials | Loading commit data... | |
specs | Loading commit data... | |
DefaultVariableQueryEditor.tsx | Loading commit data... | |
TextBoxVariable.ts | Loading commit data... | |
adhoc_variable.ts | Loading commit data... | |
all.ts | Loading commit data... | |
constant_variable.ts | Loading commit data... | |
custom_variable.ts | Loading commit data... | |
datasource_variable.ts | Loading commit data... | |
editor_ctrl.ts | Loading commit data... | |
interval_variable.ts | Loading commit data... | |
query_variable.ts | Loading commit data... | |
template_srv.ts | Loading commit data... | |
types.ts | Loading commit data... | |
utils.ts | Loading commit data... | |
variable_srv.ts | Loading commit data... |