# agent: Cancel pending in-edit user message upon new message submit \(\#29565\) · gitcafe/zed

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

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

Visibility: public

Requested revision: bbe8d6a6541245d6d39058ac874752170dce607c

Requested commit: bbe8d6a6541245d6d39058ac874752170dce607c

Commit: bbe8d6a6541245d6d39058ac874752170dce607c

Tree: bc9d82b61ce9647bdd0b5952002755a4bf493076

Author: Danilo Leal

Committer: GitHub

## Message

```
agent: Cancel pending in-edit user message upon new message submit (#29565)

Previously, if you clicked on a user message to edit it, and then, while
the user message has the editor pending, sent a new message via the
textarea, the whole thread would be grayed out because we hadn't
dismissed the to-be-edited pending user message. That's now fixed.

Release Notes:

- agent: Fixed a bug that would make the whole thread be grayed out upon
sending a new message while a user message had a pending edit.
```

## Parents

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

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