From 25dce05cbb52b92018eb051b458a1a0885319188 Mon Sep 17 00:00:00 2001
From: Soulter <37870767+Soulter@users.noreply.github.com>
Date: Tue, 23 Sep 2025 10:19:26 +0800
Subject: [PATCH] refactor: improve webchat UI (#2853)
---
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 | 2055 +----------------
dashboard/src/views/ConversationPage.vue | 270 +--
dashboard/src/views/PersonaPage.vue | 14 +-
.../dashboards/default/DefaultDashboard.vue | 26 +-
8 files changed, 2200 insertions(+), 2331 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 00000000..651cf83e
--- /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 }}
-