# agent: Fix review button not working while not focused in the message editor \(\#40144\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ad4a53c71ce929c18683cc3e218c30515721a0ce

Requested commit: ad4a53c71ce929c18683cc3e218c30515721a0ce

Commit: ad4a53c71ce929c18683cc3e218c30515721a0ce

Tree: 4505479257556f65d1608ed368cd4216ae4400c4

Author: Danilo Leal

Committer: GitHub

## Message

```
agent: Fix review button not working while not focused in the message editor (#40144)

This PR fixes a bug where the review icon button wouldn't properly open
the review tab if you weren't focused in the agent panel's message
editor. The solution was to register the action also at the workspace
level.

Release Notes:

- agent: Fixed a bug where the review icon button wouldn't work to open
the review tab if focus weren't in the panel's message editor.
```

## Parents

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

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