You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prometheus: Fix label names select component when there are too many options (grafana#92026)
* add more doc info for truncate function and how we use it
* truncate label names and allow users to search all labels on typing
* remove unused import
* handle labels select in variable query in addition with truncated list
Copy file name to clipboardExpand all lines: packages/grafana-prometheus/src/components/VariableQueryEditor.tsx
+34-6
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,13 @@
1
1
// Core Grafana history https://github.com/grafana/grafana/blob/v11.0.0-preview/public/app/plugins/datasource/prometheus/components/VariableQueryEditor.tsx
Copy file name to clipboardExpand all lines: packages/grafana-prometheus/src/querybuilder/components/LabelFilters.test.tsx
+20-1
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,28 @@
1
1
// Core Grafana history https://github.com/grafana/grafana/blob/v11.0.0-preview/public/app/plugins/datasource/prometheus/querybuilder/components/LabelFilters.test.tsx
0 commit comments