Hacktoberfest / hacktoberfest-2020

Hacktoberfest - App to manage the annual open-source challenge, used for the 2019 & 2020 seasons.

Home Page:https://hacktoberfest.digitalocean.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Display persisted pull requests in profile once the user enters the completed state

johndbritton opened this issue · comments

When the user enters the completed state, we save a receipt of the pull requests that they used to win Hacktoberfest.

We need to update the profile page to display the pull request data that was persisted in the db for users that have made it to the completed state or further (won_shirt, won_sticker)

The change is needed because the data on GitHub can change. Repositories can be deleted and pull requests can be marked invalid. Once the user has entered completed, they win and we don't want to confuse them by showing fewer pull requests or that a winning pull request is now invalid.

We also want to make sure that the score is accurate. This is simple enough to set to 100% if the user is in the completed state or later.

Fixed in #365