pulsar-edit / package-backend

Pulsar Server Backend for Packages
https://api.pulsar-edit.dev
MIT License
11 stars 11 forks source link

[FEAT] Search/filter by badge #231

Open claytonrcarter opened 5 months ago

claytonrcarter commented 5 months ago

Is your feature request related to a problem? Please describe. I recently started using Pulsar after spending a while away after Atom was sunset. Most of the packages I had installed for Atom continue to work, which is great, but after looking around at the packages I have found that some of my previously installed are badged with "Outdated" or "Broken" or whatever. I also see that there are some packages that have been explicitly "Made for Pulsar". As it is, I don't see a way to only view "Outdated", "Broken" or "Made for Pulsar" packages. Sorry if this is in fact possible, but I looked on the site, on the API, and glanced at some docs without seeing how.

Describe the solution you'd like Being able to list only by badge would help me audit my installed packages, and discover new ones. Eg:

Thank you!

confused-Techie commented 5 months ago

Thanks a ton for contributing!

This is a great suggestion to consider, although I'd like to just quickly clarify that while we can and should add these flags to the search, this will not effect search of installed packages in Pulsar, that behavior will need to additionally be added within settings-view.

But otherwise, I think it's a great idea to be able to filter packages based on flag status. Being able to filter based on "Made for Pulsar" is more than trivial, although filtering based on "Outdated" and "Broken" may be more difficult. What I may look at doing, even if just temporarily is adding two new filtering mechanisms.

I think this is the most realistic approach, but what do you think?