Skip to content

Conversation

@joshspicer
Copy link
Member

fix #290863

Copilot AI review requested due to automatic review settings January 30, 2026 15:41
@vs-code-engineering
Copy link

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@bpasero

Matched files:

  • src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.ts

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 narrows the auto-clear logic for agent session filters so that only the window that applied a badge filter (unread/in-progress) will auto-clear it, addressing cross-window interference described in issue #290863.

Changes:

  • Add a per-instance _badgeFilterAppliedByThisWindow flag to track whether the current window applied an unread or in-progress badge filter.
  • Update _clearFilterIfCategoryEmpty to use the per-window flag instead of the global filter state, and clear the flag when restoring the user’s filter.
  • Ensure that applying a badge filter sets the per-window flag, and that restoring the previous filter resets it.

@joshspicer joshspicer merged commit 2b17889 into main Jan 30, 2026
37 of 39 checks passed
@joshspicer joshspicer deleted the joshspicer/multi-window-filtering branch January 30, 2026 16:12
joshspicer added a commit that referenced this pull request Jan 30, 2026
…1911)

targetted fix for agent status widget with multiple windows open (fix #290863)
joshspicer added a commit that referenced this pull request Jan 30, 2026
…open (#291919)

targetted fix for agent status widget with multiple windows open (#291911)

targetted fix for agent status widget with multiple windows open (fix #290863)
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.

Clicking from unread to in progress toggles all filters off

3 participants