Hugo Häggmark
2a3aa95163
Variables: Adds queryparam formatting option ( #30858 )
...
* Variables: Adds queryparam formatting option
* Chore: fixes strict errors
* Chore: changes after PR comments
2021-02-05 07:16:06 +01:00
Torkel Ödegaard
1d689888b0
Prettier: Upgrade to 2 ( #30387 )
...
* Updated package json but not updated source files
* Update eslint plugin
* updated files
2021-01-20 07:59:48 +01:00
Hugo Häggmark
9ba8114bd4
Variables: New Variables are stored immediately ( #29178 )
...
* Refactor: Adds getNextAvailableId
* Refactor: Hides DependencyGraph button if there are no dependencies
* Refactor: Changes the new button
* Refactor: Removes usages of NEW_VARIABLE_ID
* Refactor: Reverts the new button
2020-11-20 10:51:32 +01:00
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
Hugo Häggmark
50b3409474
Variables: Fixes URL values for dependent variables ( #28798 )
2020-11-04 08:56:02 +01:00
Hugo Häggmark
09a1af3f91
Variables: Fixes issue with All variable not being resolved ( #27151 )
...
* Variables: Fixes issue with All variable not being resolved
* Tests: update tests according to changes
2020-08-24 09:29:21 +02:00
Torkel Ödegaard
6c49fdb57d
TemplateSrv: Formatting options for ${__from} and ${__to}, unix seconds epoch, ISO 8601/RFC 3339 ( #26466 )
...
* TemplateSrv: WIP date formats
* Templating: formats with arguments
* WIP docs updates
* Docs: Updated docs
* fixed spelling
* Update docs/sources/variables/global-variables.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/variables/global-variables.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/variables/global-variables.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/variables/global-variables.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-07-27 20:47:59 +02: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