# agent: Improve compaction UX \(\#58913\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e17e272d248a6b036ac11684b6379645db65cc2f

Requested commit: e17e272d248a6b036ac11684b6379645db65cc2f

Commit: e17e272d248a6b036ac11684b6379645db65cc2f

Tree: 56ecdf4794c7138317f6f79374e032d0146a17dd

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
agent: Improve compaction UX (#58913)

Makes it so that we show "Compaction cancelled" when the user interrupts
generation.
Also fixes another small issue where the chevron of the expanded state
would not reflect if it is expanded/collapsed while there is no summary
yet.

Release Notes:

- N/A
```

## Parents

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

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