From f705536fb12de8245145731dac183bfcab8a7448 Mon Sep 17 00:00:00 2001 From: oudecheng <13802883547@139.com> Date: Sat, 15 Aug 2026 08:38:12 +0800 Subject: [PATCH] =?UTF-8?q?feat(web):=20=E9=80=9A=E9=81=93/=E4=BC=9A?= =?UTF-8?q?=E8=AF=9D=E5=88=87=E6=8D=A2=E7=A7=BB=E8=87=B3=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E9=A1=B5=20ConnectionTab=EF=BC=8C=E4=BF=AE=E5=A4=8D=E9=80=9A?= =?UTF-8?q?=E9=81=93=E5=A4=B1=E6=95=88=E5=9B=9E=E9=80=80=EF=BC=9B=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E7=8A=B6=E6=80=81=E4=B8=8A=E7=A7=BB=20Logo=20?= =?UTF-8?q?=E8=A1=8C=E5=B9=B6=E6=94=AF=E6=8C=81=E7=AA=84=E4=BE=A7=E6=A0=8F?= =?UTF-8?q?=20compact=20=E9=99=8D=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/App.tsx | 26 +++----- web/src/components/Settings/ConfigPage.tsx | 25 +++++++- .../Settings/tabs/ConnectionTab.tsx | 63 ++++++++++++++++++- web/src/components/Settings/types.ts | 8 +++ web/src/hooks/useChat.ts | 20 +++++- 5 files changed, 118 insertions(+), 24 deletions(-) diff --git a/web/src/App.tsx b/web/src/App.tsx index 33148cc..a4bd73b 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -28,8 +28,6 @@ import { } from './components/Settings/SettingsModal'; import { ConfigPage } from './components/Settings/ConfigPage'; import { ConnectionStatus } from './components/ConnectionStatus'; -import { ChannelSelector } from './components/Header/ChannelSelector'; -import { SessionSelector } from './components/Header/SessionSelector'; import { getVersion } from './api/config'; import { useWebSocket } from './hooks/useWebSocket'; import { useChat } from './hooks/useChat'; @@ -719,6 +717,8 @@ function App() { v{appVersion} )} + {/* 窄侧栏时降级为 compact 图标,避免 Logo 行溢出裁剪折叠按钮 */} +