dbec2b02fd
Variables: move state tree into a keyed state ( #44642 )
...
* Variables: move state tree into a keyed state
* Update public/app/features/variables/state/transactionReducer.ts
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Chore: fix prettier error
* Chore: renamed slices and lastUid
* Chore: rename toUidAction
* Chore: rename dashboardVariableReducer
* Chore: rename state prop back to templating
* Chore renames variable.dashboardUid
* Chore: rename toDashboardVariableIdentifier
* Chore: rename getDashboardVariable
* Chore: rename getDashboardVariablesState
* Chore: rename getDashboardVariables
* Chore: some more renames
* Chore: small clean up
* Chore: small rename
* Chore: removes unused function
* Chore: rename VariableModel.stateKey
* Chore: rename KeyedVariableIdentifier.stateKey
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
Co-authored-by: kay delaney <kay@grafana.com>
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-02-18 06:06:04 +01:00
1f091c448f
Template variables: Keyboard navigation improvements ( #38001 )
...
* Fix variable labels
* Add proper labeling for input
* Add ids to PickerRenderer
* Fix tests
* Update PR feedback
* OptionsPicker: Change to id
* Inherit aria attributes
* Add checkbox role
* Fix typo
* Add proper label reference
* Update role and label
* Prevent spreadng non-DOM attributes
* Move form layout to other component
* Remove haspopup
* Add testid to selector
* Add HTMLProps extension
* Use list
* Move styles outside of class
* Add cx
2021-08-19 16:28:25 +02:00
34b4f7c717
Chore: Reduces strict errors ( #33012 )
...
* Chore: reduces strict error in OptionPicker tests
* Chore: reduces strict errors in FormDropdownCtrl
* Chore: reduces has no initializer and is not definitely assigned in the constructor errors
* Chore: reduces has no initializer and is not definitely assigned in the constructor errors
* Chore: lowers strict count limit
* Tests: updates snapshots
* Tests: updates snapshots
* Chore: updates after PR comments
* Refactor: removes throw and changes signature for DashboardSrv.getCurrent
2021-04-15 14:21:06 +02:00
6087980de0
Variables: Confirms selection before opening new picker ( #32586 )
...
* Variables: Confirms selection before opening new picker
* Tests: fixes e2e tests
2021-04-06 09:21:37 +02:00