Skip to content

fix(vscode): make subagent task headers collapsible - #13602

Merged
marius-kilocode merged 1 commit into
mainfrom
make-subagent-task-bar-minimizable
Aug 31, 2026
Merged

fix(vscode): make subagent task headers collapsible#13602
marius-kilocode merged 1 commit into
mainfrom
make-subagent-task-bar-minimizable

Conversation

@marius-kilocode

@marius-kilocode marius-kilocode commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Opened subagents and async subagents hide the task-header collapse control because their transcripts are read-only. The expanded timeline takes space from the transcript, and an existing view does not receive changes to the main agent's saved timeline preference.

Why This Change Was Made

Collapsing the header changes presentation, not session content. Keep rename, compaction, and revert actions read-only while allowing the timeline toggle. Reuse the existing showTaskTimeline setting and configuration listener so the main agent, subagent inspector, and editor viewers stay in sync without a new preference.

User Impact

  • Collapse or expand task headers in regular and async subagent views.
  • Apply the same saved preference to open views and newly opened subagents.
  • Keep the chosen state after reloading VS Code.

Evidence

Matched screenshots from isolated VS Code with synthetic subagent transcripts. Before: the expanded header has no collapse control. After: the new control hides the timeline and applies the same state to the main agent. No live model requests were used.

Before After
Before: async subagent header has an expanded timeline and no collapse button After: async subagent header has a collapse button and the timeline is hidden

Validated extension compilation, lint, typecheck, Knip, merge-marker guard, and formatting. All 51 focused regression tests and all 4,498 extension unit tests passed. Isolated UI checks covered regular and async subagent header toggles, synchronization with the parent, keyboard activation, and persistence after reload. Independent local review found no actionable issues.

Manual test: collapse the main agent header, open a regular or async subagent, and confirm it starts collapsed. Toggle the subagent header and confirm the main agent follows. Reload VS Code and confirm the saved state remains.

@kilo-code-bot

This comment has been minimized.

@marius-kilocode
marius-kilocode merged commit 8fb8f28 into main Aug 31, 2026
24 checks passed
@marius-kilocode
marius-kilocode deleted the make-subagent-task-bar-minimizable branch August 31, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants