Dashboards: Add a new variable type called "Switch" (#111366)
* feat: add schema changes for a switch type of dashboard variable * fix: generated go * feat: add support for a switch type of dashboard variable * chore: update `@grafana/scenes` to a canary version * feat: add variable editor for the switch variable * fix: remove unnecessary jest config change * chore: remove commented out code
This commit is contained in:
@@ -596,6 +596,17 @@ export const versionedPages = {
|
||||
'11.0.0': 'data-testid ad-hoc filters variable mode toggle',
|
||||
},
|
||||
},
|
||||
SwitchVariable: {
|
||||
valuePairTypeSelect: {
|
||||
['12.3.0']: 'data-testid switch variable value pair type select',
|
||||
},
|
||||
enabledValueInput: {
|
||||
['12.3.0']: 'data-testid switch variable enabled value input',
|
||||
},
|
||||
disabledValueInput: {
|
||||
['12.3.0']: 'data-testid switch variable disabled value input',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user