Leon Sorokin
db6b51cb88
OptionsPicker: Allow storing raw input even when matches exist ( #84790 )
2024-03-29 01:18:02 +02:00
Ashley Harrison
dcf58555e8
Chore: Some test type fixes ( #81812 )
...
some test type fixes
2024-02-05 09:47:30 +00:00
Leon Sorokin
09cef892a5
OptionsPicker: Use fuzzy search and improve ranking of matches ( #79286 )
2023-12-12 16:41:50 -06:00
Ashley Harrison
0c44a6f9bb
Chore: Improve typings 🧹 ( #74599 )
...
* various type fixes
* candlestick panel type fixes
* few more fixes
* some fixes
* more :)
* moar!
* undo change to SilencesFilter
* undo change to configureStore
2023-09-13 09:17:07 +01:00
Alexa V
97c3cd1af3
Dashboard: Fix Variable Dropdown to Enforce Minimum One Selection when 'All' Option is Configured ( #69839 )
2023-08-28 14:38:32 +02:00
Dominik Prokop
e4d591fc01
OptionsPicker: Correctly highlight template variable value when filtering ( #63495 )
...
* VariablePicker: Correctly highlight items when filtering
* Change interactions for selecting values in variable options picker
* Review
2023-03-08 03:36:06 -08:00
yusuf-multhan
50df85189c
Variables: Allow user to filter values in dropdown using white space ( #60622 )
...
Fix #60589
2023-01-19 09:53:14 +01:00
Josh Hunt
3c6e0e8ef8
Chore: ESlint import order ( #44959 )
...
* Add and configure eslint-plugin-import
* Fix the lint:ts npm command
* Autofix + prettier all the files
* Manually fix remaining files
* Move jquery code in jest-setup to external file to safely reorder imports
* Resolve issue caused by circular dependencies within Prometheus
* Update .betterer.results
* Fix missing // @ts-ignore
* ignore iconBundle.ts
* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
Hugo Häggmark
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
Hugo Häggmark
4b4afc7b2c
Chore: reduces circular dependencies for variables/utils.ts ( #44087 )
...
* Chore: move constants to own file
* Chore: moves safe* functions to grafana/data
* Chore: moves safe* functions to grafana/data
* Chore: adds VariableQueryEditorProps and deprecates VariableQueryProps
* Chore: remove getDefaultVariableAdapters function
* Chore: moves transaction status to types
* Chore: fix tests that do not initialise TemplateSrv
* Chore: change space when stringifying
* Chore: revert safe* func move
* Chore: remove circular dependency in Explore utils
2022-01-17 12:48:26 +01:00
Hugo Häggmark
f73be970d3
Variables: Removes experimental Tags feature ( #33361 )
...
* Variables: Removes experimental Tags feature
* Refactor: adds dashboard migration
* Tests: fixes snapshots
* Docs: removes docs for experimental feature
* Refactor: dummy change
* Docs: removes reference
2021-04-27 05:57:25 +02:00
Torkel Ödegaard
340334994f
Variables: Fixes error when manually non-matching entering custom value in variable input/picker ( #32390 )
2021-03-29 08:14:43 +02:00
Hugo Häggmark
bc60ce9cce
Variables: Fixes filtering in picker with null items ( #31979 )
...
* Variables: Fixes filtering in picker with null items
* Chore: some cleanup
2021-03-15 15:45:32 +01:00
Hugo Häggmark
6994f19d1f
Variables: Clears drop down state when leaving dashboard ( #30810 )
2021-02-02 09:13:39 +01:00
Hugo Häggmark
dd326d296e
Varibles: Fixes so clicking on Selected will not include All ( #29844 )
2020-12-15 15:04:34 +01:00
jonny
0d2fbd2acd
Variables: Limit rendering of options in dropdown to improve search performance ( #27525 )
...
* fixed: bigdata dropdown first limit 1000
* fixed: change to use function of applylimit
* fixed: remove both applyLimit callers
* feat: test for new logic with applimit
* feat: test showOptions with the applyLimit logic
* fixed: test equal fixed
2020-09-15 09:52:45 +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
Marcus Andersson
13787294c6
Variables: fix so the variable picker will remember selected options between filtering ( #25119 )
...
* added tests to verify flow.
* refactoring picker reducer.
* made all the tests green.
* removed console.log's
* fixed toggle all and making sure the correct values are set on picker open.
* added more tets.
* refactored and added table tests.
* fixed so we select values from selectedValues instead of options.
* fixed so you can navigate and select even after you have filtered a variable.
* adding tests to verify flows when toggling by highlight.
* fixed so enter always selects value before closing.
* improved the code for tags.
2020-06-01 15:06:51 +02:00
Hugo Häggmark
083a2ce220
Templating: fixes filtering options with more than 1000 entries ( #24614 )
...
* Templating: fixes filtering options with more then 1000 entries
* Chore: reduces strict null errors by 2
2020-05-14 08:09:21 +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