Skip to content

sidebar: Add submenu to create a worktree#59341

Merged
danilo-leal merged 8 commits into
mainfrom
sidebar-worktree-create
Jun 16, 2026
Merged

sidebar: Add submenu to create a worktree#59341
danilo-leal merged 8 commits into
mainfrom
sidebar-worktree-create

Conversation

@danilo-leal

Copy link
Copy Markdown
Member

Closes AI-403

Recently, we introduced the ability to pick, from the plus icon button in a project's header in the sidebar, which of the currently loaded worktree you'd like to create a new thread on. This PR extends this ability by allowing you to create a new worktree from there as well. Turned out this just felt like a natural move after playing around with the change internally; we had a good amount of internal asks for this. What's exposed in the menu is exactly the same options available in the worktree picker, following the same display rules.

Screenshot 2026-06-15 at 12  22@2x

Release Notes:

  • Agent: Enabled creating a new worktree from the sidebar's "new thread" icon button.

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 15, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jun 15, 2026
Comment thread crates/sidebar/src/sidebar.rs Outdated
@danilo-leal danilo-leal requested a review from MartinYe1234 June 16, 2026 22:08
@danilo-leal danilo-leal added this pull request to the merge queue Jun 16, 2026
Merged via the queue into main with commit 3e8aae4 Jun 16, 2026
33 checks passed
@danilo-leal danilo-leal deleted the sidebar-worktree-create branch June 16, 2026 22:36
This was referenced Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants