Skip to content

Comments

improve opening new session#296977

Merged
sandy081 merged 2 commits intomainfrom
sandy081/invisible-mongoose
Feb 23, 2026
Merged

improve opening new session#296977
sandy081 merged 2 commits intomainfrom
sandy081/invisible-mongoose

Conversation

@sandy081
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings February 23, 2026 12:58
@sandy081 sandy081 enabled auto-merge (squash) February 23, 2026 12:58
@sandy081 sandy081 self-assigned this Feb 23, 2026
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 23, 2026
benibenj
benibenj previously approved these changes Feb 23, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves the “New Session” flow in the Agent Sessions window by switching the UI to a dedicated new-session view and adjusting how pending sessions are tracked/sent.

Changes:

  • Wire “New Session” actions/buttons to openNewSessionView() instead of openNewSession().
  • Rework pending session tracking in SessionsManagementService to a single MutableDisposable<INewSession> and update open/send logic accordingly.
  • Add “sending” UI state to the new chat widget to disable input and show loading while sending.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
src/vs/sessions/contrib/sessions/browser/sessionsViewPane.ts Updates “New Session” button to switch to the new-session view.
src/vs/sessions/contrib/sessions/browser/sessionsManagementService.ts Renames/adjusts API for switching to new-session view; refactors pending session tracking and send flow.
src/vs/sessions/contrib/chat/browser/newChatViewPane.ts Adds _sending state and updates send handling/loading UI behavior.
src/vs/sessions/contrib/chat/browser/chat.contribution.ts Updates the sessions window “New Chat” action to open the new-session view.

@sandy081 sandy081 merged commit 059d431 into main Feb 23, 2026
20 checks passed
@sandy081 sandy081 deleted the sandy081/invisible-mongoose branch February 23, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants