diff --git a/dashboard/src/components/chat/Chat.vue b/dashboard/src/components/chat/Chat.vue index c9261bf61..be27148d6 100644 --- a/dashboard/src/components/chat/Chat.vue +++ b/dashboard/src/components/chat/Chat.vue @@ -26,10 +26,11 @@ @createProject="showCreateProjectDialog" @editProject="showEditProjectDialog" @deleteProject="handleDeleteProject" + @openMultiChatMode="openMultiChatDialog" /> -
+
@@ -146,6 +147,27 @@ />
+ + +
@@ -184,11 +206,19 @@ :project="editingProject" @save="handleSaveProject" /> + + + + + diff --git a/dashboard/src/components/chat/SessionSelectDialog.vue b/dashboard/src/components/chat/SessionSelectDialog.vue new file mode 100644 index 000000000..b8fde1cce --- /dev/null +++ b/dashboard/src/components/chat/SessionSelectDialog.vue @@ -0,0 +1,150 @@ + + + + + diff --git a/dashboard/src/i18n/locales/en-US/features/chat.json b/dashboard/src/i18n/locales/en-US/features/chat.json index d39f16ec2..5a21c7462 100644 --- a/dashboard/src/i18n/locales/en-US/features/chat.json +++ b/dashboard/src/i18n/locales/en-US/features/chat.json @@ -89,6 +89,12 @@ "noSessions": "No conversations in this project", "confirmDelete": "Are you sure you want to delete project \"{title}\"? Conversations in this project will not be deleted." }, + "multiChat": { + "multiMode": "Multi-Chat Mode", + "selectSessions": "Select Conversations", + "selectTip": "Select at least 2 conversations to enter multi-chat mode", + "enterMultiMode": "Enter Multi-Chat Mode" + }, "time": { "today": "Today", "yesterday": "Yesterday" diff --git a/dashboard/src/i18n/locales/zh-CN/features/chat.json b/dashboard/src/i18n/locales/zh-CN/features/chat.json index f4f431bc6..6c896f017 100644 --- a/dashboard/src/i18n/locales/zh-CN/features/chat.json +++ b/dashboard/src/i18n/locales/zh-CN/features/chat.json @@ -91,6 +91,12 @@ "noSessions": "该项目暂无对话", "confirmDelete": "确定要删除项目 \"{title}\" 吗?项目中的对话不会被删除。" }, + "multiChat": { + "multiMode": "多对话模式", + "selectSessions": "选择对话", + "selectTip": "至少选择2个对话进入多对话模式", + "enterMultiMode": "进入多对话模式" + }, "time": { "today": "今天", "yesterday": "昨天"