-
-
Notifications
You must be signed in to change notification settings - Fork 44.1k
After submitting a challenge, remove its code from browser's local storage #9115
Copy link
Copy link
Closed
Labels
help wantedOpen for all. You do not need permission to work on these.Open for all. You do not need permission to work on these.
Description
Our storage of incomplete code has caused a ton of confusion. Many campers switch browsers or devices, then visit a previously completed challenge only to think that "Free Code Camp has lost my code!"
The reason we store campers' code in a browser is to prevent them from losing this code if their browser crashes.
- As a camper, once I submit a solution to a challenge, my stored solution should be removed from my browser's local storage so I next time I view this challenge.
- As a camper, if I return to a challenge and a partial solution for that challenge is available in my local storage, it should load my partial solution (as it currently does). I should see a flash message that says "We have loaded your partial solution below. Good luck finishing and submitting it."
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedOpen for all. You do not need permission to work on these.Open for all. You do not need permission to work on these.