# assistant2: Refine editing of previous messages \(\#11233\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d1abbb1429560cf45d71094947d5c50af0a17cfe

Requested commit: d1abbb1429560cf45d71094947d5c50af0a17cfe

Commit: d1abbb1429560cf45d71094947d5c50af0a17cfe

Tree: 4a854af32bd2849ffebd125ff5f53c1ab94be50c

Author: Nathan Sobo

Committer: GitHub

## Message

```
assistant2: Refine editing of previous messages (#11233)

This PR refines the UX of editing a previous message, including the
following:

- Focus the prev message body editor on double-click
- Restore previous body text on cancel
- Cancel pending completion upon submission of previous message
- Drive-by: Remove min height on composer editor

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <marshall@zed.dev>
```

## Parents

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

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