ScoopInstaller / scoopinstaller.github.io

ScoopInstaller homepage and search engine
https://scoop.sh
MIT License
78 stars 18 forks source link

Add an option to filter duplicated manifests #58

Closed gpailler closed 1 year ago

gpailler commented 1 year ago

I'm implementing a filter to detect duplicates and to exclude them from the search results. When this filter is enabled, only one manifest is displayed (based on name and version)

It's working quite well but I'm struggling with the name of the option. I'm currently using "Unique manifests" but I'm not convinced. @rashil2000 @rasa any thoughts?

https://user-images.githubusercontent.com/3621529/236657326-a06bdfbb-db03-4c8c-baa7-d54f084523a3.mov

gpailler commented 1 year ago

I ended up with "Distinct manifests only" wording.

https://github.com/ScoopInstaller/scoopinstaller.github.io/assets/3621529/0ff3d1ea-681d-45d2-9890-1cf78847794a

gpailler commented 1 year ago

This new filter is deployed on https://scoop.sh/ 🚀

hoilc commented 1 year ago

How about adding a prompt similar to Google's suggestion when omitting duplicated search results?

In order to show you the most relevant results, we have omitted some entries very similar to the 174 already displayed. If you like, you can repeat the search with the omitted results included.