Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keyword navigation that displays related keywords and lets you add more keywords to narrow to the intersection #489

Open
carols10cents opened this issue Dec 8, 2016 · 2 comments
Labels
A-frontend 🐹 A-keywords C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works

Comments

@carols10cents
Copy link
Member

As suggested by @pornel on PR #488:

Maybe categories could be built from tags the way StackOverflow does it?

Every tag search page has "Related tags" in sidebar that narrows down the search:

https://stackoverflow.com/questions/tagged/rust
https://stackoverflow.com/questions/tagged/rust+ffi
https://stackoverflow.com/questions/tagged/rust+ffi+python
https://stackoverflow.com/questions/tagged/rust+ffi+python+numpy

That seems to automatically create a good hierarchy.

I think this would be a great navigation affordance to add to keywords, regardless of categories!

@carols10cents carols10cents added A-ui C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works labels Dec 15, 2016
@jan-hudec
Copy link

This works great for StackOverflow, but they have the tag wikis and their editing is reputation-gated—and I think crates would need some similar mechanism. I think this could use:

  1. Number of downloads of crates you are uploader of could work as reputation.
  2. Tag descriptions could be suggested by anybody, but published only by users with certain reputation.
  3. Crates could be retagged by anybody with enough reputation, independent of uploading of new versions.
  4. There should be a mass retagging interface, requiring even more reputation, for larger restructuring of the tag cloud.

I think categories could develop into this. We can start with category set defined in #488, add the editing support and then switch from the categories defined in Cargo.toml to those set on the server.

@carols10cents
Copy link
Member Author

@jan-hudec Sorry, I meant for this issue just to be about adding a feature so that you could click on a keyword, then click on another keyword, and then you would see the crates that had both those keywords. That is, this issue is only about how you're able to navigate using existing keywords, not how keywords get assigned to crates. If you'd like to propose that someone other than crate authors could decide what keywords a crate should have, could you open a new issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend 🐹 A-keywords C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
None yet
Development

No branches or pull requests

3 participants