protontypes / climate-triage

Find your impactful open source contribution to climate technology and sustainability.
https://climatetriage.com
MIT License
32 stars 4 forks source link

Feat: sort projects based on download numbers #29

Closed Isaac-alencar closed 8 months ago

Isaac-alencar commented 8 months ago

Description

This PR replace the old sort method by least stars to most downloaded. Since this property was not found in the current structure of the project I had to update Projects and Repository types, now they have monthly_downloads property

Fixes #22

Type of change

How Has This Been Tested?

I have testes only visually and with some logs on the console (I recommend to test it as well). I notice that we do not have a test environment for React (with testing library). I would recommend to add a setup and write tests for some of our features (I can do that by the way)

Codeshark-NET commented 8 months ago

Awesome work @Isaac-alencar, looks good to me! 🚀 Thank you!