From d3b3a0833e2dd60ef26dfe5938a7ef3090c3347d Mon Sep 17 00:00:00 2001 From: Jack Date: Sat, 24 Oct 2026 22:45:16 +0800 Subject: [PATCH] show assistant replies below avatar and profile name --- .../2026-10-24-assistant-avatar-layout.md | 11 +++++ .../components/hermes/chat/MessageItem.vue | 35 ++++++++++++---- tests/e2e/chat-rendering-smoke.spec.ts | 42 +++++++++++++++++++ 3 files changed, 81 insertions(+), 7 deletions(-) create mode 100644 docs/chat-chain-changes/2026-10-24-assistant-avatar-layout.md diff --git a/docs/chat-chain-changes/2026-10-24-assistant-avatar-layout.md b/docs/chat-chain-changes/2026-10-24-assistant-avatar-layout.md new file mode 100644 index 0000000..4648ffd --- /dev/null +++ b/docs/chat-chain-changes/2026-10-24-assistant-avatar-layout.md @@ -0,0 +1,11 @@ +--- +date: 2026-10-24 +pr: pending +feature: Assistant reply layout +impact: Assistant reply content starts on a new row below an avatar/profile-name header with aligned left edges on desktop and mobile. Chat events and data are unchanged. +--- + +The assistant message body now shows its avatar and profile name on one row, +with reply content below that header. Long names truncate with a full-name tooltip. Existing +message width limits, Markdown rendering and actions are retained. Browser checks +cover vertical placement, left alignment and overflow at 1440, 900 and 390 pixels. diff --git a/packages/client/src/components/hermes/chat/MessageItem.vue b/packages/client/src/components/hermes/chat/MessageItem.vue index 809afb5..bf55fff 100644 --- a/packages/client/src/components/hermes/chat/MessageItem.vue +++ b/packages/client/src/components/hermes/chat/MessageItem.vue @@ -1012,13 +1012,15 @@ onBeforeUnmount(() => {