diff options
| author | Adam Malczewski <[email protected]> | 2026-03-24 16:02:13 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-03-24 16:02:13 +0900 |
| commit | d36edfb6b34c05903281ece6d47fc7a1de2bd4f2 (patch) | |
| tree | 1e2c1764ca86cae2a5eae7efcc31bb96550da051 /.rules/changelog/2026-03/24/11.md | |
| parent | cab2ab3f848874bcceb9cadd6257056ba50cf8bb (diff) | |
| download | ai-pulse-obsidian-plugin-d36edfb6b34c05903281ece6d47fc7a1de2bd4f2.tar.gz ai-pulse-obsidian-plugin-d36edfb6b34c05903281ece6d47fc7a1de2bd4f2.zip | |
refactor
Diffstat (limited to '.rules/changelog/2026-03/24/11.md')
| -rw-r--r-- | .rules/changelog/2026-03/24/11.md | 10 |
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. |
