# agent: Show notifications when thread is not the active one \(\#53149\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 248cc134c6f8ecf1e537d1f43f0b5643bea82c94

Requested commit: 248cc134c6f8ecf1e537d1f43f0b5643bea82c94

Commit: 248cc134c6f8ecf1e537d1f43f0b5643bea82c94

Tree: 64eb435ed37e72fe1bdf326f0db27b4623a88785

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
agent: Show notifications when thread is not the active one (#53149)

We now always show a notification for a thread if it is not the active
one (even if the sidebar is open).
Also made clicking on the notification actually open the corresponding
thread (previously we would just changed the workspace)

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

Release Notes:

- N/A
```

## Parents

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

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