From 29fe4b6e6f4820bd1b5d3bbc8e2970b1022c10c1 Mon Sep 17 00:00:00 2001 From: ViperEkura <3081035982@qq.com> Date: Tue, 21 Apr 2026 18:15:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E4=BC=A0=E9=80=92bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard/src/components/AppHeader.vue | 4 - dashboard/src/components/InlineForm.vue | 142 +++ dashboard/src/components/ListItem.vue | 165 +++ .../src/components/RoomMessageBubble.vue | 146 +++ dashboard/src/views/RoomView.vue | 944 +++++++++++++----- luxx/services/room_ws.py | 29 +- luxx/services/stream_service.py | 1 + 7 files changed, 1197 insertions(+), 234 deletions(-) create mode 100644 dashboard/src/components/InlineForm.vue create mode 100644 dashboard/src/components/ListItem.vue create mode 100644 dashboard/src/components/RoomMessageBubble.vue diff --git a/dashboard/src/components/AppHeader.vue b/dashboard/src/components/AppHeader.vue index 590ddea..b61690e 100644 --- a/dashboard/src/components/AppHeader.vue +++ b/dashboard/src/components/AppHeader.vue @@ -40,10 +40,6 @@ const navItems = [ path: '/tools', icon: `` }, - { - path: '/agents', - icon: `` - }, { path: '/settings', icon: `` diff --git a/dashboard/src/components/InlineForm.vue b/dashboard/src/components/InlineForm.vue new file mode 100644 index 0000000..91d1662 --- /dev/null +++ b/dashboard/src/components/InlineForm.vue @@ -0,0 +1,142 @@ + + + + {{ title }} + × + + + + + 取消 + {{ submitText }} + + + + + + + + diff --git a/dashboard/src/components/ListItem.vue b/dashboard/src/components/ListItem.vue new file mode 100644 index 0000000..9b24061 --- /dev/null +++ b/dashboard/src/components/ListItem.vue @@ -0,0 +1,165 @@ + + + + + {{ avatar }} + + + {{ icon }} + + + + + {{ title }} + {{ subtitle }} + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard/src/components/RoomMessageBubble.vue b/dashboard/src/components/RoomMessageBubble.vue new file mode 100644 index 0000000..8a9c924 --- /dev/null +++ b/dashboard/src/components/RoomMessageBubble.vue @@ -0,0 +1,146 @@ + + + + {{ message.sender_name?.charAt(0).toUpperCase() }} + + + + + + + + + + + + + + diff --git a/dashboard/src/views/RoomView.vue b/dashboard/src/views/RoomView.vue index 97eb083..194dafb 100644 --- a/dashboard/src/views/RoomView.vue +++ b/dashboard/src/views/RoomView.vue @@ -1,29 +1,113 @@ - -