From 9f235a34e227712c5fc234c15ad03505058d6904 Mon Sep 17 00:00:00 2001 From: YokiiroBW Date: Mon, 20 Jul 2026 12:30:12 +0800 Subject: [PATCH] feat(chat): add main layout focus modes --- src/App.tsx | 51 +- src/features/chat/ChatPanel.tsx | 55 +- src/styles.css | 1307 ++++++++++++++++--------------- 3 files changed, 750 insertions(+), 663 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index e18c35c..bc3bd6e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -20,6 +20,9 @@ export function App() { const isBubbleView = view === "bubble"; const [status, setStatus] = useState(initialStatus); const [error, setError] = useState(null); + const [chatLayout, setChatLayout] = useState< + "single" | "focus-companion" | "focus-operations" + >("single"); const refreshStatus = useCallback(async () => { try { @@ -84,7 +87,53 @@ export function App() { 打开快速聊天 - +
+
+ ???? + + + +
+ +