# Rename \`ThreadMetadataStore\` to \`SidebarThreadMetadataStore \` \(\#51913\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ec872cad00e098a094368fbac94ea8793056dfb3

Requested commit: ec872cad00e098a094368fbac94ea8793056dfb3

Commit: ec872cad00e098a094368fbac94ea8793056dfb3

Tree: 45c5512c3e25569c7f0e0e409b3cc79fdbb65bc5

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
Rename `ThreadMetadataStore` to `SidebarThreadMetadataStore ` (#51913)

## Context

Renamed ThreadMetadataStore to SidebarThreadMetadataStore.
There was some confusion yesterday on what metadata should be stored in
`ThreadMetadataStore.
Only threads that should show up in the sidebar should be stored here
(effectively all non-archived ones). Hopefully the rename + doc comment
added makes this clearer.
Unfortunately we cannot move it into the sidebar crate since we need it
in the archived history view too.

## How to Review

This is purely a cosmetical change

## Self-Review Checklist

- [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

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

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