Skip to content

Conversation

@bpasero
Copy link
Member

@bpasero bpasero commented Jan 21, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 21, 2026 08:39
@bpasero bpasero self-assigned this Jan 21, 2026
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 simplifies the chat agent sessions view by removing the "recent sessions" vs "all sessions" distinction. Previously, users could choose to show only recent sessions (limited to 5) or all sessions. Now, sessions are always grouped and displayed with a fixed preview height, relying on scrolling for long lists.

Changes:

  • Removed the chat.viewSessions.showRecentOnly configuration option
  • Removed the agentSessionsViewerLimited context key
  • Consolidated three session display actions (ShowAllAgentSessionsAction, ShowRecentAgentSessionsAction, HideAgentSessionsAction) into a single ToggleChatViewSessionsAction

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/vs/workbench/contrib/chat/common/constants.ts Removed ChatViewSessionsShowRecentOnly configuration constant
src/vs/workbench/contrib/chat/common/actions/chatContextKeys.ts Removed agentSessionsViewerLimited context key definition
src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.ts Removed limited sessions logic, simplified filter options, hardcoded stacked view height to 5 items, and removed dynamic title updates
src/vs/workbench/contrib/chat/browser/chat.contribution.ts Removed ChatViewSessionsShowRecentOnly configuration registration
src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.ts Replaced three separate actions with a single toggle action for sessions visibility
src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.ts Updated action registrations to use new simplified toggle action

@bpasero bpasero marked this pull request as ready for review January 21, 2026 09:35
@bpasero bpasero enabled auto-merge (squash) January 21, 2026 09:36
@bpasero bpasero added this to the January 2026 milestone Jan 21, 2026
@bpasero bpasero merged commit 6f765ae into main Jan 21, 2026
22 checks passed
@bpasero bpasero deleted the ben/administrative-cow branch January 21, 2026 09:55
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