Skip to content

sidebar: Add right-click menu to thread items - #58232

Merged
danilo-leal merged 26 commits into
mainfrom
right-click-menu-thread-item
Jun 3, 2026
Merged

sidebar: Add right-click menu to thread items#58232
danilo-leal merged 26 commits into
mainfrom
right-click-menu-thread-item

Conversation

@danilo-leal

Copy link
Copy Markdown
Member

Closes AI-286

This PR adds a right-click menu to thread items in the sidebar. A big motivation for this addition was surfacing the "regenerate thread title" action. And because this action and the "open thread as markdown" action previously only worked on the already-loaded agent panel, there was a load of plumbing needed to make that work even for threads in workspaces that haven't been loaded, mostly using the thread metadata store. At the end of the day, the title regeneration feature is only possible for the Zed agent, so this is gated from external agents. But I believe it's now in a slightly nicer spot due to some refactors to better expose the state in which the title regeneration can fall into.

Release Notes:

  • Agent: Added a right-click menu to thread items in the sidebar, allowing to regenerate a thread title, rename a thread title, open the thread as markdown, and archive it.

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 1, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jun 1, 2026
@danilo-leal
danilo-leal requested a review from bennetbo June 1, 2026 20:42
@danilo-leal
danilo-leal added this pull request to the merge queue Jun 3, 2026
Merged via the queue into main with commit 26e69b9 Jun 3, 2026
32 checks passed
@danilo-leal
danilo-leal deleted the right-click-menu-thread-item branch June 3, 2026 13:47
TomPlanche pushed a commit to TomPlanche/zed that referenced this pull request Jun 8, 2026
Closes AI-286

This PR adds a right-click menu to thread items in the sidebar. A big
motivation for this addition was surfacing the "regenerate thread title"
action. And because this action and the "open thread as markdown" action
previously only worked on the already-loaded agent panel, there was a
load of plumbing needed to make that work even for threads in workspaces
that haven't been loaded, mostly using the thread metadata store. At the
end of the day, the title regeneration feature is only possible for the
Zed agent, so this is gated from external agents. But I believe it's now
in a slightly nicer spot due to some refactors to better expose the
state in which the title regeneration can fall into.

Release Notes:

- Agent: Added a right-click menu to thread items in the sidebar,
allowing to regenerate a thread title, rename a thread title, open the
thread as markdown, and archive it.

---------

Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
This was referenced Jun 18, 2026
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
Closes AI-286

This PR adds a right-click menu to thread items in the sidebar. A big
motivation for this addition was surfacing the "regenerate thread title"
action. And because this action and the "open thread as markdown" action
previously only worked on the already-loaded agent panel, there was a
load of plumbing needed to make that work even for threads in workspaces
that haven't been loaded, mostly using the thread metadata store. At the
end of the day, the title regeneration feature is only possible for the
Zed agent, so this is gated from external agents. But I believe it's now
in a slightly nicer spot due to some refactors to better expose the
state in which the title regeneration can fall into.

Release Notes:

- Agent: Added a right-click menu to thread items in the sidebar,
allowing to regenerate a thread title, rename a thread title, open the
thread as markdown, and archive it.

---------

Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
Closes AI-286

This PR adds a right-click menu to thread items in the sidebar. A big
motivation for this addition was surfacing the "regenerate thread title"
action. And because this action and the "open thread as markdown" action
previously only worked on the already-loaded agent panel, there was a
load of plumbing needed to make that work even for threads in workspaces
that haven't been loaded, mostly using the thread metadata store. At the
end of the day, the title regeneration feature is only possible for the
Zed agent, so this is gated from external agents. But I believe it's now
in a slightly nicer spot due to some refactors to better expose the
state in which the title regeneration can fall into.

Release Notes:

- Agent: Added a right-click menu to thread items in the sidebar,
allowing to regenerate a thread title, rename a thread title, open the
thread as markdown, and archive it.

---------

Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
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