From 9ca2287e506be74a8a16bdcaba32a72a68fb5878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Padez?= Date: Wed, 19 Aug 2026 23:19:09 +0000 Subject: [PATCH] bell: move it left, and let its colour say what it will do MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the bell sat on the right between the connection dot and the end-session plug, which put a SETTING in among the STATUS. everything on the right reports what the chat is doing now; the bell says what it will do later. it moves to the left of the header, on its own. and it is coloured by preference, so the setting is readable without opening the menu: green for every end of turn, amber for input-needed, muted for none. green is `green-500` rather than the `text-success` token deliberately — it has to be the SAME green as the connection dot a few elements away, and a semantic token that drifted from it would leave two greens in one header meaning two different things. amber is `text-warning` (#f59e0b), which is the conditional setting: it will speak, but only sometimes. `none` keeps the struck-through bell as well as the muted colour. colour alone is not a state anyone should have to learn, and it is the one setting where being wrong is silent. --- .../src/apps/ChatHistory/ChatDetailPanel.tsx | 6 +++++- .../src/apps/ChatHistory/NotifyMenu.tsx | 19 ++++++++++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/src/workspaces/officerdev/src/apps/ChatHistory/ChatDetailPanel.tsx b/src/workspaces/officerdev/src/apps/ChatHistory/ChatDetailPanel.tsx index 2eefff85..33e369ec 100644 --- a/src/workspaces/officerdev/src/apps/ChatHistory/ChatDetailPanel.tsx +++ b/src/workspaces/officerdev/src/apps/ChatHistory/ChatDetailPanel.tsx @@ -108,6 +108,11 @@ function DetailBar({ return (
+ {/* Left, away from the connection dot and the end-session plug. It is a setting, not a status: it + says what this chat WILL do, while everything on the right reports what it is doing now. */} +
+ {sessionId && } +
)} {!isConnected ? 'Disconnected' : isGenerating ? 'Working...' : ''} - {sessionId && } {isConnected && onDisconnect && (