# agent_ui: Restore hover previews for image mentions \(\#58165\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fb5deb882477e3cbfe4f044aeab2b0d2589fd0f3

Requested commit: fb5deb882477e3cbfe4f044aeab2b0d2589fd0f3

Commit: fb5deb882477e3cbfe4f044aeab2b0d2589fd0f3

Tree: d4f2aae08fcb46779033395adba96bca7e618852

Author: Xiaobo Liu

Committer: GitHub

## Message

```
agent_ui: Restore hover previews for image mentions (#58165)

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

Closes https://github.com/zed-industries/zed/issues/58153

Release Notes:

- Agent: Fixed image previews not being displayed after submitting a
prompt and then hovering the mentioned image.
```

## Parents

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

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