Skip to content

fix(vscode): show background agents collapse icon - #13646

Merged
marius-kilocode merged 1 commit into
mainfrom
fix-background-agent-modal-collapse-button
Sep 1, 2026
Merged

fix(vscode): show background agents collapse icon#13646
marius-kilocode merged 1 commit into
mainfrom
fix-background-agent-modal-collapse-button

Conversation

@marius-kilocode

@marius-kilocode marius-kilocode commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

What Problem This Solves

The expanded background agents panel shows an empty collapse button because chevron-up does not exist in the icon registry. The button still works, but its purpose is not visible.

Why This Change Was Made

Reuse the existing chevron-down icon and rotate it when the panel is expanded, matching the task header's existing toggle pattern. This keeps the fix local without adding a registry entry or changing panel behavior.

User Impact

The background agents toggle has a visible arrow in both states: up when expanded, down when collapsed.

Evidence

  • Full extension compile, host/webview typecheck, lint, and 22 focused background-agent tests passed.
  • Automated UI interaction in real isolated VS Code verified collapse, expansion, and collapse again with deterministic job fixtures. Screenshots were visually checked. No live model request was used.
  • Read-only code review found no actionable issues.
  • No directly matching issue was found.

Before and after

Matching captures from real isolated VS Code, with the same fixture data and expanded panel.

Before

Before: expanded background agents panel has no visible collapse chevron

After

After: expanded background agents panel shows the upward collapse chevron

Manual test

Open a session with background agents. Expand and collapse the panel with its arrow button. Confirm that the arrow remains visible and points up when expanded and down when collapsed.

@kilo-code-bot

kilo-code-bot Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • .changeset/fix-background-agents-chevron.md
  • packages/kilo-vscode/webview-ui/src/components/chat/BackgroundAgents.tsx

Reviewed by grok-4.6 · Input: 77.7K · Output: 4.2K · Cached: 169K

Review guidance: REVIEW.md from base branch main

@marius-kilocode
marius-kilocode merged commit 0783579 into main Sep 1, 2026
25 checks passed
@marius-kilocode
marius-kilocode deleted the fix-background-agent-modal-collapse-button branch September 1, 2026 09:42
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