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

[FEAT] Search/filter by badge #231

Open
claytonrcarter opened this issue Jan 18, 2024 · 1 comment
Open

[FEAT] Search/filter by badge #231

claytonrcarter opened this issue Jan 18, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@claytonrcarter
Copy link

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:

  • Only "outdated" to see which of my packages may need to be updated manually
  • Only "broken" to see which of my packages may be silently malfunctioning
  • Only "Made for Pulsar" to see some of the new energy in the Pulsar community

Thank you!

@claytonrcarter claytonrcarter added the enhancement New feature or request label Jan 18, 2024
@confused-Techie
Copy link
Member

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.

  • creation: Which could allow options of pulsar or atom which could return listings of packages that were originally published for Atom, or obviously the ones originally published for Pulsar. (Which should accomplish filtering the "Made for Pulsar" badge.)
  • badge: At first this may just be a boolean option that allows discovery of a package containing any badge, this would return any package that contains "Broken", "Outdated" or any other badges, besides "Bundled" or "Made for Pulsar" (As those badges are added during delivery time, rather than baked into the package data). Then if I am eventually able to find a way to filter by a specific badge, we can expand this same query parameter from a simple boolean to supporting a string allowing specification of the badge type to filter by.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants