Skip to content

Comments

feat: implement folder picker for managing recently selected and open…#296472

Merged
sandy081 merged 2 commits intomainfrom
copilot-worktree-2026-02-20T08-31-40
Feb 20, 2026
Merged

feat: implement folder picker for managing recently selected and open…#296472
sandy081 merged 2 commits intomainfrom
copilot-worktree-2026-02-20T08-31-40

Conversation

@sandy081
Copy link
Member

No description provided.

@sandy081 sandy081 added this to the February 2026 milestone Feb 20, 2026
@sandy081 sandy081 self-assigned this Feb 20, 2026
Copilot AI review requested due to automatic review settings February 20, 2026 09:17
@sandy081 sandy081 enabled auto-merge (squash) February 20, 2026 09:18
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

This PR introduces a reusable folder picker for the Sessions “new chat” welcome experience, persisting and presenting recently selected/opened folders and wiring folder selection changes back into session option notifications.

Changes:

  • Extracted local folder selection logic from NewChatWidget into a dedicated FolderPicker component.
  • Switched the folder dropdown UI to use IActionWidgetService (with optional filtering for longer lists).
  • Simplified NewChatWidget dependencies by removing direct storage/recent-workspaces/dialog usage.

Reviewed changes

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

File Description
src/vs/sessions/contrib/chat/browser/newChatViewPane.ts Replaces inline folder picker + storage/recent logic with a FolderPicker instance and selection event wiring.
src/vs/sessions/contrib/chat/browser/folderPicker.ts New component that renders a trigger, shows an action-widget dropdown of folders, and persists/restores recent selections.

@sandy081 sandy081 merged commit 3ede47d into main Feb 20, 2026
18 checks passed
@sandy081 sandy081 deleted the copilot-worktree-2026-02-20T08-31-40 branch February 20, 2026 10:17
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.

2 participants