Display icons for crate owners in search results #4323
carols10cents
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some crates use an informal namespace of
maincratename-something
to indicate that a crate is meant to work with a set of crates, such asserde-json
works withserde
.When you're searching for a crate to use with another crate, it would be useful to know whether a crate is owned by the same team/individuals as the main crate or not.
We currently display owner icons on an individual crate's page in the sidebar on the right:
I'm proposing we add this to the search page, so that the search results for "serde" look like:
This way, you can scan and see that oh, serde-json is owned by the same folks as serde, serde_json_experimental is owned by one of the people that owns serde, and alt_serde_json is owned by a completely separate person.
Teams should be listed first, then users, which I think is what happens on the crate page already.
This will add another join to the already gnarly search query :-/
I'm no designer (as I'm sure you can tell by my mockup), and any design needs to work for desktop widths as well as mobile widths.
Beta Was this translation helpful? Give feedback.
All reactions