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.
This commit is contained in:
Tyler Yust
2026-02-01 15:08:58 -08:00
parent 3367b2aa27
commit f8575c401c
3 changed files with 6 additions and 2 deletions

View File

@@ -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 {

View File

@@ -24,7 +24,7 @@ type ChatHost = {
refreshSessionsAfterChat: Set<string>;
};
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);

View File

@@ -132,7 +132,7 @@ export function renderApp(state: AppViewState) {
</button>
<div class="brand">
<div class="brand-logo">
<img src="https://mintcdn.com/clawhub/4rYvG-uuZrMK_URE/assets/pixel-lobster.svg?fit=max&auto=format&n=4rYvG-uuZrMK_URE&q=85&s=da2032e9eac3b5d9bfe7eb96ca6a8a26" alt="OpenClaw" />
<img src="/favicon.svg" alt="OpenClaw" />
</div>
<div class="brand-text">
<div class="brand-title">OPENCLAW</div>