Hugo Häggmark
112a755e18
Variables: Adds new Api that allows proper QueryEditors for Query variables ( #28217 )
...
* Initial
* WIP
* wip
* Refactor: fixing types
* Refactor: Fixed more typings
* Feature: Moves TestData to new API
* Feature: Moves CloudMonitoringDatasource to new API
* Feature: Moves PrometheusDatasource to new Variables API
* Refactor: Clean up comments
* Refactor: changes to QueryEditorProps instead
* Refactor: cleans up testdata, prometheus and cloud monitoring variable support
* Refactor: adds variableQueryRunner
* Refactor: adds props to VariableQueryEditor
* Refactor: reverted Loki editor
* Refactor: refactor queryrunner into smaller pieces
* Refactor: adds upgrade query thunk
* Tests: Updates old tests
* Docs: fixes build errors for exported api
* Tests: adds guard tests
* Tests: adds QueryRunner tests
* Tests: fixes broken tests
* Tests: adds variableQueryObserver tests
* Test: adds tests for operator functions
* Test: adds VariableQueryRunner tests
* Refactor: renames dataSource
* Refactor: adds definition for standard variable support
* Refactor: adds cancellation to OptionPicker
* Refactor: changes according to Dominiks suggestion
* Refactor:tt
* Refactor: adds tests for factories
* Refactor: restructuring a bit
* Refactor: renames variableQueryRunner.ts
* Refactor: adds quick exit when runRequest returns errors
* Refactor: using TextArea from grafana/ui
* Refactor: changed from interfaces to classes instead
* Tests: fixes broken test
* Docs: fixes doc issue count
* Docs: fixes doc issue count
* Refactor: Adds check for self referencing queries
* Tests: fixed unused variable
* Refactor: Changes comments
2020-11-18 15:10:32 +01:00
kay delaney
185442115c
Chore: Remove angular dependency from data sources ( #27735 )
...
* Chore: Remove angular dependency from data sources
* Removes default export for time and template srvs
Also uses @grafana/runtime versions of the interfaces where possible
* Replace usage of internal templateSrv where possible
* Use runtime templateSrv in a couple more places
2020-10-01 18:51:23 +01:00
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
Dominik Prokop
9b7748ec13
Chore: Reorg packages ( #20111 )
...
Primarily- moving majority of the types and utils from @grafana/ui to @grafana/data
* Move types from grafana-ui to grafana-data
* Move valueFormats to grafana-data
* Move utils from grafana-ui to grafana-data
* Update imports in grafana-ui
* revert data's tsconfig change
* Update imports in grafana-runtime
* Fix import paths in grafana-ui
* Move rxjs to devDeps
* Core import updates batch 1
* Import updates batch 2
* Imports fix batch 3
* Imports fixes batch i don't know
* Fix imorts in grafana-toolkit
* Fix imports after master merge
2019-10-31 10:48:05 +01:00
Tobias Skarhed
c8498461a5
noImplicitAny: Down approx 200 errors ( #18143 )
...
* noImplicitAny playlist approx 200
* Add AngularPanelMenuItem interface
* Roughly 100 noImplicitAny
2019-07-18 08:03:04 +02:00
Ryan McKinley
51a98565dc
Refactor: consistant plugin/meta usage ( #16834 )
2019-04-30 22:36:46 -07:00
Torkel Ödegaard
47e51cb6b3
Refactor: Plugin exports & data source / panel types ( #16364 )
...
* wip: began work off removing meta and pluginExports from DataSourceApi interface
* WIP: changing how plugins are exports and loaded
* Down the refactoring rabit hole that keeps expanding
* TestData now returns DataSourcePlugin
* Refactoring: fixed app config page loading, type renamings and more typings
* Refactor: Correct casing on DatasourceStatus => DataSourceStatus
2019-04-04 18:30:15 +02:00
Torkel Ödegaard
b9a3239edb
removed old unused angular stuff, rename
2019-01-14 15:01:47 +01:00