sourcerer-io / sourcerer-app

🦄 Sourcerer app makes a visual profile from your GitHub and git repositories.
https://sourcerer.io/start
MIT License
6.73k stars 281 forks source link

Doubling the repositories on refresh #618

Closed ghost closed 3 years ago

ghost commented 3 years ago

while updating repositories from refresh the value on the total repositories are getting doubled for ex: it shows updating 3 out of 12 repositories and on clicking update repositories it showsupdating 6 out of 24 repositories and more the clicks the double the values are changing

Zircoz commented 3 years ago

Hey @Lalisfeed , it is happening because every refresh click makes a stack of repos to be "refreshed" or reevaluated, as you click multiple times, it keeps on adding on to that stack. I am not sure if this project is still maintained, but a possible fix would be to disable that button while repos are still getting evaluated.

ghost commented 3 years ago

That's a good idea I guess