From ec140125f208d5f6e507dfe6b8e9abc7236cb21b Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 10 Nov 2026 16:25:12 +0100 Subject: feat(assistant): a faint picture behind the Assistant tab `[assistant] background` names an image (none by default); the server serves it at /api/bg behind the token, and the tab shows its subject from the right side, desaturated and faded out on every side so no edge shows: opacity .24 while the chat is empty, .07 during a conversation. Tuned on the 1280x800 tablet. Co-Authored-By: Claude Opus 5.5 --- static/modules/assistant.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'static/modules/assistant.js') diff --git a/static/modules/assistant.js b/static/modules/assistant.js index 99df15b..257fb2e 100644 --- a/static/modules/assistant.js +++ b/static/modules/assistant.js @@ -316,6 +316,8 @@ export default { off._offline = null; el._busy = !!st.pending || st.state !== "idle"; + // The backdrop shows more while the chat is empty. + el.querySelector(".assistant").classList.toggle("idle", !st.turns.length && !st.pending); const model = el.querySelector(".as-model"); const cloud = st.models.some((m) => m.cloud && m.id === st.wanted); model.querySelector("i").textContent = cloud ? G.cloud : ""; -- cgit v1.2.3