Dashboard Controls: Add UI for displaying under menu (#113517)

* feat: add options to render under the controls menu

* fix: filter out hidden annotation layers from the dashboard-controls menu

* fix: adjust spacing between annotation controls in the dashboard-controls menu

* fix: e2e test for variables

* feat: move the menu button next to the variables

* fix: remove duplicate link controls

* fix: show dashboard controls when the dashboard is not saved
This commit is contained in:
Levente Balogh
2025-12-04 16:22:41 +01:00
committed by GitHub
parent 4c5d9cb95f
commit 32a58c56ed
21 changed files with 980 additions and 382 deletions
@@ -352,6 +352,9 @@ export const versionedPages = {
showInLabel: {
'11.1.0': 'data-testid show-in-label',
},
annotationControlsDisplay: {
'12.4.0': 'data-testid annotation-controls-display-label',
},
previewInDashboard: {
'10.0.0': 'data-testid annotations-preview',
},
@@ -445,6 +448,9 @@ export const versionedPages = {
generalHideSelectV2: {
[MIN_GRAFANA_VERSION]: 'data-testid Variable editor Form Hide select',
},
generalDisplaySelect: {
'12.4.0': 'data-testid Variable editor Display select',
},
selectionOptionsAllowCustomValueSwitch: {
[MIN_GRAFANA_VERSION]: 'data-testid Variable editor Form Allow Custom Value switch',
},