Skip to content

Sessions: add an opt-in Inbox mode for attention-based triage #346662

Closed

Description

Feature request

Add an opt-in Inbox mode to the Agents window's Sessions list so users can focus on work that needs attention without reorganizing or archiving their sessions.

Proposed behavior

  • Offer Inbox grouping behind sessions.list.inboxEnabled, disabled by default.
  • Keep Pinned and an always-expanded primary Inbox above independently scrolling, resizable Working, Ready to merge, On hold, and Done categories. Use the existing Inbox attention classification without requiring its separate canvas.
  • Provide persistent, undoable Dismiss from Inbox, Return to Inbox, Put on Hold, and Snooze actions, including multi-selection. New activity or notifications can bring dismissed items back; historical completions start in Done.
  • Distinguish dismissing an Inbox item from archiving its session: use the rightmost close action for dismissal and a checkmark for Mark Session as Done.
  • Preserve custom organization and Automations/Customizations placement when switching modes. Support search, keyboard navigation, comparisons, and archived inventory across the list regions, with one grouped tree on phone.
  • Support background submission through configurable shortcuts while retaining composer focus and offering Open Session after a successful send.

Implementation: #346659

Activity

  1. added
    feature-request
    on Nov 6, 2026
  2. added a commit that references this issue on Nov 7, 2026
    a9afb7c
  3. added
    unreleased
    on Nov 7, 2026
  4. vs-code-engineering commented on Nov 7, 2026

    @vs-code-engineering
    Contributor

    Sharing media and context from merged PR #346659 for verification:

    Summary

    Adds an opt-in Inbox mode to the Agents window's Sessions list so users can triage attention separately from organizing or archiving sessions.

    • Gate Inbox grouping behind sessions.list.inboxEnabled (default off), and reuse the existing Inbox's attention classification without enabling its canvas.
    • Keep Pinned and the primary Inbox above independently scrolling, resizable Working, Ready to merge, On hold, and Done categories. Expanded categories reclaim unused space; empty categories have no disclosure control.
    • Persist undoable dismissal, hold, and snooze decisions. New activity can bring dismissed items back; historical completions start in Done.
    • Keep ✓ Mark Session as Done for archiving and × Dismiss from Inbox as the rightmost row action for triage only. Dismissal retains Undo without a countdown bar.
    • Preserve custom organization, Automations/Customizations placement, and ordinary grouping. Search, keyboard navigation, comparisons, and archived inventory work across both list regions; phone retains one grouped tree.
    • Support Cmd/Ctrl+Enter alongside Alt+Enter for background submission, retaining composer focus and showing a successful-send confirmation with Open Session.

    How to test

    1. Open the Agents window, enable sessions.list.inboxEnabled, and choose Grouping → Inbox Mode.
    2. Exercise sessions awaiting input, running sessions, completed sessions, and pull requests with passing/failing checks. Expand the bottom categories and resize with the divider or its keyboard controls.
    3. Use Dismiss from Inbox, Return to Inbox, Put on Hold, and Snooze, including multi-selection and Undo. Confirm dismissal does not archive; Mark Session as Done does.
    4. Search across both regions, reload, and switch grouping. Confirm triage/collapse state persists and custom organization and navigation placement are preserved.
    5. Disable the setting and verify ordinary grouping returns. Reenable it to restore Inbox unless another grouping was selected.
    6. Submit a new session with Cmd/Ctrl+Enter or Alt+Enter and verify the composer remains available, then use Open Session.

    Validation

    • corepack pnpm run gulp compile-client — passed, including client type checking with zero errors.

    • corepack pnpm run build-fast --client-only — passed before the focused test runs.

    • The following focused action/list regression command passed 32 tests:

      ./scripts/test.sh --reporter dot \
        --run src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.ts \
        --run src/vs/sessions/contrib/sessions/test/browser/sessionsViewMenu.test.ts \
        --run src/vs/sessions/contrib/sessions/test/browser/sessionsActions.test.ts \
        --grep 'inbox|Inbox|swaps the primary|onboarding|context menu'
    • After the final action-order/countdown changes, the following command passed 27 tests:

      ./scripts/test.sh --reporter dot \
        --run src/vs/sessions/contrib/sessions/test/browser/sessionsViewMenu.test.ts \
        --run src/vs/workbench/contrib/sessions/test/browser/views/sessionsListNotification.test.ts \
        --grep 'inbox|Inbox|List notification'
    • Final changed-file lint command — passed:

      corepack pnpm run eslint \
        src/vs/sessions/contrib/sessions/browser/views/sessionsViewActions.ts \
        src/vs/workbench/contrib/sessions/browser/views/sessionsListNotification.ts \
        src/vs/sessions/contrib/sessions/test/browser/sessionsViewMenu.test.ts \
        src/vs/workbench/contrib/sessions/test/browser/views/sessionsListNotification.test.ts
    • git diff --check — passed.

    • Live Code OSS verification covered adaptive category sizing, navigation placement, empty-category alignment, distinct row actions and shortcut hints, and rightmost dismissal with Undo but no countdown bar. Inbox component fixtures were also checked in light, dark, and high-contrast themes.

    • Full integration/smoke suites were not run.

    Screenshot Changes

    Base: c8aa95cf Current: b5072f2c

    Changed (10)

    sessions/inbox/inboxNotificationsView/Evidence/Light
    Before After
    before after
    sessions/inbox/inboxNotificationsView/EvidenceNarrow/Light
    Before After
    before after
    sessions/sessionsList/SessionsList_ArchiveOnboarding/Light
    Before After
    before after
    sessions/sessionsList/SessionsList_MarkAsDoneOnboarding/Light
    Before After
    before after
    sessions/blockedSessionsList/BlockedSessionsList_OneApproval/Light
    Before After
    before after
    sessions/blockedSessionsList/BlockedSessionsList_TwoApprovals/Light
    Before After
    before after
    sessions/blockedSessionsList/BlockedSessionsList_FiveApprovals/Light
    Before After
    before after
    sessions/blockedSessionsList/BlockedSessionsList_FixCIAndApproval/Light
    Before After
    before after
    sessions/sessionChatInputToolbar/SessionChatView_ArtifactPillAndPermission/Light
    Before After
    before after
    sessions/sessionChatInputToolbar/SessionChatView_StackedInputSurfaces/Light
    Before After
    before after

    Added (4)

    sessions/sessionsList/SessionsList_Inbox/Light

    current

    sessions/sessionsList/SessionsList_Inbox_Empty/Light

    current

    sessions/sessionsList/SessionsList_Inbox_Expanded/Light

    current

    sessions/sessionsList/SessionsList_Inbox_Long/Light

    current

    Screenshot report: #346659 (comment)

    Source PR: #346659

  5. added
    insiders-released
    verification-needed
    and removed
    unreleased
    verification-needed
    on Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestinsiders-releasedon-testplan

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions