# agent_ui: Show notifications also when the panel is hidden \(\#40942\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 03e0581ee87d58cf77b9ecdc6523900d1ca256b1

Requested commit: 03e0581ee87d58cf77b9ecdc6523900d1ca256b1

Commit: 03e0581ee87d58cf77b9ecdc6523900d1ca256b1

Tree: e0f0c65ad6e12522db086936e42eed5d7d58f79c

Author: Charles McLaughlin

Committer: GitHub

## Message

```
agent_ui: Show notifications also when the panel is hidden (#40942)

Currently Zed only displays agent notifications (e.g. when the agent
completes a task) if the user has switched apps and Zed is not in the
foreground. This adds PR supports the scenario where the agent finishes
a long-running task and the user is busy coding within Zed on something
else.

Releases Note:

- If agent notifications are turned on, they will now also be displayed
when the agent panel is hidden, in complement to them showing when the
Zed window is in the background.

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
```

## Parents

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

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