useful-forks.github.io icon indicating copy to clipboard operation
useful-forks.github.io copied to clipboard

[Feature request] Allow filter dates

Open Aokromes opened this issue 3 years ago • 2 comments

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

Aokromes avatar Aug 16 '21 01:08 Aokromes

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.

payne911 avatar Aug 16 '21 06:08 payne911

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.

takos22 avatar Nov 01 '21 15:11 takos22

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. :)

payne911 avatar Dec 06 '22 06:12 payne911