From d2cbce2f139f81f21e03d4a30d849d5a1b9ea040 Mon Sep 17 00:00:00 2001 From: ekko <152005280+EKKOLearnAI@users.noreply.github.com> Date: Tue, 19 May 2026 08:25:01 +0800 Subject: [PATCH] Adjust outline user item background (#836) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat:新增大纲功能 * Adjust outline user item background --------- Co-authored-by: chenxusheng --- .../src/components/hermes/chat/ChatPanel.vue | 48 ++- .../hermes/chat/MarkdownRenderer.vue | 23 ++ .../components/hermes/chat/MessageItem.vue | 6 +- .../components/hermes/chat/OutlinePanel.vue | 317 ++++++++++++++++++ packages/client/src/i18n/locales/de.ts | 3 + packages/client/src/i18n/locales/en.ts | 3 + packages/client/src/i18n/locales/es.ts | 3 + packages/client/src/i18n/locales/fr.ts | 3 + packages/client/src/i18n/locales/ja.ts | 3 + packages/client/src/i18n/locales/ko.ts | 3 + packages/client/src/i18n/locales/pt.ts | 3 + packages/client/src/i18n/locales/zh-TW.ts | 3 + packages/client/src/i18n/locales/zh.ts | 3 + .../client/src/views/hermes/HistoryView.vue | 34 +- 14 files changed, 452 insertions(+), 3 deletions(-) create mode 100644 packages/client/src/components/hermes/chat/OutlinePanel.vue diff --git a/packages/client/src/components/hermes/chat/ChatPanel.vue b/packages/client/src/components/hermes/chat/ChatPanel.vue index 697ec74..0e14839 100644 --- a/packages/client/src/components/hermes/chat/ChatPanel.vue +++ b/packages/client/src/components/hermes/chat/ChatPanel.vue @@ -24,6 +24,7 @@ import ConversationMonitorPane from "./ConversationMonitorPane.vue"; import MessageList from "./MessageList.vue"; import SessionListItem from "./SessionListItem.vue"; import DrawerPanel from "./DrawerPanel.vue"; +import OutlinePanel from "./OutlinePanel.vue"; const chatStore = useChatStore(); const appStore = useAppStore(); @@ -33,6 +34,7 @@ const { t } = useI18n(); const showDrawer = ref(false); const drawerActiveTab = ref<"terminal" | "files">("files"); +const showOutline = ref(false); const currentMode = ref<"chat" | "live">("chat"); @@ -988,6 +990,30 @@ async function handleSessionModelCustomSubmit() {