# sidebar: Remove View More batched thread expansion \(\#53956\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3b2c12a111ea331e4b49efbf5e58375d507da211

Requested commit: 3b2c12a111ea331e4b49efbf5e58375d507da211

Commit: 3b2c12a111ea331e4b49efbf5e58375d507da211

Tree: 8a5c63015f84bdc95e9b5c5535e1b47e08200d90

Author: Nathan Sobo

Committer: GitHub

## Message

```
sidebar: Remove View More batched thread expansion (#53956)

Remove the `DEFAULT_THREADS_SHOWN` limit and the View More / Collapse
row from the sidebar thread list. When a project group is expanded, all
of its threads are now shown. Fold/unfold of project group headers is
preserved.

### Changes

- Remove `ListEntry::ViewMore` variant and `render_view_more`
- Remove `DEFAULT_THREADS_SHOWN`, `group_extra_batches`,
`set_group_visible_thread_count`, `expand/collapse_thread_group`
- Remove `visible_thread_count` from `ProjectGroupState`,
`SerializedProjectGroupState`, `ProjectGroup`, and persistence
- Remove `ShowMoreThreads` / `ShowFewerThreads` actions and vim
keybindings

cc @danilo-leal

Release Notes:

- N/A
```

## Parents

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

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