# Optimize project panel subscriptions \(\#8846\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d7b5c883fec670539ceb40f3baa792bc1204f676

Requested commit: d7b5c883fec670539ceb40f3baa792bc1204f676

Commit: d7b5c883fec670539ceb40f3baa792bc1204f676

Tree: 054be8a22360a5d5cd56b1b46b4c04ca14da54ad

Author: Andrew Lygin

Committer: GitHub

## Message

```
Optimize project panel subscriptions (#8846)

The project panel now both observes all the project updates and
subscribes to project events it's interested in. The observing handler
updates the list of visible entries on any notification, which looks
pretty excessive.

This PR removes the observer completely, and adds missing event handlers
to the subscription, thus removing unnecessary work.

Release Notes:

- N/A
```

## Parents

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

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