From 3947f99f7693611fd247be8a20bfa61ab01cb198 Mon Sep 17 00:00:00 2001
From: Soulter <905617992@qq.com>
Date: Tue, 23 Sep 2025 10:17:39 +0800
Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=8F=90=E9=AB=98=20WebChat=20?=
=?UTF-8?q?=E5=A4=8D=E7=94=A8=E6=80=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
dashboard/src/components/chat/Chat.vue | 1347 +++++++++++
dashboard/src/components/chat/MessageList.vue | 775 +++++++
.../src/components/shared/UiParentCard.vue | 20 -
dashboard/src/views/ChatBoxPage.vue | 24 +-
dashboard/src/views/ChatPage.vue | 2053 +----------------
dashboard/src/views/ConversationPage.vue | 270 +--
dashboard/src/views/PersonaPage.vue | 14 +-
.../dashboards/default/DefaultDashboard.vue | 26 +-
8 files changed, 2199 insertions(+), 2330 deletions(-)
create mode 100644 dashboard/src/components/chat/Chat.vue
create mode 100644 dashboard/src/components/chat/MessageList.vue
delete mode 100644 dashboard/src/components/shared/UiParentCard.vue
diff --git a/dashboard/src/components/chat/Chat.vue b/dashboard/src/components/chat/Chat.vue
new file mode 100644
index 000000000..651cf83ee
--- /dev/null
+++ b/dashboard/src/components/chat/Chat.vue
@@ -0,0 +1,1347 @@
+
+
+ {{ getCurrentConversation.title || tm('conversation.newConversation') }}
+ {{ formatDate(getCurrentConversation.updated_at) }}
+ help
+ {{ tm('shortcuts.help') }} 😊
+ Ctrl + B
+ {{ tm('shortcuts.voiceRecord') }} 🎤
+ Ctrl + V
+ {{ tm('shortcuts.pasteImage') }} 🏞️
+
+
{{ tm('status.emptyContent') }}
- - + +
{{ viewingPersona.system_prompt }}
-