diff --git a/ui/src/components/code/components/collapse/Collapse.vue b/ui/src/components/code/components/collapse/Collapse.vue
index e00cbae8deb..d6e7b89ad20 100644
--- a/ui/src/components/code/components/collapse/Collapse.vue
+++ b/ui/src/components/code/components/collapse/Collapse.vue
@@ -20,8 +20,6 @@
@remove-element="removeElement(item.title, elementIndex)"
/>
-
-
@@ -73,29 +71,4 @@
diff --git a/ui/src/components/code/styles/code.scss b/ui/src/components/code/styles/code.scss
index 9457680c03b..3172f843c61 100644
--- a/ui/src/components/code/styles/code.scss
+++ b/ui/src/components/code/styles/code.scss
@@ -23,6 +23,31 @@ $code-font-sm: var(--el-font-size-small);
}
}
+.collapse {
+ & * {
+ font-size: $code-font-sm;
+ }
+
+ :deep(*) {
+ --el-collapse-header-bg-color: initial;
+ --el-collapse-header-text-color: #{$code-gray-700};
+ --el-collapse-content-bg-color: initial;
+
+ .el-collapse-item__header,
+ .el-collapse-item__content {
+ padding: 0.5rem 0;
+ }
+
+ .el-collapse-item__header {
+ justify-content: space-between;
+
+ &.is-active {
+ color: $code-primary;
+ }
+ }
+ }
+}
+
.label {
color: $code-gray-700;
font-size: $code-font-sm;
diff --git a/ui/src/components/flows/tasks/TaskObject.vue b/ui/src/components/flows/tasks/TaskObject.vue
index 33f460e727a..a11eb9098c8 100644
--- a/ui/src/components/flows/tasks/TaskObject.vue
+++ b/ui/src/components/flows/tasks/TaskObject.vue
@@ -1,13 +1,13 @@
-
+
+
- *
{{ getKey(key) }}
@@ -45,7 +45,57 @@
class="mt-1 mb-2 wrapper"
/>
+
+
+
+
+
+
+
+ {{ getKey(key) }}
+
+
+ {{ getType(schema) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
{
+ if (
+ requiredFields
+ ? this.isRequired(key)
+ : !this.isRequired(key)
+ ) {
+ acc[key] = value;
+ }
+ return acc;
+ }, {});
+
return this.sortProperties(properties);
}
return undefined;
},
- },
- methods: {
getPropertiesValue(properties) {
return this.modelValue && this.modelValue[properties]
? this.modelValue[properties]
diff --git a/ui/src/components/inputs/EditorView.vue b/ui/src/components/inputs/EditorView.vue
index e282ba75243..992a59af907 100644
--- a/ui/src/components/inputs/EditorView.vue
+++ b/ui/src/components/inputs/EditorView.vue
@@ -497,6 +497,10 @@
const editorViewType = ref("YAML");
const changeEditorViewType = (value) => {
localStorage.setItem(storageKeys.EDITOR_VIEW_TYPE, value);
+
+ if(value === "NO_CODE") {
+ editorWidth.value = editorWidth.value > 33.3 ? 33.3 : editorWidth.value;
+ }
}
const handleTopologyEditClick = (params) => {
@@ -1202,10 +1206,13 @@
const {offsetWidth, parentNode} = document.getElementById("editorWrapper");
let blockWidthPercent = (offsetWidth / parentNode.offsetWidth) * 100;
+ const isNoCode = localStorage.getItem(storageKeys.EDITOR_VIEW_TYPE) === "NO_CODE";
+ const maxWidth = isNoCode ? 33.3 : 75;
+
document.onmousemove = function onMouseMove(e) {
let percent = blockWidthPercent + ((e.clientX - dragX) / parentNode.offsetWidth) * 100;
- editorWidth.value = percent > 75 ? 75 : percent < 25 ? 25 : percent;
+ editorWidth.value = percent > maxWidth ? maxWidth : percent < 25 ? 25 : percent;
validationDomElement.value.onResize((percent * parentNode.offsetWidth) / 100);
};
diff --git a/ui/src/translations/de.json b/ui/src/translations/de.json
index 2cf0f05fb04..c89630f9607 100644
--- a/ui/src/translations/de.json
+++ b/ui/src/translations/de.json
@@ -1066,7 +1066,8 @@
"triggers": "Trigger",
"main": "Haupteigenschaften",
"error_handlers": "Fehlerbehandler",
- "tasks": "Aufgaben"
+ "tasks": "Aufgaben",
+ "advanced": "Erweiterte Konfiguration"
},
"creation": {
"select": "Wählen Sie einen {section} aus",
diff --git a/ui/src/translations/en.json b/ui/src/translations/en.json
index e4ce9484689..5a7a8bac501 100644
--- a/ui/src/translations/en.json
+++ b/ui/src/translations/en.json
@@ -719,7 +719,8 @@
},
"tutorial": {
"title": "Tutorial",
- "text": " * Video Tutorials \n* Documentation \n* Blueprints" },
+ "text": " * Video Tutorials \n* Documentation \n* Blueprints"
+ },
"help": {
"title": "Need help?",
"text": "Ask any question in our Slack community. If you are stuck, we are help to help you. ✋"
@@ -961,8 +962,8 @@
}
},
"concurrency-view": {
- "title_no_executions":"No ongoing Executions for this Flow.",
- "desc_no_executions":"Read more about Executions in our documentation.",
+ "title_no_executions": "No ongoing Executions for this Flow.",
+ "desc_no_executions": "Read more about Executions in our documentation.",
"title_no_limit": "No limits are set for this Flow.",
"desc_no_limit": "Read more about Concurrency Limits in our documentation."
},
@@ -1072,6 +1073,7 @@
"sections": {
"main": "Main properties",
"general": "General properties",
+ "advanced": "Advanced configuration",
"tasks": "Tasks",
"triggers": "Triggers",
"error_handlers": "Error Handlers"
diff --git a/ui/src/translations/es.json b/ui/src/translations/es.json
index c611c1ea8cd..ce6b530709e 100644
--- a/ui/src/translations/es.json
+++ b/ui/src/translations/es.json
@@ -1066,7 +1066,8 @@
"triggers": "Disparadores",
"main": "Propiedades principales",
"error_handlers": "Manejadores de Errores",
- "tasks": "Tareas"
+ "tasks": "Tareas",
+ "advanced": "Configuración avanzada"
},
"creation": {
"select": "Seleccione una {section}",
diff --git a/ui/src/translations/fr.json b/ui/src/translations/fr.json
index 4e17cb7e97b..2d7723d0fff 100644
--- a/ui/src/translations/fr.json
+++ b/ui/src/translations/fr.json
@@ -1066,7 +1066,8 @@
"triggers": "Déclencheurs",
"main": "Principales propriétés",
"error_handlers": "Gestionnaires d'erreurs",
- "tasks": "Tâches"
+ "tasks": "Tâches",
+ "advanced": "Configuration avancée"
},
"creation": {
"select": "Sélectionnez une {section}",
diff --git a/ui/src/translations/hi.json b/ui/src/translations/hi.json
index 91186cbcb46..d0bc99a322c 100644
--- a/ui/src/translations/hi.json
+++ b/ui/src/translations/hi.json
@@ -1066,7 +1066,8 @@
"triggers": "ट्रिगर्स",
"main": "मुख्य गुणधर्म",
"error_handlers": "त्रुटि हैंडलर",
- "tasks": "कार्य"
+ "tasks": "कार्य",
+ "advanced": "उन्नत कॉन्फ़िगरेशन"
},
"creation": {
"select": "किसी {section} का चयन करें",
diff --git a/ui/src/translations/it.json b/ui/src/translations/it.json
index cb9dd8b0c6a..c464291cfbf 100644
--- a/ui/src/translations/it.json
+++ b/ui/src/translations/it.json
@@ -1066,7 +1066,8 @@
"triggers": "Trigger",
"main": "Proprietà principali",
"error_handlers": "Gestori degli Errori",
- "tasks": "Attività"
+ "tasks": "Attività",
+ "advanced": "Configurazione avanzata"
},
"creation": {
"select": "Seleziona una {section}",
diff --git a/ui/src/translations/ja.json b/ui/src/translations/ja.json
index bbd646ab5bb..76881500abe 100644
--- a/ui/src/translations/ja.json
+++ b/ui/src/translations/ja.json
@@ -1066,7 +1066,8 @@
"triggers": "トリガー",
"main": "メインプロパティ",
"error_handlers": "エラーハンドラー",
- "tasks": "タスク"
+ "tasks": "タスク",
+ "advanced": "高度な設定"
},
"creation": {
"select": "{section}を選択してください",
diff --git a/ui/src/translations/ko.json b/ui/src/translations/ko.json
index 7017de8fb68..9ab20039690 100644
--- a/ui/src/translations/ko.json
+++ b/ui/src/translations/ko.json
@@ -1066,7 +1066,8 @@
"triggers": "트리거",
"main": "주요 속성",
"error_handlers": "오류 처리기",
- "tasks": "작업"
+ "tasks": "작업",
+ "advanced": "고급 구성"
},
"creation": {
"select": "{section}을 선택하십시오",
diff --git a/ui/src/translations/pl.json b/ui/src/translations/pl.json
index bed14d6b5e0..8127a537b93 100644
--- a/ui/src/translations/pl.json
+++ b/ui/src/translations/pl.json
@@ -1066,7 +1066,8 @@
"triggers": "Triggery",
"main": "Główne właściwości",
"error_handlers": "Obsługa błędów",
- "tasks": "Zadania"
+ "tasks": "Zadania",
+ "advanced": "Zaawansowana konfiguracja"
},
"creation": {
"select": "Wybierz {section}",
diff --git a/ui/src/translations/pt.json b/ui/src/translations/pt.json
index afd18bb9e78..6f3c13056fd 100644
--- a/ui/src/translations/pt.json
+++ b/ui/src/translations/pt.json
@@ -1066,7 +1066,8 @@
"triggers": "Triggers",
"main": "Propriedades principais",
"error_handlers": "Manipuladores de Erros",
- "tasks": "Tarefas"
+ "tasks": "Tarefas",
+ "advanced": "Configuração avançada"
},
"creation": {
"select": "Selecione uma {section}",
diff --git a/ui/src/translations/ru.json b/ui/src/translations/ru.json
index 30ad34f02d2..20180bd9a42 100644
--- a/ui/src/translations/ru.json
+++ b/ui/src/translations/ru.json
@@ -1066,7 +1066,8 @@
"triggers": "Триггеры",
"main": "Основные свойства",
"error_handlers": "Обработчики ошибок",
- "tasks": "Задачи"
+ "tasks": "Задачи",
+ "advanced": "Расширенная конфигурация"
},
"creation": {
"select": "Выберите {section}",
diff --git a/ui/src/translations/zh_CN.json b/ui/src/translations/zh_CN.json
index 42cd324d637..c74f38a13a3 100644
--- a/ui/src/translations/zh_CN.json
+++ b/ui/src/translations/zh_CN.json
@@ -1066,7 +1066,8 @@
"triggers": "触发器",
"main": "主要属性",
"error_handlers": "错误处理程序",
- "tasks": "任务"
+ "tasks": "任务",
+ "advanced": "高级配置"
},
"creation": {
"select": "选择一个{section}",