Repository navigation
sessions: Show chats under sessions in the list - #332739
Merged
Sandeep Somavarapu (sandy081) merged 7 commits intoAug 26, 2026
Merged
Sandeep Somavarapu (sandy081) merged 7 commits into
Sandeep Somavarapu (sandy081) merged 7 commits into
Conversation
Expose user-facing chats beneath their owning session, with status, navigation, collapse behavior, and contextual actions. Keep side chats and subagents grouped in the header picker. Co-authored-by: Copilot <[email protected]>
Align nested chat typography and hover behavior, keep matching titles visible, and open context-menu chats in a side chat group. Co-authored-by: Copilot <[email protected]>
Use native tree twisties, add chat drag and modifier gestures, remove the tab-bar New Chat button, and keep nested chat presentation aligned with session rows. Co-authored-by: Copilot <[email protected]>
Add active-chat selection, flattened keyboard navigation, side-chat tree entries, rename support, and consistent main/side opening semantics. Co-authored-by: Copilot <[email protected]>
Contribute chat-row actions through menus, move side-opening into the sessions service, use native tree configuration for disclosure behavior, and refine parent-child connector presentation. Co-authored-by: Copilot <[email protected]>
Contributor
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: Benjamin Christopher Simmonds (@benibenj)Matched files:
Ladislau Szomoru (@lszomoru)Matched files:
|
Contributor
Screenshot ChangesBase: Changed (10) |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds nested, reactive chat rows to the Sessions list and moves related navigation and actions into shared Sessions services and menus.
Changes:
- Adds chat child rows with disclosure, status, selection, drag-and-drop, and context actions.
- Adds targeted side-opening APIs and chat-group splitting behavior.
- Removes the tab-bar New Chat button while retaining menu access.
Show a summary per file
| File | Description |
|---|---|
src/vs/workbench/test/browser/componentFixtures/sessions/chatCompositeBar.fixture.ts |
Updates the fixture delegate. |
src/vs/sessions/test/browser/sessionConversationGroups.test.ts |
Updates side-chat grouping expectations. |
src/vs/sessions/test/browser/chatGroupsView.test.ts |
Tests side-opening existing chats. |
src/vs/sessions/test/browser/chatCompositeBar.test.ts |
Tests New Chat button removal. |
src/vs/sessions/services/sessions/test/common/sessionContextKeys.test.ts |
Consolidates chat context-key assertions. |
src/vs/sessions/services/sessions/test/browser/sessionsManagementService.test.ts |
Tests targeted side opening. |
src/vs/sessions/services/sessions/browser/sessionsService.ts |
Adds side-opening and focus-preserving chat APIs. |
src/vs/sessions/contrib/sessions/test/browser/sessionsListTestUtils.ts |
Records chat rename and deletion operations. |
src/vs/sessions/contrib/sessions/test/browser/sessionsListContextMenu.test.ts |
Tests contributed chat-row actions. |
src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.ts |
Covers nested chat-row behavior. |
src/vs/sessions/contrib/sessions/browser/views/sessionsViewActions.ts |
Routes navigation through chat-aware service APIs. |
src/vs/sessions/contrib/sessions/browser/views/sessionsView.ts |
Handles session and nested-chat opening. |
src/vs/sessions/contrib/sessions/browser/views/sessionsList.ts |
Implements reactive chat tree children. |
src/vs/sessions/contrib/sessions/browser/sessionsTitleBarWidget.ts |
Uses the shared side-opening API. |
src/vs/sessions/contrib/sessions/browser/sessionsActions.ts |
Contributes chat-row context actions. |
src/vs/sessions/contrib/sessions/browser/media/sessionsList.css |
Styles nested rows, connectors, and disclosure. |
src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.ts |
Documents nested-chat interactions. |
src/vs/sessions/browser/sessionConversationGroups.ts |
Removes side chats from conversation menus. |
src/vs/sessions/browser/parts/media/chatCompositeBar.css |
Removes obsolete New Chat styles. |
src/vs/sessions/browser/parts/chatGroupView.ts |
Removes the New Chat delegate contract. |
src/vs/sessions/browser/parts/chatGroupsView.ts |
Splits existing chats into side groups. |
src/vs/sessions/browser/parts/chatCompositeBar.ts |
Removes tab-bar New Chat rendering. |
src/vs/sessions/browser/menus.ts |
Registers the chat-item context menu. |
Review details
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 23/23 changed files
- Comments generated: 5
- Review effort level: Balanced
Dirk Bäumer (dbaeumer)
previously approved these changes
Aug 26, 2026
Fix chat row disposal and responsive heights, preserve user tree state during unrelated updates, propagate side-open completion, and expose chat status to screen readers. Add focused regression coverage. Co-authored-by: Copilot <[email protected]>
Provide the main chat required by the session model so nested-chat tree derivation can render component fixtures. Co-authored-by: Copilot <[email protected]>
Ladislau Szomoru (lszomoru)
approved these changes
Aug 26, 2026
Sandeep Somavarapu (sandy081)
deleted the
sandy081/agents/show-session-chats-filtered
branch
August 26, 2026 13:58
This was referenced Aug 26, 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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
ISessionsServiceDetails
The session main chat remains represented by the parent session row. Tool-origin subagent chats stay out of the tree and continue to use the Chats submenu. Active chat changes select and reveal the corresponding tree child without stealing focus or flashing the parent session.
Testing
npm run compilenpm run hygienenpm run typecheck-client