From f8575c401cc0577f905b9efa320bbd50fff1ac2e Mon Sep 17 00:00:00 2001 From: Tyler Yust Date: Sun, 1 Feb 2026 15:08:58 -0800 Subject: [PATCH] feat: update chat layout and session management - Added max-width to chat controls and session select for better layout. - Increased CHAT_SESSIONS_ACTIVE_MINUTES from 10 to 120 for extended session duration. - Changed brand logo source to a local favicon for improved asset management. --- ui/src/styles/chat/layout.css | 4 ++++ ui/src/ui/app-chat.ts | 2 +- ui/src/ui/app-render.ts | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/src/styles/chat/layout.css b/ui/src/styles/chat/layout.css index faee10f5e3..62aede8ff3 100644 --- a/ui/src/styles/chat/layout.css +++ b/ui/src/styles/chat/layout.css @@ -295,6 +295,7 @@ .chat-controls__session { min-width: 140px; + max-width: 420px; } .chat-controls__thinking { @@ -361,6 +362,9 @@ .chat-controls__session select { padding: 6px 10px; font-size: 13px; + max-width: 420px; + overflow: hidden; + text-overflow: ellipsis; } .chat-controls__thinking { diff --git a/ui/src/ui/app-chat.ts b/ui/src/ui/app-chat.ts index cd2c8e8e06..030b714679 100644 --- a/ui/src/ui/app-chat.ts +++ b/ui/src/ui/app-chat.ts @@ -24,7 +24,7 @@ type ChatHost = { refreshSessionsAfterChat: Set; }; -export const CHAT_SESSIONS_ACTIVE_MINUTES = 10; +export const CHAT_SESSIONS_ACTIVE_MINUTES = 120; export function isChatBusy(host: ChatHost) { return host.chatSending || Boolean(host.chatRunId); diff --git a/ui/src/ui/app-render.ts b/ui/src/ui/app-render.ts index dc52fd84b7..31abb5881c 100644 --- a/ui/src/ui/app-render.ts +++ b/ui/src/ui/app-render.ts @@ -132,7 +132,7 @@ export function renderApp(state: AppViewState) {
OPENCLAW