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:
1 parent
190a0d0a8b
commit
4bf500ad47
8 files changed
+73
-22
No files matched your search
@@ -8,8 +8,13 @@
|
||||
gap: var(--page-spacing);
|
||||
}
|
||||
|
||||
.settings-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--badge-spacing);
|
||||
}
|
||||
|
||||
.settings-section h2 {
|
||||
margin-bottom: var(--box-spacing);
|
||||
padding-bottom: var(--badge-spacing);
|
||||
border-bottom: var(--border-width) solid var(--f2-border);
|
||||
}
|
||||
@@ -73,4 +78,5 @@
|
||||
.settings-reset {
|
||||
border-top: var(--border-width) solid var(--f2-border);
|
||||
padding-top: var(--box-spacing);
|
||||
flex-direction: row;
|
||||
}
|
||||
Reference in new issue
Block a user