pub-dev icon indicating copy to clipboard operation
pub-dev copied to clipboard

Enable searching for packages with topics with `#<topic-name>`

Open parlough opened this issue 1 year ago • 2 comments

Since topics are presented as hashtags, I believe users expect to be able to search for them in the same way since other platforms with hashtags do as well.

It's otherwise not obvious how to search for a topic (topic:<name>), as it's not an option in the left form. Users will only learn by reading the documentation or by clicking on a topic. It should be instantly intuitive and relying on the well-known search behavior of hashtags from other platforms should provide that :)

I would expect specifying more than one would topic would require them all to be specified by the listed packages. That way users can dive down into a topic subcategory. For example #server #html.

This should be verified to not break quoted "#<topic name>" literal text search.

parlough avatar Sep 29 '23 21:09 parlough

\cc @szakarias For your thoughts :)

parlough avatar Oct 10 '23 14:10 parlough

Great idea!

szakarias avatar Jan 15 '24 12:01 szakarias