Skip to content

It's hard to differentiate between headers (Working, on hold) with sessions #348709

Closed

Description

Testing #348231

The indentation is not enough to make a clear visual hierarchy. (the PR icon under On hold for example looks like it's not a child, but it is:

image

Activity

  1. added
    feature-request
    on Nov 16, 2026
  2. added
    unreleased
    on Nov 16, 2026
  3. vs-code-engineering commented on Nov 16, 2026

    @vs-code-engineering
    Contributor

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

    Demo of 202ad92

    Inbox keeps a bold heading with an adjacent count and can now be collapsed.

    Inbox heading and count

    Before (main) After (this pull request)
    Inbox uses an inbox icon and a normal-weight label; its count sits at the far right.
    Inbox uses an inbox icon and a normal-weight label; its count sits at the far right.
    A bold Inbox (1) heading has a persistent disclosure arrow.
    A bold Inbox (1) heading has a persistent disclosure arrow.

    Collapse Inbox

    Before (main) After (this pull request)
    Clicking the Inbox icon and pressing Left leaves the session visible; Inbox cannot collapse.
    Clicking the Inbox icon and pressing Left leaves the session visible; Inbox cannot collapse.
    Clicking the disclosure arrow hides the session while keeping Inbox (1) visible.
    Clicking the disclosure arrow hides the session while keeping Inbox (1) visible.

    The change, on this pull request's build:

    after.mp4
    The same steps on main
    before.mp4

    Recorded by an agent on a build of this pull request merged with main, signed out, with a mock model. It can be wrong. Workflow run

    PR demo: #348721 (comment)

    Make Inbox-mode categories easier to distinguish from session rows:

    • Use stronger headings and persistent disclosure arrows instead of session-like category icons.
    • Place counts beside their labels, for example Inbox (2).
    • Keep the Inbox label and let users collapse it like the other populated categories. Preserve that choice across updates, grouping changes, and reloads; keep the empty-state message visible when clear.
    • Update accessibility help and add regression tests plus a narrow-sidebar fixture.

    Validation

    • pnpm run compile-client — passed.
    • ./scripts/test.sh --run src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.ts --run src/vs/sessions/contrib/chat/test/browser/sessionsChatAccessibilityHelp.test.ts --grep 'Inbox collapse|inbox|Inbox|sticky header collapse state|SessionsChatAccessibilityHelp' --reporter dot — 136 passed.
    • pnpm run oxlint src/vs/workbench/contrib/sessions/browser/views/sessionsList.ts src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.ts src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.ts src/vs/sessions/contrib/sessions/test/browser/sessionsList.fixture.ts — passed.
    • pnpm run stylelint src/vs/workbench/contrib/sessions/browser/media/sessionsList.css — passed; only existing design-token suggestions outside the changed block.
    • Rendered all 20 Inbox fixtures with the configured Rspack Component Explorer, with no render errors. Inspected populated, collapsed, and empty states across light, dark, and high-contrast themes.

    To try it, select Grouping > Inbox Mode, check the headers and adjacent counts, and collapse/expand Inbox by clicking its heading or using Left/Right Arrow. Reload with Inbox collapsed to verify persistence.

    Full smoke tests and live screen-reader testing were not run.

    Source PR: #348721

  4. added a commit that references this issue on Nov 16, 2026
    e3044f8
  5. added
    insiders-released
    verification-needed
    and removed
    unreleased
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestinbox-oneinsiders-releasedverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions