# Rework collab panel rendering to use \`gpui::list\` \(\#3678\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 487edcb12b16d6bac8a329a1791cd50e152fe463

Requested commit: 487edcb12b16d6bac8a329a1791cd50e152fe463

Commit: 487edcb12b16d6bac8a329a1791cd50e152fe463

Tree: 2606ba88434bb39d4484d09e752b4cf6cbf55f53

Author: Marshall Bowers

Committer: GitHub

## Message

```
Rework collab panel rendering to use `gpui::list` (#3678)

This PR reworks the rendering of the collab panel to use `gpui::list`,
so that we don't render any items that are not visible on the screen.

In the process we also fixed some bugs in the channel list:

- Fixed the context menu for channels not deploying when activated via
keyboard
- Fixed drag and drop for channels
- Made it so when navigating the collab panel via keyboard the list only
scrolls enough to reveal the next item when navigating to an item that
is currently off-screen

Release Notes:

- N/A
```

## Parents

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

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

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