Fix(challenges): code storage/uri#10200
Fix(challenges): code storage/uri#10200QuincyLarson merged 12 commits intofreeCodeCamp:stagingfrom BerkeleyTrue:fix/code-uri
Conversation
|
@BerkeleyTrue updated the pull request. |
1 similar comment
|
@BerkeleyTrue updated the pull request. |
|
@BerkeleyTrue please tag me once you have completed this one and deployed. I will confirm from my end that it is resolved in beta. |
|
@alayek Why not confirm from this PR instead? |
|
@BerkeleyTrue updated the pull request. |
|
@BerkeleyTrue ok. I thought this is WIP. |
|
@BerkeleyTrue updated the pull request. |
|
@alayek This is ready to QA |
|
@BerkeleyTrue just to confirm to test the use case for: I should first solve a couple of challenges on I know a QA should not ask questions to DEV, but you probably are best suited to guide. |
|
@raisedadead You can manually change edit your localStorage. Just go to the main site and copy from their. |
Also display a message to the user that we loaded in-progress code.
Fix(nav): points nav item propTypes
|
@BerkeleyTrue updated the pull request. |
|
@BerkeleyTrue updated the pull request. |
|
@BerkeleyTrue updated the pull request. |
|
@alayek Are you still QA'ing this? |
|
@BerkeleyTrue updated the pull request. |
|
@BerkeleyTrue QA'd LTGTM! |
Pulls code in this order
If present in uri (i.e. ?solution=function foo() {}). This will locks the challenge as running untrusted code until the user unlocks it manually.
If present in localStorage
If both of the above find nothing, it then looks at the user challengeMap if available and pulls the previous solution.
When a user completes a challenge, the local copy is removed.
closes #9115
closes #9984
closes #9598
closes #10052