Repository navigation
sessions: add an Inbox Acknowledge action - #348179
Merged
Merged
Conversation
Clear current Inbox activity without marking a session read or done. Keep sessions available in other groupings and let new activity bring them back, with quiet accessible feedback and preserved keyboard focus. Fixes #348177 Co-authored-by: Copilot <[email protected]>
Contributor
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: Ladislau Szomoru (@lszomoru)Matched files:
|
Contributor
|
Base:
|
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Acknowledging a session from a keyboard-opened context menu leaves focus outside the list after removing the row, and this path lacks regression coverage.
1 open issue
What changed in this PR
Adds an Acknowledge action to the Agents window Inbox, clearing current activity without changing Read/Done state, archiving the session, or closing its conversation.
Changes:
- Adds toolbar and context-menu actions with multi-selection support and eligibility checks.
- Reuses Inbox acknowledgment state and announces changes without a notification banner.
- Updates accessibility help and documentation, with menu, bulk-action, and rendered-list regression tests.
| File | Description |
|---|---|
src/vs/workbench/contrib/sessions/common/sessionCommands.ts |
Defines the Acknowledge command ID. |
src/vs/workbench/contrib/sessions/browser/views/sessionsList.ts |
Adds action eligibility and inline focus restoration. |
src/vs/sessions/SESSIONS_LIST.md |
Documents explicit acknowledgment behavior. |
src/vs/sessions/contrib/sessions/test/browser/sessionsViewMenu.test.ts |
Tests action availability, bulk behavior, and Inbox resurfacing. |
src/vs/sessions/contrib/sessions/browser/views/sessionsViewActions.ts |
Registers Acknowledge and suppresses acknowledgment banners. |
src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.ts |
Explains acknowledgment and keyboard interaction. |
Review effort: Balanced
Restore focus to the list when Acknowledge removes the row targeted through Shift+F10. Exercise the keyboard context-menu path and assert focus retention for both context-menu and inline activation. Co-authored-by: Copilot <[email protected]>
…nbox-item-move-feature # Conflicts: # src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.ts Co-authored-by: meganrogge <[email protected]>
Sandeep Somavarapu (sandy081)
previously approved these changes
Nov 13, 2026
…nbox-item-move-feature # Conflicts: # src/vs/sessions/SESSIONS_LIST.md # src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.ts Co-authored-by: meganrogge <[email protected]>
Copilot
AI
dismissed
Sandeep Somavarapu (sandy081)’s stale review
via
November 13, 2026 17:14
52a3d37
Michael Lively (Yoyokrazy)
previously approved these changes
Nov 13, 2026
Federico Brancasi (federicobrancasi)
previously approved these changes
Nov 13, 2026
Preserve Inbox Acknowledge and its quiet feedback in the shared session-list action registration, retaining the upstream refactor and keyboard-focus fixes. Co-authored-by: Copilot <[email protected]>
Megan Rogge (meganrogge)
dismissed stale reviews from Federico Brancasi (federicobrancasi) and Michael Lively (Yoyokrazy)
via
November 13, 2026 18:31
8644913
roblourens
previously approved these changes
Nov 13, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Nov 13, 2026
Keep the upstream Acknowledged category and historical-session support with one shared Acknowledge command. Preserve the inline eye action, quiet feedback, and keyboard-focus fixes. Co-authored-by: Copilot <[email protected]>
Preserve the Inbox Acknowledge action alongside removal of inline feedback actions. Co-authored-by: Copilot <[email protected]> Copilot-Session: 6b3199e6-7d7a-4368-ae89-638d12f7f518
Preserve the removal of obsolete inline feedback actions while retaining the Inbox Acknowledge import and keyboard-focus behavior. Co-authored-by: Copilot <[email protected]>
Both main merges have identical validated contents. Preserve both commits without rewriting branch history. Co-authored-by: Copilot <[email protected]>
2 of 12 tasks
Ben Villalobos (benvillalobos)
approved these changes
Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

acknowledge.mov
Fixes #348177.
Adds an inline Acknowledge action (eye icon) to Inbox rows and reuses the existing context-menu action. This clears handled Inbox activity without marking the session read or done, archiving it, or closing its conversation.
main's context-menu support for historical completions.main, collapsed by default. Sessions remain available in other groupings and return on new activity or a new notification. Pinned sessions stay pinned.How to test
In the Agents window, choose Inbox grouping and use Acknowledge from a session's inline toolbar or context menu. Confirm that the row moves from Inbox to Acknowledged without changing Read/Done state or closing the conversation, and that no notification banner appears. Expand Acknowledged or switch groupings to find the session again, then verify that new activity returns it to Inbox. Also try multiple selected sessions, historical sessions from the context menu, and keyboard activation through the toolbar and Shift+F10.
Validation
corepack pnpm run build-fast --client-only— passed.VSCODE_SKIP_PRELAUNCH=1 ./scripts/test.sh --reporter dot --run src/vs/sessions/contrib/sessions/test/browser/sessionsViewMenu.test.ts --run src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.ts --run src/vs/workbench/contrib/sessions/test/browser/sessionsListModelService.test.ts --run src/vs/sessions/contrib/chat/test/browser/sessionsChatAccessibilityHelp.test.ts --run src/vs/sessions/contrib/providers/agentHost/test/browser/agentsWindowRegistrations.test.ts --grep 'Sessions - View Menu|SessionsListModelService|SessionsChatAccessibilityHelp|[Ii]nbox|Agents window registrations'— passed, 229 tests.corepack pnpm run typecheck-client— passed.corepack pnpm run oxlint src/vs/workbench/contrib/sessions/browser/views/sessionsListActions.ts src/vs/workbench/contrib/sessions/browser/views/sessionsList.ts src/vs/sessions/contrib/sessions/test/browser/sessionsViewMenu.test.ts src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.ts— passed.git diff --cached --check— passed before committing.