nilbuild / nilbuild/diffity

Local Storage for state

Open Beginner friendly
#16 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.