Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Challenge point save fix. #200

Closed
wants to merge 1 commit into from
Closed

Challenge point save fix. #200

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Mar 14, 2015

Fix for #194.

Completing a Challenge was resetting user.points to the total number of Challenges completed causing Bonfire points to be discarded.

user.challengesCompleted wasn't being used so I updated the code to use it to track completed Challenges. I'm not sure if I went the best way using it though. I copied the user.challengesHash setting to mirror the challenges since I didn't want to mess with code that was already being used. So whenever you add a new Challenge in the future you will need to add the same to challengesCompleted.

@QuincyLarson
Copy link
Contributor

Hi James, thank you for the pull request. We've already fixed this properly on a different branch that will hopefully be pulled into production in the next few days. All points will be representative of challenges and bonfires completed.

The challenges themselves will be replaced with our new coursewares.

Sorry it's taking so long to merge this branch into production. It's a big branch with Loopback, React, IO.JS and a lot of other technologies and we're not planning to have crazy branches like this holding up feature development in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant