CommandPalette: Fix long dashboard names freezing the browser (#61278)

* CommandPalette: Use custom useMatches to avoid perf issues with long names

* wip start to multi search

* use search permutations, and do substring match if search is over 25 chars

* update ufuzzy

* don't permute query if greater than 5 words
This commit is contained in:
Josh Hunt
2023-01-13 14:16:16 +00:00
committed by GitHub
parent 8f72893076
commit 9b10f6c7dd
4 changed files with 267 additions and 3 deletions
+1 -1
View File
@@ -258,7 +258,7 @@
"@grafana/ui": "workspace:*",
"@jaegertracing/jaeger-ui-components": "workspace:*",
"@kusto/monaco-kusto": "5.3.6",
"@leeoniya/ufuzzy": "0.9.0",
"@leeoniya/ufuzzy": "0.9.1",
"@lezer/common": "1.0.1",
"@lezer/highlight": "1.1.2",
"@lezer/lr": "1.2.3",