DevLeonardoCommunity / github-stats

Aggregating and displaying YOUR GitHub Stats in meaningful metrics (we learn web development in the meantime)
https://public-github-stats.vercel.app
MIT License
71 stars 36 forks source link

Add custom sorting #60

Open Balastrong opened 1 year ago

Balastrong commented 1 year ago

Describe the feature

Repositories are now sorted by number of PRs, we can add a dropdown to add some more custom sorting

It should be implemented because

No response

Did you think about any alternative?

No response

Additional context

No response

Extra fields

DomeT99 commented 11 months ago

Hi @Balastrong, for example sorted by PR status? It's a good idea a dropdown menu for custom sorting, but it's necessary choose type of options.

Let me know what you think :)

Balastrong commented 11 months ago

Hey @DomeT99, yeah a dropdown like that should be fine for now :)

In case we want to make it more sophisticated in the future there's always time to do that :D

DomeT99 commented 11 months ago

"Order by" is a small dropdown that has "Status" as its only option (algorithm to be defined).

Stats

Do you like it?

Balastrong commented 11 months ago

Looks good!

I'd probably move it to the right side, on the same line as the text filter, as it should apply on all three display formats :)