Skip to content

Commit d7ee6b7

Browse files
fix: change workflow icon
1 parent 2e69698 commit d7ee6b7

File tree

7 files changed

+20
-22
lines changed

7 files changed

+20
-22
lines changed
Lines changed: 6 additions & 7 deletions
Loading
Lines changed: 5 additions & 6 deletions
Loading

ui/src/workflow/common/data.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -526,19 +526,19 @@ export const menuNodes = [
526526
list: [
527527
aiChatNode,
528528
intentNode,
529-
questionNode,
530529
imageGenerateNode,
531530
imageUnderstandNode,
532531
textToSpeechNode,
533532
speechToTextNode,
534533
textToVideoNode,
535534
imageToVideoNode,
535+
questionNode,
536536
],
537537
},
538538
{ label: t('views.knowledge.title'), list: [searchKnowledgeNode, rerankerNode] },
539539
{
540540
label: t('views.applicationWorkflow.nodes.classify.businessLogic'),
541-
list: [loopNode, conditionNode, formNode, variableAssignNode, replyNode],
541+
list: [conditionNode, formNode, variableAssignNode, replyNode, loopNode],
542542
},
543543
{
544544
label: t('views.applicationWorkflow.nodes.classify.other'),
@@ -563,7 +563,7 @@ export const applicationLoopMenuNodes = [
563563
{ label: t('views.knowledge.title'), list: [searchKnowledgeNode, rerankerNode] },
564564
{
565565
label: t('views.applicationWorkflow.nodes.classify.businessLogic'),
566-
list: [loopBreakNode, loopContinueNode, conditionNode, formNode, variableAssignNode, replyNode],
566+
list: [conditionNode, formNode, variableAssignNode, replyNode, loopContinueNode, loopBreakNode],
567567
},
568568
{
569569
label: t('views.applicationWorkflow.nodes.classify.other'),

ui/src/workflow/icons/image-generate-node-icon.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<el-avatar shape="square" style="background: #FF8800;">
2+
<el-avatar shape="square" style="background: #14c0ff">
33
<img src="@/assets/workflow/icon_text-image.svg" style="width: 65%" alt="" />
44
</el-avatar>
55
</template>

ui/src/workflow/icons/image-understand-node-icon.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<el-avatar shape="square" style="background: #14C0FF;">
2+
<el-avatar shape="square" style="background: #14c0ff">
33
<img src="@/assets/workflow/icon_image.svg" style="width: 65%" alt="" />
44
</el-avatar>
55
</template>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
2-
<el-avatar shape="square" style="background: #ff8800">
3-
<img src="@/assets/workflow/icon_speech_to_text.svg" style="width: 100%" alt="" />
2+
<el-avatar shape="square" style="background: #FF8800">
3+
<img src="@/assets/workflow/icon_speech_to_text.svg" style="width: 70%" alt="" />
44
</el-avatar>
55
</template>
66
<script setup lang="ts"></script>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
2-
<el-avatar shape="square" style="background: #14c0ff">
3-
<img src="@/assets/workflow/icon_text_to_speech.svg" style="width: 100%" alt="" />
2+
<el-avatar shape="square" style="background: #ff8800">
3+
<img src="@/assets/workflow/icon_text_to_speech.svg" style="width: 70%" alt="" />
44
</el-avatar>
55
</template>
66
<script setup lang="ts"></script>

0 commit comments

Comments
 (0)