Diana Payton
e34b2c13d3
Variables UI text edits ( #32523 )
...
* Update formatRegistry.ts
* text edits
* Update adapter.ts
* Update adapter.ts
* text edits
* Update SelectionOptionsEditor.tsx
* Update CustomVariableEditor.tsx
* Update DataSourceVariableEditor.tsx
* Update IntervalVariableEditor.tsx
* Update VariableEditorList.tsx
* Update adapter.ts
* Update actions.ts
* Update NetworkGraphModal.tsx
* Update actions.ts
* Update operators.ts
* text edits
2021-04-01 18:17:39 +02:00
Zoltán Bedi
8232b6ebbc
Chore: eslint react hook fix for public folder ( #31174 )
...
* Fixes under public/app/plugins
* Fixes under public/app/plugins/datasource
* Fixes under public/app/features
* Fixes under public/app/features
* Fixes under public/app/features
* Fixes under public/app/components
* Fix PanelNotSupported test
* Fix one more warning
* Fix warning in usePanelSave
* Fix traceview empty response
* Azure monitor fixes
* More fixes
* Fix tests for azure monitor
* Fixes after merging master
* Add comment for disabled rules
* Fixes after merging master
* Fixes after merging master
* Adress review comments
* Fix azure tests
* Address review feedbacks
2021-03-25 12:42:14 +01:00
Hugo Häggmark
3c1f27b0e6
Chore: reduce strict errors for variables ( #31241 )
...
* Chore: reduces a lot of variable errors
* Chore: reduces variable Editor errors
* Chore: reduces variable Picker errors
* Chore: reduce error count
* Chore: reduces errors for ChangeEvent instead of FormEvent
* Chore: reduces errors with CombinedState
* Chore: reduces ComponentType errors
* Chore: reduce errors in reducers
* Chore: reduces misc errors
* Chore: reduce AdhocPicker errors
* Chore: reduce error limit
* Update public/app/features/variables/adhoc/picker/AdHocFilterValue.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Chore: updates after PR comments
* Chore: small refactor
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-02-18 06:21:35 +01:00
Alex Khomenko
64a1003a28
Add missing callback dependency ( #30797 )
2021-02-02 09:17:11 +02: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
04d857dfe6
Variables: Adds description field ( #29332 )
...
* Variables: Adds description field
* Refactor: Adds new Form components
* Refactor: Fixes aria labels
* Refactor: removes skipped tests
* Refactor: Breaks out smaller select components
* Refactor: removes gf-form div
* Refactor: Breaks up several more selects into smaller components
* Chore: Fixes typings
2020-11-25 10:21:48 +01:00
Peter Holmberg
8f1115c6ac
Fix: Icon and Tooltip on Variables editor ( #26086 )
2020-07-07 08:45:37 +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
Hugo Häggmark
b09b49fb37
e2e: creates a separate package for selectors ( #23858 )
...
* Initial commit
* Chore: fixes after merge
* Chore: removes todos
* Chore: uncomment test
* Chore: adds missing externals to rollup config
* Refactor: selectors is master for everything
* Docs: updates Docs
* Chore: adds e2e-selectors to publish
2020-04-27 09:09:05 +02:00
Tobias Skarhed
553f50e4f5
Form migrations: Switch to LegacyForms namespace ( #23357 )
...
* Move Switch to Legacy namespace
* Make story internal
* Fix import
2020-04-07 08:50:54 +02:00
Marcus Andersson
ac7af7d4c3
TemplateVariables: make sure we handle multi/single value with correct data type ( #23208 )
...
* Fixed issue with multi value.
* Made some refactorings after feedback from Torkel and Hugo.
* minor refactorings.
* changed so we don't make the current value to array if multi is false.
* added snapshot to contain v23.
* Fixed so we always use the correct type when setting value for multi/non-multi.
* added some more tests.
* added tests.
* some small adjustments after feedback
2020-04-01 18:13:38 +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
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