botui/ui/suite/chat
Rodrigo Rodriguez (Pragmatismo) 91e9701c3e
All checks were successful
BotUI CI/CD / build (push) Successful in 59s
fix: prevent broken HTML during streaming by deferring render to completion
When HTML content is streamed incrementally, injecting partial HTML
into the DOM causes the browser to malform or discard incomplete tags.

Changes:
- In addMessage(): For streaming HTML (has msgId), show as escaped text initially
- In updateStreaming(): For HTML content, show plain text during streaming
- In finalizeStreaming(): Render complete HTML only when streaming is done
- This ensures HTML is only rendered when the full content is received

Applies to both chat.html and partials/chat.html
2026-04-14 11:58:18 -03:00
..
chat.css feat: add thinking indicator for reasoning models 2026-04-13 15:35:46 -03:00
chat.html fix: prevent broken HTML during streaming by deferring render to completion 2026-04-14 11:58:18 -03:00
chat.js Fix UI button handlers and add missing JS modules 2026-01-13 14:49:22 -03:00
projector.html fix: make suite UI elements fully themable and resolve black frame on desktop-inner 2026-02-28 10:05:36 -03:00