Dashboard Controls: Fix schema transformation for link placement (#114630)
* fix: add missing transformation for scenes -> save model v2 * fix: link placement transformation on the backend between schemas * fix: update the openapi spec in the tests * tes: add tests for `transformSceneToSaveModelSchemaV2` * tests: extend conversion_test.go to cover link placements
This commit is contained in:
Vendored
+1
@@ -69,6 +69,7 @@
|
||||
"title": "Documentation",
|
||||
"tooltip": "View documentation",
|
||||
"type": "link",
|
||||
"placement": "inControlsMenu",
|
||||
"url": "https://docs.example.com/dashboard-guide"
|
||||
},
|
||||
{
|
||||
|
||||
Vendored
+2
-1
@@ -132,7 +132,8 @@
|
||||
"asDropdown": false,
|
||||
"targetBlank": true,
|
||||
"includeVars": false,
|
||||
"keepTime": false
|
||||
"keepTime": false,
|
||||
"placement": "inControlsMenu"
|
||||
},
|
||||
{
|
||||
"title": "Tag-based Link",
|
||||
|
||||
Vendored
+2
-1
@@ -137,7 +137,8 @@
|
||||
"asDropdown": false,
|
||||
"targetBlank": true,
|
||||
"includeVars": false,
|
||||
"keepTime": false
|
||||
"keepTime": false,
|
||||
"placement": "inControlsMenu"
|
||||
},
|
||||
{
|
||||
"title": "Tag-based Link",
|
||||
|
||||
Reference in New Issue
Block a user