Skip to content

improve worktree label#298218

Merged
sandy081 merged 1 commit intomainfrom
sandy081/desperate-cicada
Feb 27, 2026
Merged

improve worktree label#298218
sandy081 merged 1 commit intomainfrom
sandy081/desperate-cicada

Conversation

@sandy081
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings February 27, 2026 10:51
@sandy081 sandy081 enabled auto-merge (squash) February 27, 2026 10:51
@sandy081 sandy081 self-assigned this Feb 27, 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

This PR improves the workspace folder labeling for worktrees in the Agent Sessions window by extracting folder data creation logic into a dedicated method and adding custom naming for worktree folders.

Changes:

  • Refactored workspace folder data creation into a new getActiveSessionFolderData method that returns IWorkspaceFolderCreationData instead of just a URI
  • Added custom naming for worktree folders with the pattern {repository-basename} (worktree) to distinguish them from regular repository folders
  • Updated folder comparison and update logic to work with the new IWorkspaceFolderCreationData structure

@sandy081 sandy081 merged commit 7dd41ab into main Feb 27, 2026
41 of 46 checks passed
@sandy081 sandy081 deleted the sandy081/desperate-cicada branch February 27, 2026 14:15
DonJayamanne pushed a commit that referenced this pull request Mar 2, 2026
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