Skip to content

refactor - simplify auto-expand logic in AgentSessionsControl#291705

Merged
bpasero merged 1 commit intomainfrom
ben/huge-goat
Jan 29, 2026
Merged

refactor - simplify auto-expand logic in AgentSessionsControl#291705
bpasero merged 1 commit intomainfrom
ben/huge-goat

Conversation

@bpasero
Copy link
Copy Markdown
Member

@bpasero bpasero commented Jan 29, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 29, 2026 19:06
@bpasero bpasero enabled auto-merge (squash) January 29, 2026 19:06
@bpasero bpasero self-assigned this Jan 29, 2026
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 29, 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 adjusts how the agent sessions tree auto-expands its "More" section and simplifies related list configuration in AgentSessionsControl.

Changes:

  • Removes the custom expandOnlyOnTwistieClick handler and allows the tree to use the global/workbench default expand-on-click behavior.
  • Refines the auto-expand logic for the AgentSessionSection.More section: it now expands when the find widget is open, or when only unread sessions are shown and the "More" section actually contains unread sessions.

@bpasero bpasero merged commit 82530a3 into main Jan 29, 2026
27 of 28 checks passed
@bpasero bpasero deleted the ben/huge-goat branch January 29, 2026 19:25
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Mar 15, 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