Skip to content

fix(desktop): keep thinking, answers, and writer output visible in compact view#4101

Merged
esengine merged 1 commit into
main-v2from
fix/desktop-minimal-keep-output
Jun 12, 2026
Merged

fix(desktop): keep thinking, answers, and writer output visible in compact view#4101
esengine merged 1 commit into
main-v2from
fix/desktop-minimal-keep-output

Conversation

@esengine

Copy link
Copy Markdown
Owner

Summary

Follow-up to #4059. In compact/minimal mode the transcript folded every completed step into a "Processed" block, which hid the substance of a turn:

  • Thinking was never shown live (the active step rendered with expandWhileStreaming={false}), and minimal mode stripped reasoning from completed steps entirely.
  • Answer text the model wrote between tool calls got buried in the fold.
  • Writer output was hidden behind an expand, and minimal mode stripped completed bash cards outright.

Only read-only research (read/grep/glob/ls/web_fetch) should fold to keep a long run of reads quiet. Everything else is the substance the user wants visible.

Changes

  • Transcript hot zone now renders the way the warm zone (WarmTurnItems) already does: flat, batching only completed read-only tools into ReadOnlyBatch. Running tools, writers, and assistant text/thinking render directly. Removes the stepGroups + TurnCollapse step-fold machinery (net -175 lines).
  • Thinking shows live: dropped the expandWhileStreaming flag (it only existed to mask the now-gone fold flicker); reasoning auto-opens while streaming, then stays available behind the toggle once the answer arrives.
  • Writers keep their output: ToolCard opens by default for non-read-only tools that produced a diff or output (and for any errored tool), so you see what a command did without expanding. Read-only research stays folded. Sub-agent cards still open while running. Manual toggle / Ctrl+B still override.
  • Removed the orphaned TurnCollapse CSS and the transcript.processed* i18n keys.

Behavior by mode

thinking answer text writer output read-only
standard toggle visible visible by default folded card
compact / minimal live while streaming, then toggle visible visible by default batched fold

Compact and minimal now behave the same (both show substance + batch reads); collapsing the two modes can be a separate follow-up.

Test status

  • tsc --noEmit clean for the changed files (local env still reports the usual wailsjs / new-dep gaps that CI resolves via wails generate + a fresh install).
  • No frontend test imports the changed components.

…mpact view

Compact/minimal mode folded each completed step into "Processed", which hid
what the user most wants to see: the model's reasoning (stripped entirely in
minimal), its answer text between tool calls, and writer output (bash was
stripped in minimal). Only read-only research should fold away.

Render the hot zone the way the warm zone already does — flat, batching only
completed read-only tools into ReadOnlyBatch. Thinking now shows live while it
streams; answer text and writer diff/output are visible by default; read-only
research stays in the slim batch fold. Drops the now-unused TurnCollapse +
stepGroups machinery and the expandWhileStreaming flag that only existed to
mask the fold flicker.
@esengine esengine requested a review from SivanCola as a code owner June 12, 2026 02:33
@github-actions github-actions Bot added desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development labels Jun 12, 2026
@esengine esengine merged commit c12c294 into main-v2 Jun 12, 2026
14 checks passed
@esengine esengine deleted the fix/desktop-minimal-keep-output branch June 12, 2026 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant