Skip to content

Conversation

@bpasero
Copy link
Member

@bpasero bpasero commented Dec 15, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 15, 2025 14:10
@bpasero bpasero enabled auto-merge (squash) December 15, 2025 14:10
@bpasero bpasero self-assigned this Dec 15, 2025
@vs-code-engineering vs-code-engineering bot added this to the December / January 2026 milestone Dec 15, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the visual representation of agent sessions that need user input by changing both the icon and color scheme. The change improves the UX by making the "needs input" state less alarming (moving from a warning icon to a comment icon) and more consistent with the interactive/actionable nature of these sessions.

Key Changes

  • Icon change: Replaced warning icon (Codicon.warning) with comment icon (Codicon.comment) for ChatSessionStatus.NeedsInput
  • Color update: Changed from warning-colored icon to link-colored icon (using textLink-foreground) to better convey interactivity
  • Color standardization: Updated error icon color from editorError-foreground to errorForeground

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.ts Changes the icon returned for NeedsInput status from warning to comment
src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsessionsviewer.css Updates CSS to style the new comment icon with link color and changes error icon to use errorForeground variable


&.codicon.codicon-error {
color: var(--vscode-editorError-foreground);
color: var(--vscode-errorForeground);
Copy link

Copilot AI Dec 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change from editorError-foreground to errorForeground creates an inconsistency within the chat feature. Other parts of the chat UI still use editorError-foreground (see line 2248 in src/vs/workbench/contrib/chat/browser/media/chat.css). While both colors exist and are valid, the codebase should use consistent color variables for the same semantic meaning. Consider either keeping editorError-foreground here or updating the other usage in chat.css to errorForeground for consistency.

Suggested change
color: var(--vscode-errorForeground);
color: var(--vscode-editorError-foreground);

Copilot uses AI. Check for mistakes.
@bpasero bpasero merged commit 227f920 into main Dec 15, 2025
33 of 34 checks passed
@bpasero bpasero deleted the ben/tender-puffin branch December 15, 2025 14:28
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.

3 participants