This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-kde/gui
Levi Neely b6a7d93d0e gui: fix prose-after-fence overwriting finalized code segment
In incrementalAppend(), when a prose line follows a closed code fence,
the code checked only whether the last segment was type Text (which code
fences also are) and then tried to append. Since the finalized fence HTML
ends in </pre> not </div>, it fell into the 'shouldn't happen' branch and
overwrote the segment with escapeForHtml(proseLines) — destroying the
rendered tool output.

Tool blocks are always shaped:
  ```
  <output>
  ```
  <blank>
  <blank>

so the trailing blank lines triggered this on every tool call, leaving
only <div>\n</div> in renderedHtml.

Fix: gate extension on the segment actually being an in-progress prose
segment (trailing </div>). Otherwise start a new prose segment.

Verified: tool blocks now render 'hi\nexit: 0', file_glob results, and
syntax-highlighted diffs correctly.
2026-08-09 12:14:04 +02:00
..
ChatBlockDelegate.qml gui: fix tool block rendering — use blockRenderedHtml directly 2026-08-09 12:09:42 +02:00
NewAgentDialog.qml gui: auto-switch to newly created agent, remove remote field from agent dialog 2026-08-08 14:02:10 +02:00
NewSessionDialog.qml gui: extract dialogs and chat delegate into components 2026-08-07 17:40:09 +02:00
SettingsDialog.qml gui: extract dialogs and chat delegate into components 2026-08-07 17:40:09 +02:00
chatblockmodel.cpp gui: fix prose-after-fence overwriting finalized code segment 2026-08-09 12:14:04 +02:00
chatblockmodel.h gui: incremental rendering for chat blocks (O(n) → O(1) per line) 2026-08-09 00:12:22 +02:00
clipboardhelper.cpp Add PlantUML and Mermaid diagram rendering 2026-08-07 14:59:20 +02:00
clipboardhelper.h Add PlantUML and Mermaid diagram rendering 2026-08-07 14:59:20 +02:00
lib9pclient.cpp gui: eliminate all subprocess calls, use native 9P streaming 2026-08-07 18:02:45 +02:00
lib9pclient.h gui: eliminate all subprocess calls, use native 9P streaming 2026-08-07 18:02:45 +02:00
main.cpp Add PlantUML and Mermaid diagram rendering 2026-08-07 14:59:20 +02:00
main.qml gui: update slash command hints to match ctl surface 2026-08-09 03:17:21 +02:00
nativestreamer.cpp gui: fix deadlock — demand-driven chat streaming 2026-08-08 23:20:03 +02:00
nativestreamer.h nativestreamer: use subprocess instead of blocking thread 2026-08-07 18:05:53 +02:00
ollie.svg
…
ollie9pclient.cpp gui: read chat.raw for block-structured stream 2026-08-09 01:43:19 +02:00
ollie9pclient.h gui: auto-switch to newly created agent, remove remote field from agent dialog 2026-08-08 14:02:10 +02:00
org.ollie.gui.desktop
…
qml.qrc gui: extract dialogs and chat delegate into components 2026-08-07 17:40:09 +02:00
thememanager.cpp Fix close-to-tray comment - it is implemented 2026-08-05 18:59:47 +02:00
thememanager.h Fix close-to-tray comment - it is implemented 2026-08-05 18:59:47 +02:00