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

[FEATURE REQUEST] Button to filter source #584

Closed
ppvnf opened this issue Jan 3, 2023 · 11 comments · Fixed by #1353
Closed

[FEATURE REQUEST] Button to filter source #584

ppvnf opened this issue Jan 3, 2023 · 11 comments · Fixed by #1353
Labels
new-feature A new feature that could be useful in WingetUI ready-to-go

Comments

@ppvnf
Copy link
Contributor

ppvnf commented Jan 3, 2023

Is your feature request related to a problem? Please describe.

I think it would be useful to have a button that allows only a certain source to be shown (Scoop, Winget, Local PC, etc.)

Describe the solution you'd like

Examples:

  1. In the discovery section, selecting the option to filter Winget (possibly using a combo box) would hide all pkgs from Scoop (instead of having to go to settings and disable Scoop). EDIT: maybe selecting the scoop bucket would be useful as well.

  2. For the update section I thought about having an option to update all Scoop / all Winget packages separately, but I personally just update everything regardless, so I don't think I would use it.

  3. In the uninstall section it would be useful for seeing all packages from MSStore or from a specific bucket.

The button could be similar to #223 and #339

Edit:
If you think it is useful/easy to implement (I'm not sure actually) this button could also enable/disable case-sensitive search
Maybe you could also include instant search and show unknow version (update section) inside of it as well to optimize space utilization

Icon suggestion (a simple arrow pointing down, not necessarily this one):

long-arrow-down

@ppvnf ppvnf added the new-feature A new feature that could be useful in WingetUI label Jan 3, 2023
@marticliment
Copy link
Owner

you can just sort by source. it should do the job, shouldn't it?

when winget 1.4 gets released with tags, I was planning some kind of refine results section.

@ppvnf
Copy link
Contributor Author

ppvnf commented Jan 4, 2023

Yes, it probably makes sense to wait for Winget 1.4. Sorting by source does the job most of the time, but being able to filter out a certain source would be cleaner/easier for the user and it would allow sorting packages of Scoop or Winget by name/id/version/selected

@ppvnf
Copy link
Contributor Author

ppvnf commented Feb 19, 2023

I guess this also depends on #712

@ppvnf
Copy link
Contributor Author

ppvnf commented Jun 20, 2023

I think this feature is more important now that so many package managers are supported

@neoOpus
Copy link
Contributor

neoOpus commented Aug 6, 2023

I concur, this feature is more important than many other requests. A dropdown list or, even better, checkboxes for each of the sources or maybe both.

@ppvnf
Copy link
Contributor Author

ppvnf commented Sep 16, 2023

it looks pretty good, just a small suggestion. What do you think about opening the panel on the right side since the button is on that side?

@marticliment
Copy link
Owner

Well, I did put it on the left side because panels similar to it tend to show on the left side of the window:

  • Any online website (amazon for example) show their filtering options on a panel positioned on the left.
  • Windows explorer has a similar layout: sub-pane on the left and main window on the right.
    It made sense for me to show it on the left side. I think otherwise it would be a little bit counter-intuitive

@marticliment marticliment removed this from the Features milestone Sep 24, 2023
@olee
Copy link

olee commented Jan 13, 2024

It looks like it is not possible to filter out "Local PC" right now - would it be possible to add that to the filter?

@marticliment
Copy link
Owner

It looks like it is not possible to filter out "Local PC" right now - would it be possible to add that to the filter?

They are currently tied to Winget, since Winget is the Package Manager in change of loading them.

However, I will take this suggestion into account

@ppvnf
Copy link
Contributor Author

ppvnf commented Jan 14, 2024

how about having an expandable submenu like this
Screenshot 2024-01-14 134840

@marticliment
Copy link
Owner

Yes, this could be it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature A new feature that could be useful in WingetUI ready-to-go
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants