# Add some refinements to the draft thread UX \(\#56482\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/a1306744da21e4401939e5c8519cafc8d1c333c5)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: a1306744da21e4401939e5c8519cafc8d1c333c5

Requested commit: a1306744da21e4401939e5c8519cafc8d1c333c5

Commit: a1306744da21e4401939e5c8519cafc8d1c333c5

Tree: b17abc58dcde56650df7bdb6a7043f0d0a0d9447

Author: Danilo Leal

Committer: GitHub

## Message

```
Add some refinements to the draft thread UX (#56482)

Here are the overall changes I'm adding in this PR:

- Don't create a new thread when switching to a new external agent while
in parked draft state
- Include parked draft threads in the thread switcher
- Add the draft thread item in the sidebar when navigating away from a
draft, as opposed to only on cmd-n/new thread
- Upon deleting content from a parked draft, remove its entry from the
sidebar. From this point on, we convert that draft back into the
ephemeral state so it behaves the same way as a fresh new draft would.

Release Notes:

- N/A
```

## Parents

- [c9957c136b57bee3d7a4779d34998337ef6a163a](https://git.cafe/gitcafe/zed/commit/c9957c136b57bee3d7a4779d34998337ef6a163a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/a1306744da21e4401939e5c8519cafc8d1c333c5?format=markdown)
