Fix streaming UX: hide stop button during citation generation

↗ view on GitHub · Markus · 2026-05-08 · 3f95ec9d

When visible text finishes but the invisible <CITATIONS> block is still
generating, the stop button now switches to the send arrow so the user
can't accidentally cancel and lose citations. The streaming indicator on
the last message also stops during this phase.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Repository marklok/danishmike
Author Markus <markusklok@gmail.com>
Authored
Parents 90a57483
Stats 4 files changed , +17 , -7
Part of Danish law & EUR-Lex retrieval with inline citations

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-3f95ec9d.md from inside the repo you want the change in.

⬇ Download capture-commit-3f95ec9d.md