summaryrefslogtreecommitdiffhomepage
path: root/.rules/changelog/2026-03/24/11.md
diff options
context:
space:
mode:
Diffstat (limited to '.rules/changelog/2026-03/24/11.md')
-rw-r--r--.rules/changelog/2026-03/24/11.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/.rules/changelog/2026-03/24/11.md b/.rules/changelog/2026-03/24/11.md
new file mode 100644
index 0000000..f7e2fef
--- /dev/null
+++ b/.rules/changelog/2026-03/24/11.md
@@ -0,0 +1,10 @@
+# Changelog — 2026-03-24 #11
+
+## Fix: Remove empty streaming bubble before approval prompts
+
+### Problem
+When the AI called a tool requiring user approval (e.g., `delete_file`), an empty assistant streaming bubble with the 3-dots loading indicator appeared above the approval prompt. This was confusing because the approval prompt is the active UI element and the empty bubble served no purpose.
+
+### Changes
+
+- **`src/chat-view.ts`** — Updated the `onApprovalRequest` callback in `handleSend()` to remove the current streaming bubble from the DOM (and null out `currentBubble`) when the bubble is empty, before showing the approval prompt. The next loop iteration creates a fresh bubble for the model's subsequent response.