feat: release chat and mindspace UI updates

This commit is contained in:
john
2026-06-27 21:57:21 +08:00
parent c924b2bb77
commit 8264e71f9e
24 changed files with 2042 additions and 209 deletions
+4 -3
View File
@@ -72,6 +72,7 @@ export function ChatView({
}, [sidebarOpen, onSidebarOpen]);
const busy = chatState === 'streaming' || chatState === 'loading' || chatState === 'connecting';
const showHomeWelcome = messages.length === 0;
const handleSelectSession = (sessionId: string) => {
void switchSession(sessionId);
@@ -85,7 +86,7 @@ export function ChatView({
const sessionTitle = session
? getSessionDisplayName(session)
: chatState === 'connecting'
: chatState === 'idle'
? '新对话'
: '连接中…';
@@ -128,8 +129,8 @@ export function ChatView({
onDelete={(sessionId) => void deleteSession(sessionId)}
/>
<div className="app">
<header className="header">
<div className={`app${showHomeWelcome ? ' app-home' : ''}`}>
<header className={`header${showHomeWelcome ? ' header-home' : ''}`}>
<div className="header-left">
<button
type="button"