changed order of version settings in UI

This commit is contained in:
iLLiCiTiT 2022-01-21 18:48:59 +01:00
parent a06b13604f
commit c78eafa8eb
3 changed files with 48 additions and 42 deletions

View file

@ -2,9 +2,6 @@
"studio_name": "Studio name", "studio_name": "Studio name",
"studio_code": "stu", "studio_code": "stu",
"admin_password": "", "admin_password": "",
"production_version": "",
"staging_version": "",
"version_check_interval": 5,
"environment": { "environment": {
"__environment_keys__": { "__environment_keys__": {
"global": [] "global": []
@ -19,5 +16,8 @@
"windows": [], "windows": [],
"darwin": [], "darwin": [],
"linux": [] "linux": []
} },
"production_version": "",
"staging_version": "",
"version_check_interval": 5
} }

View file

@ -30,36 +30,6 @@
{ {
"type": "splitter" "type": "splitter"
}, },
{
"type": "label",
"label": "Define explicit OpenPype version that should be used. Keep empty to use latest available version."
},
{
"type": "production-versions-text",
"key": "production_version",
"label": "Production version"
},
{
"type": "staging-versions-text",
"key": "staging_version",
"label": "Staging version"
},
{
"type": "splitter"
},
{
"type": "label",
"label": "Trigger validation if running OpenPype is using studio defined version each 'n' <b>minutes</b>. Validation happens in OpenPype tray application."
},
{
"type": "number",
"key": "version_check_interval",
"label": "Version check interval",
"minimum": 0
},
{
"type": "splitter"
},
{ {
"key": "environment", "key": "environment",
"label": "Environment", "label": "Environment",
@ -141,12 +111,49 @@
"type": "splitter" "type": "splitter"
}, },
{ {
"type": "path", "type": "collapsible-wrap",
"key": "openpype_path", "label": "OpenPype deployment control",
"label": "Versions Repository", "collapsible": false,
"multiplatform": true, "children": [
"multipath": true, {
"require_restart": true "type": "path",
"key": "openpype_path",
"label": "Versions Repository",
"multiplatform": true,
"multipath": true,
"require_restart": true
},
{
"type": "splitter"
},
{
"type": "label",
"label": "Define explicit OpenPype version that should be used. Keep empty to use latest available version."
},
{
"type": "production-versions-text",
"key": "production_version",
"label": "Production version"
},
{
"type": "staging-versions-text",
"key": "staging_version",
"label": "Staging version"
},
{
"type": "splitter"
},
{
"type": "label",
"label": "Trigger validation if running OpenPype is using studio defined version each 'n' <b>minutes</b>. Validation happens in OpenPype tray application."
},
{
"type": "number",
"key": "version_check_interval",
"label": "Version check interval",
"minimum": 0
}
]
} }
] ]
} }

View file

@ -92,8 +92,7 @@ class CollapsibleWrapper(WrapperWidget):
self.content_layout = content_layout self.content_layout = content_layout
if self.collapsible: if self.collapsible:
if not self.collapsed: body_widget.toggle_content(self.collapsed)
body_widget.toggle_content()
else: else:
body_widget.hide_toolbox(hide_content=False) body_widget.hide_toolbox(hide_content=False)