# repl: Refactor editor registration \(\#14819\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5467e18a5b09570782a5bcd5503fab921e572d8a

Requested commit: 5467e18a5b09570782a5bcd5503fab921e572d8a

Commit: 5467e18a5b09570782a5bcd5503fab921e572d8a

Tree: 6db9aab4d57ce644860d051e881f75d2fa484f1d

Author: Kyle Kelley

Committer: GitHub

## Message

```
repl: Refactor editor registration (#14819)

Cleans up action registration with the editors and also fixes a major
bug where only one workspace's panel was getting session info (due to my
not understanding that `cx.observe_new_views` is for the whole app).

Release Notes:

- N/A

Co-authored-by: Conrad <conrad@zed.dev>
```

## Parents

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

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