# sidebar: Add several refinements \(\#51980\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 690d5af735a5253ad40d83c97b9e25e439c5a74d

Requested commit: 690d5af735a5253ad40d83c97b9e25e439c5a74d

Commit: 690d5af735a5253ad40d83c97b9e25e439c5a74d

Tree: 83fc3bc5d6c4f28c50f3407ab9d13ed16232ea80

Author: Danilo Leal

Committer: GitHub

## Message

```
sidebar: Add several refinements (#51980)

## Context

- Improve how we detect when the sidebar should render the empty state.
It was previously wrong using `content.entries.is_empty`, which would
also happen if there are no search matches.
- Improved archive view keyboard nav and design. Not using the ListItem
here anymore so as to avoid confusing hover and active states.
- Move archive and open folder buttons to the bottom of the sidebar.
- Add a new flavor of the recent projects for the sidebar that only
serves as a way to _add_ projects.
- Add the ability to add (and remove) folders to a given project group
in the sidebar through a dropdown menu
--- 
- [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

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

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