From 93cdba0cbea60dcef745959b28d1b6d80c602e22 Mon Sep 17 00:00:00 2001 From: cc500 <2014434568@qq.com> Date: Tue, 17 Jun 2025 17:44:56 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E4=BF=9D=E8=AF=81=E8=8B=B1=E6=96=87?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/lang/en.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n/lang/en.ts b/src/i18n/lang/en.ts index 899c40c..df16dca 100644 --- a/src/i18n/lang/en.ts +++ b/src/i18n/lang/en.ts @@ -199,7 +199,7 @@ export default { openEuler_expertise_describe: 'Intelligent Diagnostics', beyond_openEuler: 'Tuning Assistant', beyond_openEuler_describe: 'Intelligent Tuning', - openEuler_use_cases: 'Container Stack Assistant', + openEuler_use_cases: 'Container Stack', openEuler_use_cases_describe: 'AI Container Stack assistant', question: 'Recommendation qustions', addQuestion: 'Add question', -- Gitee From bce65a8083e91990a6bc93f74dfcb8aa02c1c55f Mon Sep 17 00:00:00 2001 From: cc500 <2014434568@qq.com> Date: Wed, 2 Jul 2025 14:41:01 +0800 Subject: [PATCH 2/8] =?UTF-8?q?fixed=EF=BC=9A=E7=BC=96=E8=BE=91=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E9=A1=B5=E9=9D=A2=E9=83=A8=E5=88=86=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/lang/zh-cn.ts | 4 ++-- src/views/createapp/index.vue | 2 +- src/views/styles/createApp.scss | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/i18n/lang/zh-cn.ts b/src/i18n/lang/zh-cn.ts index 56c1277..7d236a2 100644 --- a/src/i18n/lang/zh-cn.ts +++ b/src/i18n/lang/zh-cn.ts @@ -149,8 +149,8 @@ export default { create_app: '创建应用', app_published: '已发布', app_config: '界面配置', - agent_app: '创建智能体应用', - mcp_app: '创建工作流应用', + agent_app: '创建工作流应用', + mcp_app: '创建智能体应用', confirm_delete_app: '确定删除此应用吗?', create_or_edit_workflow_first: '请先创建/编辑工作流', ui_preview: '界面预览', diff --git a/src/views/createapp/index.vue b/src/views/createapp/index.vue index b1199af..398149f 100644 --- a/src/views/createapp/index.vue +++ b/src/views/createapp/index.vue @@ -200,7 +200,7 @@ function onDebugSuccess(status: boolean) { / - {{ appType === 'agent' ? $t('app.agent_app') : $t('app.mcp_app') }} + {{ appType === 'flow' ? $t('app.agent_app') : $t('app.mcp_app') }}
Date: Wed, 2 Jul 2025 14:57:40 +0800 Subject: [PATCH 3/8] =?UTF-8?q?fixed=EF=BC=9A=E4=B8=8A=E4=BC=A0=E5=A4=9A?= =?UTF-8?q?=E6=AC=A1=20mcp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/api/components/McpDrawer.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/views/api/components/McpDrawer.vue b/src/views/api/components/McpDrawer.vue index ad67e20..a44eff4 100644 --- a/src/views/api/components/McpDrawer.vue +++ b/src/views/api/components/McpDrawer.vue @@ -5,6 +5,7 @@ import MonacoEditor from './MonacoEditor.vue'; import defaultIcon from '@/assets/svgs/app_upload.svg'; import { api } from '@/apis'; import i18n from 'src/i18n'; +import CustomLoading from '../../customLoading/index.vue'; interface McpDetail { icon: string; @@ -43,6 +44,8 @@ const URL_TEMPLATE = { disabled: false, }; +const loading = ref(false); + const mcpConfigTemplate = { stdio: COMMAND_TEMPLATE, sse: URL_TEMPLATE, @@ -137,6 +140,8 @@ async function onConfirm(formEl: FormInstance | undefined) { const valid = await formEl.validate(); if (!valid) return; + loading.value = true; + try { const [, serviceRes] = await api.createOrUpdateMcpService({ serviceId: props.serviceId || undefined, @@ -165,12 +170,14 @@ async function onConfirm(formEl: FormInstance | undefined) { type: 'error', }); // 不阻断流程,仅提示 + loading.value = false; } } formEl.resetFields(); jsonEditorRef.value.setJsonValue('{\n \n}'); emits('success'); + loading.value = false; } catch (error) { console.error('Create or update MCP service failed:', error); @@ -178,7 +185,9 @@ async function onConfirm(formEl: FormInstance | undefined) { message: 'Failed to create/update service!', type: 'error', }); + loading.value = false; } + loading.value = false; } async function getMcpServiceDetail(serviceId: string) { @@ -231,6 +240,7 @@ watch( :model-value="visible" @close="emits('update:visible', false)" > +
Date: Thu, 3 Jul 2025 15:12:18 +0800 Subject: [PATCH 4/8] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=EF=BC=9Atitlebar=20=E9=80=80=E5=87=BA=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dialogue/components/TitleBar.vue | 8 ++++++-- src/views/dialogue/dialogueView.vue | 4 ++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/views/dialogue/components/TitleBar.vue b/src/views/dialogue/components/TitleBar.vue index 5072074..7fe4ea7 100644 --- a/src/views/dialogue/components/TitleBar.vue +++ b/src/views/dialogue/components/TitleBar.vue @@ -113,7 +113,7 @@ const headerStyles = computed(() => {
- + @@ -164,8 +164,12 @@ const headerStyles = computed(() => { height: 48px; border-radius: 50%; cursor: pointer; + //待替换icon资源 &:hover { - // box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + background-image: url('@/assets/svgs/user.svg'); + } + &:active { + background-image: url('@/assets/svgs/user.svg'); } } .header-right { diff --git a/src/views/dialogue/dialogueView.vue b/src/views/dialogue/dialogueView.vue index ab00e9d..ba50efe 100644 --- a/src/views/dialogue/dialogueView.vue +++ b/src/views/dialogue/dialogueView.vue @@ -540,6 +540,7 @@ watch( .el-popover.popper-class { padding: 5px 0 !important; border-radius: 8px; + background-color: var(--o-bg-color-base) !important; .exit-button { width: 100%; border-radius: 0; @@ -562,6 +563,9 @@ watch( .divider { border-bottom: 1px solid var(--o-text-color-tertiary); } + .el-popper__arrow{ + display: none; + } } .language { -- Gitee From 6c930c2d948d289b4816a3d6acc970b3aa4ffdf1 Mon Sep 17 00:00:00 2001 From: cc500 <2014434568@qq.com> Date: Thu, 3 Jul 2025 15:33:04 +0800 Subject: [PATCH 5/8] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=EF=BC=9A=E5=B7=A5=E4=BD=9C=E6=B5=81=20border=E9=A2=9C=E8=89=B2?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/dialoguePanel/DialogueFlow.vue | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/components/dialoguePanel/DialogueFlow.vue b/src/components/dialoguePanel/DialogueFlow.vue index d0e875d..f739356 100644 --- a/src/components/dialoguePanel/DialogueFlow.vue +++ b/src/components/dialoguePanel/DialogueFlow.vue @@ -264,22 +264,25 @@ watch( } .border-red { - border: 1px solid red; + border: 1px solid #F7C1C1; } .border-green { - border: 1px solid green; + border: 1px solid #C2E7C7; } .border-blue { - border: 1px solid rgba(109, 117, 250, 0.2); + border: 1px solid transparent; + border-radius: 4px; + background: + linear-gradient(white, white) padding-box, + linear-gradient(180deg, #6C77FA, #6DB9F9) border-box; } .demo-collapse { - margin-bottom: 24px; + margin-bottom: 16px; width: 100%; height: auto; - border-radius: 0px 0px 4px 4px; - border: 1px solid var(--o-border-color-base); + border-radius: 4px !important; :deep(.el-collapse-item__wragop) { margin-top: 12px !important; margin-bottom: 2px !important; -- Gitee From 27d65d7619747191439675faa9f6dbf6d5f9ced4 Mon Sep 17 00:00:00 2001 From: cc500 <2014434568@qq.com> Date: Thu, 3 Jul 2025 15:40:13 +0800 Subject: [PATCH 6/8] =?UTF-8?q?=E5=B1=95=E7=A4=BA=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=EF=BC=9A=E6=99=BA=E8=83=BD=E4=BD=93=E5=BA=94=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E5=A4=B4=E5=83=8F=E5=B1=95=E7=A4=BA&&=E7=A9=BA=E7=99=BD?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E8=AF=AF=E5=8F=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/createapp/components/DebugApp.vue | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/views/createapp/components/DebugApp.vue b/src/views/createapp/components/DebugApp.vue index 393e614..80e3895 100644 --- a/src/views/createapp/components/DebugApp.vue +++ b/src/views/createapp/components/DebugApp.vue @@ -377,7 +377,7 @@ watch(
-
+
-
+
+ Date: Thu, 3 Jul 2025 15:58:35 +0800 Subject: [PATCH 7/8] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=EF=BC=9AMCP=E5=B1=95=E7=A4=BA=E6=A0=B7=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/element/index.scss | 9 +++++++++ src/views/api/components/McpServiceDetail.vue | 11 ++++++++++- src/views/api/style.scss | 14 ++++++++++++++ src/views/settings/index.vue | 2 +- 4 files changed, 34 insertions(+), 2 deletions(-) diff --git a/src/assets/styles/element/index.scss b/src/assets/styles/element/index.scss index 0fee98a..6e83b4e 100644 --- a/src/assets/styles/element/index.scss +++ b/src/assets/styles/element/index.scss @@ -4,6 +4,15 @@ .el-button { --o-button-color_label: #6395fd; --o-button-color_label_hover: #7aa5ff; + &:hover{ + color: #7aa5ff; + } + &:active{ + color: #6395fd; + } + &:disabled{ + color: #6395fd; + } } .el-message-box__container { display: flex; diff --git a/src/views/api/components/McpServiceDetail.vue b/src/views/api/components/McpServiceDetail.vue index d2bb74f..1c7052c 100644 --- a/src/views/api/components/McpServiceDetail.vue +++ b/src/views/api/components/McpServiceDetail.vue @@ -297,7 +297,7 @@ watch( } :deep(.el-tabs__content) { - padding: 16px 0; + padding: 8px 0; height: 100%; .el-tab-pane { height: 100%; @@ -322,6 +322,7 @@ watch( font-size: 14px; font-weight: 500; line-height: 22px; + margin-bottom: 8px; } &-description { @@ -372,6 +373,14 @@ watch( justify-content: start; flex: 1 0 90%; order: 1; + font-size: 12px; + color: var(--o-text-color-primary); + } + .collapse-icon{ + margin-right: 8px !important; + } + .collapse-icon-active{ + transform: rotate(90deg); } .el-collapse-item__header { background-color: var(--c-collapse-bg); diff --git a/src/views/api/style.scss b/src/views/api/style.scss index 18f9666..97b316b 100644 --- a/src/views/api/style.scss +++ b/src/views/api/style.scss @@ -217,3 +217,17 @@ } } } + +.el-button span { + color: #6395fd; + font-size: 12px; + &:hover { + color: #7aa5ff !important; + } + &:active { + color: #6395fd !important; + } + &:disabled { + color: #6395fd !important; + } +} diff --git a/src/views/settings/index.vue b/src/views/settings/index.vue index d7918c5..7356882 100644 --- a/src/views/settings/index.vue +++ b/src/views/settings/index.vue @@ -71,7 +71,7 @@ const handleClick = (tab: TabsPaneContext, event: Event) => { flex: 1; .el-tabs__content { - padding: 16px 0; + padding: 8px 0; height: 100%; .el-tab-pane { height: 100%; -- Gitee From a6f1dd998b96ecb09974027a397001c9a17d2423 Mon Sep 17 00:00:00 2001 From: cc500 <2014434568@qq.com> Date: Fri, 4 Jul 2025 11:33:38 +0800 Subject: [PATCH 8/8] =?UTF-8?q?=E7=BF=BB=E8=AF=91=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=EF=BC=9Aagent=5Fapp=E9=94=99=E8=AF=AF=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/lang/en.ts | 2 +- src/i18n/lang/zh-cn.ts | 2 +- src/views/createapp/index.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/i18n/lang/en.ts b/src/i18n/lang/en.ts index df16dca..0b3b9b3 100644 --- a/src/i18n/lang/en.ts +++ b/src/i18n/lang/en.ts @@ -150,7 +150,7 @@ export default { create_app: 'Create App', app_published: 'Published', app_config: 'App Config', - agent_app: 'Agent App', + workflow_app: 'WorkFlow App', mcp_app: 'MCP App', confirm_delete_app: 'Are you sure to delete this application?', create_or_edit_workflow_first: 'Please create/edit a workflow first', diff --git a/src/i18n/lang/zh-cn.ts b/src/i18n/lang/zh-cn.ts index 7d236a2..1742a29 100644 --- a/src/i18n/lang/zh-cn.ts +++ b/src/i18n/lang/zh-cn.ts @@ -149,7 +149,7 @@ export default { create_app: '创建应用', app_published: '已发布', app_config: '界面配置', - agent_app: '创建工作流应用', + workflow_app: '创建工作流应用', mcp_app: '创建智能体应用', confirm_delete_app: '确定删除此应用吗?', create_or_edit_workflow_first: '请先创建/编辑工作流', diff --git a/src/views/createapp/index.vue b/src/views/createapp/index.vue index 398149f..f54830c 100644 --- a/src/views/createapp/index.vue +++ b/src/views/createapp/index.vue @@ -200,7 +200,7 @@ function onDebugSuccess(status: boolean) { / - {{ appType === 'flow' ? $t('app.agent_app') : $t('app.mcp_app') }} + {{ appType === 'flow' ? $t('app.workflow_app') : $t('app.mcp_app') }}