Grafana Schema: Extend the VariableHide enum (#110579)

* feat: extend the `VariableHide` enum with a new option

* feat: extend the `VariableHide` for v1
This commit is contained in:
Levente Balogh
2025-09-08 09:08:09 +02:00
committed by GitHub
parent 1fd4611487
commit 2f558e8cb7
11 changed files with 26 additions and 21 deletions
@@ -684,8 +684,8 @@ VariableSort: "disabled" | "alphabeticalAsc" | "alphabeticalDesc" | "numericalAs
VariableRefresh: *"never" | "onDashboardLoad" | "onTimeRangeChanged"
// Determine if the variable shows on dashboard
// Accepted values are `dontHide` (show label and value), `hideLabel` (show value only), `hideVariable` (show nothing).
VariableHide: *"dontHide" | "hideLabel" | "hideVariable"
// Accepted values are `dontHide` (show label and value), `hideLabel` (show value only), `hideVariable` (show nothing), `inControlsMenu` (show in a drop-down menu).
VariableHide: *"dontHide" | "hideLabel" | "hideVariable" | "inControlsMenu"
// Determine the origin of the adhoc variable filter
FilterOrigin: "dashboard"