From d7ee6b74b3697404560e93ce37b51abd22f75b1c Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Fri, 19 Sep 2025 18:52:20 +0800 Subject: [PATCH] fix: change workflow icon --- ui/src/assets/workflow/icon_speech_to_text.svg | 13 ++++++------- ui/src/assets/workflow/icon_text_to_speech.svg | 11 +++++------ ui/src/workflow/common/data.ts | 6 +++--- ui/src/workflow/icons/image-generate-node-icon.vue | 2 +- .../workflow/icons/image-understand-node-icon.vue | 2 +- ui/src/workflow/icons/speech-to-text-node-icon.vue | 4 ++-- ui/src/workflow/icons/text-to-speech-node-icon.vue | 4 ++-- 7 files changed, 20 insertions(+), 22 deletions(-) diff --git a/ui/src/assets/workflow/icon_speech_to_text.svg b/ui/src/assets/workflow/icon_speech_to_text.svg index a81d0aac2..4bc269ff0 100644 --- a/ui/src/assets/workflow/icon_speech_to_text.svg +++ b/ui/src/assets/workflow/icon_speech_to_text.svg @@ -1,11 +1,10 @@ - - - - + + + - - + + - \ No newline at end of file + diff --git a/ui/src/assets/workflow/icon_text_to_speech.svg b/ui/src/assets/workflow/icon_text_to_speech.svg index 6c0235744..05c5bfa15 100644 --- a/ui/src/assets/workflow/icon_text_to_speech.svg +++ b/ui/src/assets/workflow/icon_text_to_speech.svg @@ -1,11 +1,10 @@ - - - - + + + - - + + diff --git a/ui/src/workflow/common/data.ts b/ui/src/workflow/common/data.ts index 426b6b0c3..3e944898c 100644 --- a/ui/src/workflow/common/data.ts +++ b/ui/src/workflow/common/data.ts @@ -526,19 +526,19 @@ export const menuNodes = [ list: [ aiChatNode, intentNode, - questionNode, imageGenerateNode, imageUnderstandNode, textToSpeechNode, speechToTextNode, textToVideoNode, imageToVideoNode, + questionNode, ], }, { label: t('views.knowledge.title'), list: [searchKnowledgeNode, rerankerNode] }, { label: t('views.applicationWorkflow.nodes.classify.businessLogic'), - list: [loopNode, conditionNode, formNode, variableAssignNode, replyNode], + list: [conditionNode, formNode, variableAssignNode, replyNode, loopNode], }, { label: t('views.applicationWorkflow.nodes.classify.other'), @@ -563,7 +563,7 @@ export const applicationLoopMenuNodes = [ { label: t('views.knowledge.title'), list: [searchKnowledgeNode, rerankerNode] }, { label: t('views.applicationWorkflow.nodes.classify.businessLogic'), - list: [loopBreakNode, loopContinueNode, conditionNode, formNode, variableAssignNode, replyNode], + list: [conditionNode, formNode, variableAssignNode, replyNode, loopContinueNode, loopBreakNode], }, { label: t('views.applicationWorkflow.nodes.classify.other'), diff --git a/ui/src/workflow/icons/image-generate-node-icon.vue b/ui/src/workflow/icons/image-generate-node-icon.vue index aceb24856..791dc3571 100644 --- a/ui/src/workflow/icons/image-generate-node-icon.vue +++ b/ui/src/workflow/icons/image-generate-node-icon.vue @@ -1,5 +1,5 @@ diff --git a/ui/src/workflow/icons/image-understand-node-icon.vue b/ui/src/workflow/icons/image-understand-node-icon.vue index 26d318f8a..ea172787d 100644 --- a/ui/src/workflow/icons/image-understand-node-icon.vue +++ b/ui/src/workflow/icons/image-understand-node-icon.vue @@ -1,5 +1,5 @@ diff --git a/ui/src/workflow/icons/speech-to-text-node-icon.vue b/ui/src/workflow/icons/speech-to-text-node-icon.vue index dfaaad739..a747bae2b 100644 --- a/ui/src/workflow/icons/speech-to-text-node-icon.vue +++ b/ui/src/workflow/icons/speech-to-text-node-icon.vue @@ -1,6 +1,6 @@ diff --git a/ui/src/workflow/icons/text-to-speech-node-icon.vue b/ui/src/workflow/icons/text-to-speech-node-icon.vue index d52c192d4..42be2028f 100644 --- a/ui/src/workflow/icons/text-to-speech-node-icon.vue +++ b/ui/src/workflow/icons/text-to-speech-node-icon.vue @@ -1,6 +1,6 @@