Skip to content

sidebar: Improve new thread button behavior/design#53429

Merged
danilo-leal merged 8 commits intomainfrom
sidebar-new-thread-button
Apr 8, 2026
Merged

sidebar: Improve new thread button behavior/design#53429
danilo-leal merged 8 commits intomainfrom
sidebar-new-thread-button

Conversation

@danilo-leal
Copy link
Copy Markdown
Member

@danilo-leal danilo-leal commented Apr 8, 2026

This PR removes the labeled "new thread" button when the project group is empty, making it so, effectively, we only show it when you're in an empty/draft thread in the active workspace. The "Untitled Thread" label has also been renamed back to "New Thread". Then, we fixed an issue where clicking on the new thread icon button would default to creating a new thread in the main worktree as opposed to the one currently active; this fix makes the button's behavior match with cmd-n from the agent panel. Lastly, we fixed the "new thread" labeled button not opening the agent panel when that's closed and organized the data structures a bit by merging DraftThread and NewThread all into DraftThread.

Release Notes:

  • Thread Sidebar: Fixed the new thread icon button not creating a thread in the current active worktree.
  • Thread Sidebar: Fixed click on the new thread button not opening the agent panel when closed.

danilo-leal and others added 3 commits April 8, 2026 14:27
Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Apr 8, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Apr 8, 2026
@danilo-leal danilo-leal changed the title sidebar: Adjust display of the new thread button sidebar: Improve new thread button behavior/design Apr 8, 2026
@danilo-leal danilo-leal merged commit 177843c into main Apr 8, 2026
31 checks passed
@danilo-leal danilo-leal deleted the sidebar-new-thread-button branch April 8, 2026 23:54
rtfeldman pushed a commit that referenced this pull request Apr 10, 2026
This PR removes the labeled "new thread" button when the project group
is empty, making it so, effectively, we only show it when you're in an
empty/draft thread in the active workspace. The "Untitled Thread" label
has also been renamed back to "New Thread". Then, we fixed an issue
where clicking on the new thread icon button would default to creating a
new thread in the main worktree as opposed to the one currently active;
this fix makes the button's behavior match with `cmd-n` from the agent
panel. Lastly, we fixed the "new thread" labeled button not opening the
agent panel when that's closed and organized the data structures a bit
by merging `DraftThread` and `NewThread` all into `DraftThread`.

Release Notes:

- Thread Sidebar: Fixed the new thread icon button not creating a thread
in the current active worktree.
- Thread Sidebar: Fixed click on the new thread button not opening the
agent panel when closed.

---------

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
maxbrunsfeld added a commit that referenced this pull request Apr 10, 2026
Cherry-picked PRs (in order applied):

1. #53386
2. #53400
3. #53396
4. #53428
5. #53356
6. #53215
7. #53429
8. #53458
9. #53436
10. #53451
11. #53454
12. #53419
13. #53287
14. #53521
15. #53463
16. #52848
17. #53544
18. #53556
19. #53566
20. #53579
21. #53575
22. #53550
23. #53585
24. #53510
25. #53599
26. #53099
27. #53662
28. #53660
29. #53657
30. #53654


Release Notes:

- N/A

---------

Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Co-authored-by: Anthony Eid <anthony@zed.dev>
Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
Co-authored-by: Eric Holk <eric@zed.dev>
Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-authored-by: Cameron Mcloughlin <cameron.studdstreet@gmail.com>
Co-authored-by: Cole Miller <cole@zed.dev>
Co-authored-by: Mikayla Maki <mikayla@zed.dev>
Co-authored-by: Anthony Eid <56899983+Anthony-Eid@users.noreply.github.com>
Co-authored-by: Katie Geer <katie@zed.dev>
Co-authored-by: ojpro <contact@ojpro.me>
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