codesandbox / codesandbox/codesandbox-client
Codesandbox Saving Color Theme and Autosave
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13.6k
- Forks
- 2.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 2
Description
So,
I'm setting my color theme and autosave settings in codesandbox, and it works while I'm on the editor, but when I reload the page, the settings are no longer saved. I have looked at the localStorage and it seems like my settings are being set to the default when the page reloaded. Any idea how I can fix this?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in CodeSandbox by changing the color theme and autosave settings, then reloading while inspecting localStorage. Trace where those settings are written and reset during page initialization. Done means both settings persist after reload; no file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100