# sidebar: Only migrate some threads \(\#52018\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5b0af8de90b5f88465ef371ea9e1357b944c8fef

Requested commit: 5b0af8de90b5f88465ef371ea9e1357b944c8fef

Commit: 5b0af8de90b5f88465ef371ea9e1357b944c8fef

Tree: 1f382a0f562abe4f29d6372daccca0b1b4987f21

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
sidebar: Only migrate some threads (#52018)

## Context

We now only migrate up to 10 threads per project to the sidebar and also
ignore threads that do not have a workspace

## How to Review

<!-- Help reviewers focus their attention:
- For small PRs: note what to focus on (e.g., "error handling in
foo.rs")
- For large PRs (>400 LOC): provide a guided tour — numbered list of
files/commits to read in order. (The `large-pr` label is applied
automatically.)
     - See the review process guidelines for comment conventions -->

## Self-Review Checklist

<!-- Check before requesting review: -->
- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A
```

## Parents

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

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