feat: Stream-Abbruch per Stop-Button

- Neuer Stop-Button (#stop) neben Send-Button, erscheint nur während Stream
- AbortController in chat.js: abort() schließt SSE-Verbindung → Backend CancellationToken triggered
- apiChat() akzeptiert optionales AbortSignal
- AbortError-Handling: zeigt 'Abgebrochen' statt Fehlermeldung
- Button-Toggle in sendMessage(), stopStreaming(), startStreamingPoll(), Page-Load-Recovery
- CSS: .stop-btn mit --dangerous Farbe
- Diverse kleine UI-Fixes (TODO.md, theme.css box-spacing, settings-section Layout)
This commit is contained in:
Meleki committed 2026-03-02 06:52:26 +01:00
1 parent 190a0d0a8b
commit 4bf500ad47
8 files changed
+73 -22

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@
--page-padding: 2em;
--page-spacing: 2em;
--box-padding: .75em 1em;
--box-spacing: 1em;
--box-spacing: 1.5em;
--input-padding: .45em .7em;
--button-padding: .45em .8em;
--badge-padding: .2em .6em;