Activity: one stream at a time, none while hidden; the header by the chat's width
The events stream is held while it opens, so a reconnect and the window showing again cannot open two; while the window is hidden in the tray it is not reopened (the server polls for each), and showing the window opens it again. The Thinking switch says 'Think before answering' in the header too: 'Thinking' is the catalogues' word for a reply in progress. The chat's header restacks by the chat column's own width (a container query at --bp-narrow), so a chat beside the activity panel keeps its title. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
4 files changed
+35
-9
No files matched your search
+1
-2
@@ -165,9 +165,8 @@ export function effortControl({ model, value, onChange, id, compact }) {
|
||||
"label",
|
||||
{ class: `toggle${compact ? " toggle--compact" : ""}`, title: t("Think before answering") },
|
||||
box,
|
||||
h("span", { class: "toggle__label", text: compact ? t("Thinking") : t("Think before answering") }),
|
||||
h("span", { class: "toggle__label", text: t("Think before answering") }),
|
||||
)
|
||||
if (compact) box.setAttribute("aria-label", t("Think before answering"))
|
||||
box.addEventListener("change", () => {
|
||||
current = box.checked ? on : "off"
|
||||
onChange?.(current)
|
||||
|
||||
Reference in new issue
Block a user