Skip to content

agent sessions - show flat list of unread sessions when filter is enabled#292520

Merged
bpasero merged 1 commit intomainfrom
ben/uncertain-condor
Feb 3, 2026
Merged

agent sessions - show flat list of unread sessions when filter is enabled#292520
bpasero merged 1 commit intomainfrom
ben/uncertain-condor

Conversation

@bpasero
Copy link
Copy Markdown
Member

@bpasero bpasero commented Feb 3, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 3, 2026 10:08
@bpasero bpasero enabled auto-merge (squash) February 3, 2026 10:08
@bpasero bpasero self-assigned this Feb 3, 2026
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 3, 2026
Copy link
Copy Markdown
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 modifies the agent sessions viewer to show a flat list of unread sessions instead of using capped grouping (with a "More" section) when the unread filter is active.

Changes:

  • Modified the data source to return a flat list when both capped grouping and the unread filter are enabled
  • Simplified the auto-expand logic for the More section since it won't exist when filtering to unread sessions
  • Added comprehensive tests to verify the new behavior

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
agentSessionsViewer.ts Added logic to return flat list instead of capped sections when filtering to unread sessions
agentSessionsControl.ts Removed redundant auto-expand logic for More section when filtering to unread (section won't exist)
agentSessionsDataSource.test.ts Added tests for flat list behavior with unread filter and More section behavior without filter

@bpasero bpasero merged commit c7f7109 into main Feb 3, 2026
27 of 28 checks passed
@bpasero bpasero deleted the ben/uncertain-condor branch February 3, 2026 10:37
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Mar 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants