From 6657d8600f8a43bf4e039b833fdb7f5106cd78d7 Mon Sep 17 00:00:00 2001 From: Alex Cheema Date: Thu, 5 Feb 2026 04:58:40 -0800 Subject: [PATCH] feat: add stop button to dashboard for cancelling ongoing requests When a chat, image generation, or image edit request is streaming, the send button is replaced with a stop button. Clicking it aborts the HTTP connection, which triggers the backend cancellation chain. Co-Authored-By: Claude Opus 4.5 --- dashboard/src/lib/components/ChatForm.svelte | 155 ++++++++++--------- dashboard/src/lib/stores/app.svelte.ts | 29 ++++ 2 files changed, 110 insertions(+), 74 deletions(-) diff --git a/dashboard/src/lib/components/ChatForm.svelte b/dashboard/src/lib/components/ChatForm.svelte index 6801287d..c2e40c6b 100644 --- a/dashboard/src/lib/components/ChatForm.svelte +++ b/dashboard/src/lib/components/ChatForm.svelte @@ -1,6 +1,7 @@