# component_preview: Clean up \`Component\` trait \(\#57731\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e4b81180c10b76ee7fe14495cf89d8c5a140dba3

Requested commit: e4b81180c10b76ee7fe14495cf89d8c5a140dba3

Commit: e4b81180c10b76ee7fe14495cf89d8c5a140dba3

Tree: 1644089dbafce5a73f76dba95771269cd14c6975

Author: Finn Evers

Committer: GitHub

## Message

```
component_preview: Clean up `Component` trait (#57731)

This primarily
- requires components to have a description as well as a preview
(especially having no preview makes no sense)
- implements some basic previews where missing
- adds a scrollbar to the preview navigation 

with a sadly large diff due to reformatting (less indentation 🎉 ), but
very little changes at its core.

Release Notes:

- N/A
```

## Parents

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

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