# agent_ui: Add some more improvements to the draft UX \(\#57692\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 46ac5758a5562f05b786b88cf3600b9334abeb7d

Requested commit: 46ac5758a5562f05b786b88cf3600b9334abeb7d

Commit: 46ac5758a5562f05b786b88cf3600b9334abeb7d

Tree: e952f2b3249bd11eb46da5bd2a171f225811893e

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Add some more improvements to the draft UX (#57692)

Closes AI-313

This PR makes sure an empty draft thread is reflected in the sidebar by
an empty thread item. The main goal of this change is to make the
existence of the drafts feature more intuitive and clear. We don't only
display the draft item now when moving away from it, but rather whenever
you're focused on it.

Release Notes:

- Agent: Improved the UX of the draft feature by always displaying a
corresponding thread item in the sidebar, even if the thread was still
empty.

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
```

## Parents

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

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