From b54fd7a24a937366505e4bac23d81ef153321106 Mon Sep 17 00:00:00 2001 From: matevip Date: Sun, 10 May 2026 08:27:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20channel=20binding=20agent=20dropdown?= =?UTF-8?q?=20=E2=80=94=20render=20pi:*=20icons=20+=20=E5=91=98=E5=B7=A5?= =?UTF-8?q?=20wording?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/channels/ChannelEditModal.vue | 141 ++++++++++++++++- .../channels/ChannelOnboardingWizard.vue | 145 +++++++++++++++++- mateclaw-ui/src/i18n/locales/zh-CN.ts | 12 +- 3 files changed, 278 insertions(+), 20 deletions(-) diff --git a/mateclaw-ui/src/components/channels/ChannelEditModal.vue b/mateclaw-ui/src/components/channels/ChannelEditModal.vue index 03b24d54..915cbd2c 100644 --- a/mateclaw-ui/src/components/channels/ChannelEditModal.vue +++ b/mateclaw-ui/src/components/channels/ChannelEditModal.vue @@ -39,12 +39,58 @@
- + +
+ + +
+
+ +
+
+ + + + {{ a.name }} + + + +
+
+ {{ t('chat.loadingAgents') }} +
+
+
+
@@ -441,7 +487,8 @@ import { useWeixinQrcodePoll } from '@/composables/channels/useWeixinQrcodePoll' import { useWecomBotAuth } from '@/composables/channels/useWecomBotAuth' import { useFeishuAppRegister } from '@/composables/channels/useFeishuAppRegister' import { useDingTalkAppRegister } from '@/composables/channels/useDingTalkAppRegister' -import { plainTextIcon } from '@/composables/usePixelarticons' +import SkillIcon from '@/components/common/SkillIcon.vue' +import { agentIconColor } from '@/utils/agentIconColor' interface Props { modelValue: boolean @@ -491,6 +538,20 @@ const showAdvanced = ref(false) const accessControl = ref(defaultAccessControl()) const renderConfig = ref(defaultRenderConfig()) +// ========== Custom agent dropdown ========== +// Native