useful-forks / useful-forks.github.io

Improving GitHub's Forks list discoverability through automatic filtering. The project offers an online tool and a Chrome extension.
https://useful-forks.github.io/
MIT License
1.19k stars 61 forks source link

[Feature request] Allow filter dates #37

Closed Aokromes closed 1 year ago

Aokromes commented 3 years ago

how about allow search only forks updated the last 1 day / 1 week / 1 month / 1 year / custom?

payne911 commented 3 years ago

That's a good idea. I would have to think about how I would integrate that into the UI.

Moreover, I think this could actually help with the restriction on the amount of calls because (iirc) that information is returned before I have to make an API call to obtain the before and after values.

However, keep in mind I'll unfortunately be busy with other things until October, though.

takos22 commented 3 years ago

There could be a filter to every column, like if I only want forks that are no commits behind and at least 10 commits ahead.

payne911 commented 1 year ago

There could be a filter to every column

I think this would be the best approach. It would ultimately unclog the "Settings" dialog which itself could be used for some more complex related things (for example, I have this idea about offering different scanning strategies to users, and maybe having the default be an automatic swap between strategies based on the amount of forks of the queried repo).

The right way to implement this would be to keep the entire result list in memory, and to only display a subset based on filtering preferences. The current implementation just throws away the data which doesn't meet the provided criterias, so it isn't flexible enough to support this kind of use-case.

I'd be stoked if someone wanted to work on this. :)