From 2e79dd122e5664353e02e0d33715ae8c1041a379 Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Sun, 7 Jun 2026 17:14:40 +0900 Subject: feat(chat): restyle thinking — visible bubble, collapse, title swap, persisted open MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thinking renders inside a visible rounded-card bubble (like tool calls), capped to the same max-w-5xl column as assistant text. Uses a DaisyUI checkbox collapse (no arrow/plus icon) with smooth animation. Title reads "Thinking" + loading-dots while the model is actively generating, then flips to "Thoughts" with no dots once done. Open/closed state persists across the generating→completed→sealed transition via stable ordinal keys (per-conversation isolation via {#key} in App). Added optional streaming flag to RenderedChunk (pure selector, only on the accumulating chunk). --- src/app/App.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/app') diff --git a/src/app/App.svelte b/src/app/App.svelte index cc9866e..61b4cb9 100644 --- a/src/app/App.svelte +++ b/src/app/App.svelte @@ -61,7 +61,9 @@
- + {#key store.activeConversationId} + + {/key}
-- cgit v1.2.3