From b4f809d8b5a9b2b378fc534c2def1ebc35cba1da Mon Sep 17 00:00:00 2001 From: ekko Date: Sun, 19 Apr 2026 10:46:33 +0800 Subject: [PATCH] fix: improve chat scroll behavior and dark mode readability MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Smart auto-scroll: only follow SSE stream when user is near bottom (200px threshold), scroll once on send/switch session - Brighten dark mode text colors (primary #e0→#f0, secondary #a0→#c0, muted #66→#88) - Fix tool-call panel height to match thinking video (120px→213px) - Fix tool-call item background invisible in dark mode - Fix gateway start button using hardcoded dark color Co-Authored-By: Claude Opus 4.6 --- .gitignore | 2 +- .../components/hermes/chat/MessageList.vue | 41 ++++++++++++++++--- packages/client/src/styles/variables.scss | 12 +++--- .../client/src/views/hermes/GatewaysView.vue | 3 +- 4 files changed, 43 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index e617e9c..f225f24 100644 --- a/.gitignore +++ b/.gitignore @@ -19,7 +19,7 @@ packages/server/data/ packages/server/node_modules/ .hermes-web-ui/ hermes_data/ - +hermes-dependencies.md # Editor directories and files .vscode/* !.vscode/extensions.json diff --git a/packages/client/src/components/hermes/chat/MessageList.vue b/packages/client/src/components/hermes/chat/MessageList.vue index 03a177e..49959ac 100644 --- a/packages/client/src/components/hermes/chat/MessageList.vue +++ b/packages/client/src/components/hermes/chat/MessageList.vue @@ -1,5 +1,5 @@