heroheman / kirby-directory

📚 a frontend for kirby plugins
https://kirby.directory
8 stars 1 forks source link

Date year archive #7

Open jenstornell opened 6 years ago

jenstornell commented 6 years ago

I tried to search by date interval in the issue search on Github but failed. My idea was to create month archive links on my end.

If it could work we could see plugins from like january this year.

Maybe your tool is a better fit.

Again, just an idea.

heroheman commented 6 years ago

There is data, something like "created at". So it is possible. But I am not sure if there is a a real use case for this kind of function. Right now it's low prio..

jenstornell commented 6 years ago

The reason for it in my mind was to see missed plugins, like from the last month. It's possible to solve it in other ways as well.

Two other solutions:

heroheman commented 6 years ago

I may build a view like "new this month / last 3 months" btw @jenstornell is it possible to establish some kind of voting system on the issues? maybe with :+1: and :-1: - then I think I could also sort by popularity

jenstornell commented 6 years ago

That sounds like a really cool feature. Have you checked if the API gives you reactions?

If I promote something like it, I think I'll just promote to like to love, not to downvote, just to keep a good spirit.

But anyway, I think +1, Hooray and Heart should all go as a +1. The Laugh should probably be neutral (not counted) and -1 and Confused go as -1. Or maybe Confused is neutral as well.

Alternative

Another harder way you could do it is to visit every repo and check how many likes they have there.

heroheman commented 6 years ago

ok, good and bad news good: i just did some research. It is possbile, but only in the preview api. https://developer.github.com/changes/2016-05-12-reactions-api-preview/

bad: I may postpone this feature till the api is out of preview. Will open another issue for this.

the alternative way will trigger 480 different request. i think I cant do it.