zed/crates/agent_ui
Ben Brandt 0535f47291
sidebar: Don't block worktree archival on empty drafts (#57145)
If we have empty drafts, they don't show up in the UI, so you can't get
rid of them. But they currently blocked worktree archival. Which is
particularly troublesome with terminal agents in a few cases.

This should hopefully solve the issue for terminals, but I think I need
to do a follow-up to investigate what happens when the last draft is
closed.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A
2026-05-19 21:08:39 +00:00
..
src sidebar: Don't block worktree archival on empty drafts (#57145) 2026-05-19 21:08:39 +00:00
Cargo.toml agent_ui: Paste dropped paths into agent terminals (#56686) 2026-05-17 17:15:09 +00:00
LICENSE-GPL Extract an agent_ui crate from agent (#33284) 2025-06-23 18:00:28 -07:00