Hugo Häggmark
00a9af00fc
Templating: removes old Angular variable system and featureToggle ( #24779 )
...
* Chore: initial commit
* Tests: fixes MetricsQueryEditor.test.tsx
* Tests: fixes cloudwatch/specs/datasource.test.ts
* Tests: fixes stackdriver/specs/datasource.test.ts
* Tests: remove refrences to CustomVariable
* Refactor: moves DefaultVariableQueryEditor
* Refactor: moves utils
* Refactor: moves types
* Refactor: removes variableSrv
* Refactor: removes feature toggle newVariables
* Refactor: removes valueSelectDropDown
* Chore: removes GeneralTabCtrl
* Chore: migrates RowOptions
* Refactor: adds RowOptionsButton
* Refactor: makes the interface more explicit
* Refactor: small changes
* Refactor: changed type as it can be any variable type
* Tests: fixes broken test
* Refactor: changes after PR comments
* Refactor: adds loading state and call to onChange in componentDidMount
2020-06-04 13:44:48 +02:00
Hugo Häggmark
622246d56d
Templating: fixes so Textbox variables get value from url ( #24623 )
2020-05-14 07:41:42 +02:00
Hugo Häggmark
05b6d38374
Variables: breaks variable.ts into 2 separate files utils and types ( #22884 )
2020-03-24 05:46:31 +01:00
Hugo Häggmark
9af04a49ea
Variables: replaces UUID with name for a more performant lookup in TemplateSrv ( #22858 )
...
* Refactor: renames uuid to id
* Refactor: misc renames
* Refactor: fixes renaming of variable
* Refactor: changes method accessed by templateSrv
* Refactor: fixes for NEW_VARIABLE_ID
* Refactor: rename flow refactor
* Tests: adds missing reducer and action tests
* Refactor: keeping tests consitent
* Chore: reorder imports
* Chore: removes uuid package
* Refactor: fixes imports
2020-03-23 13:45:08 +01:00
Hugo Häggmark
1db067396a
Variables: migrates data source variable type to React/Redux ( #22770 )
...
* Refactor: moves all the newVariables part to features/variables directory
* Feature: adds datasource type
* Tests: adds reducer tests
* Tests: covers data source actions with tests
* Chore: reduces strict null errors
2020-03-16 06:32:04 +01:00