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

Refactoring stats page #102

Closed theflucs closed 7 months ago

theflucs commented 7 months ago

Describe the feature

Refactor the stats page: separate the filters from the visualisation create utils functions to avoid repetitions

It should be implemented because

Making the code cleaner will increase readability and efficiency. It will also be easier to find and fix bugs or vulnerabilities in the code.

Additional context

To start off I would make a single ReposFilters component that groups all the filters code (without creating a new component for each filter). It cleans up a bit the stats page without being too verbose and leaves room for more refactoring if needed. @Balastrong how do you see it?

Would you like to work on this issue?

Yes

Balastrong commented 7 months ago

Sounds like a good plan, let's start moving stuff away from that huge page :D