You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Inbox headers need more intuitive state differences and move the location of count #348711
Inbox has 2, and for some reason that made me think it should be collapsible but it is not
It is not directly intuitive to me what a state of a session is if it is not on hold, acknowledged or working. A mental model would be easier to maintain if Inbox was a sister state to those, but it doesn't seem like it.
the numbers on the side feel to far to the right even in a narrow sidebar. I think Inbox (2) would be better instead since all headers have small words
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.
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.
Activity
vritant24 commentedon Nov 16, 2026
A lot of this is subjective, so take it as an opinion
vs-code-engineering commentedon Nov 16, 2026
Sharing media and context from merged PR #348721 for verification:
Demo of
202ad92Inbox keeps a bold heading with an adjacent count and can now be collapsed.
Inbox heading and count
main)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.
Collapse Inbox
main)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.
The change, on this pull request's build:
after.mp4
The same steps on
mainbefore.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 runPR demo: #348721 (comment)
Make Inbox-mode categories easier to distinguish from session rows:
Inbox (2).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.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
sessions: clarify inbox headers and allow collapsing Inbox (microsoft…