# Show when a channel resource changes \(\#3074\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 01b45f4f23dc08b54ae2fa5d7a67dedaea25ebc6

Requested commit: 01b45f4f23dc08b54ae2fa5d7a67dedaea25ebc6

Commit: 01b45f4f23dc08b54ae2fa5d7a67dedaea25ebc6

Tree: e5903439609495d2005f00bd2a221135bac840a1

Author: Mikayla Maki

Committer: GitHub

## Message

```
Show when a channel resource changes (#3074)

This PR adds a mechanism for notifying the client when a channel note
has been edited or a message has been changed.

TODO: 
- [x] Fix infinite loop when opening the chat panel
- [x] Switch to client-side ack model of observation detection
- [x] Add client-side-only change detection (e.g. for when a channel
note is open locally but not focused)
- [x] Review implementation / query performance.
- [x] Fix lack of ACK on restart for channel buffers
- [x] remove channel note opening on click
- [x] Fix channel messages sent while chat channel is in the background
not showing the channel as changed.

Release Notes:

- N/A
```

## Parents

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

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

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