Dashboards: Cover the Switch variable in schema transformations - part 2. (#114549)
* feat: add v2alpha_1 conversion for the switch variable * chore: gofmt fixes * chore: update comments in tests * chore: fix gofmt * Update specs * tests: update the v2alpha1 openapi snapshot --------- Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
This commit is contained in:
Vendored
+26
@@ -277,6 +277,32 @@
|
||||
"skipUrlSync": false,
|
||||
"type": "groupby"
|
||||
},
|
||||
{
|
||||
"current": {
|
||||
"selected": false,
|
||||
"text": "false",
|
||||
"value": "false"
|
||||
},
|
||||
"description": "Toggle feature on/off",
|
||||
"hide": 0,
|
||||
"label": "Enable Feature",
|
||||
"name": "switch_var",
|
||||
"options": [
|
||||
{
|
||||
"selected": false,
|
||||
"text": "true",
|
||||
"value": "true"
|
||||
},
|
||||
{
|
||||
"selected": true,
|
||||
"text": "false",
|
||||
"value": "false"
|
||||
}
|
||||
],
|
||||
"query": "",
|
||||
"skipUrlSync": false,
|
||||
"type": "switch"
|
||||
},
|
||||
{
|
||||
"current": {
|
||||
"selected": false,
|
||||
|
||||
Reference in New Issue
Block a user