# Adjust the type arrangement on ManagedViews \(\#3354\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7a8da8ce115b0a896cef1d5f4976295ce7ffaf8e

Requested commit: 7a8da8ce115b0a896cef1d5f4976295ce7ffaf8e

Commit: 7a8da8ce115b0a896cef1d5f4976295ce7ffaf8e

Tree: 8e7a67c20859c159d86ea54fd42565cb57f04e42

Author: Mikayla Maki

Committer: GitHub

## Message

```
Adjust the type arrangement on ManagedViews (#3354)

Made the trait into a blanket-trait impl if you have it's two
constituent pieces (FocusableView and EventEmitter) to remove the
duplicated method. I also changed the struct to an enum for aesthetic
reasons (EventType::EventName feels self documenting to me) and added
some new `cx` APIs utilizing our new powers of dismissal.

Release Notes:

- N/A
```

## Parents

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

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

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