Local Storage for state
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 775
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
Could Local Storage could be an option for state - like showing/hiding the sidebar?
That way, when we refresh or the browser hot reloads when changes are made, the state is preserved and the UI doesn't jump/
I know we could also use --unified if using from the cli, but we could store this default in local storage also and, if changed, it would persist that preference for when the browser refreshes.
Contributor guide
No contributing guide indexed for this repository
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
Start at the browser UI state controlling sidebar visibility and the --unified preference. Trace how those options are initialized and changed, then persist them in Local Storage so refreshes and hot reloads preserve the UI; done means the saved preferences are restored consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100