Todos are not saved between visits

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
88/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript, vite
Domain
frontend, web-dev

Research direction

Start in apps/web by locating the todo state initialization and the add/update flow. Persist the list under the localStorage key todos and restore it on startup; verify with pnpm --filter @software-factory/web test and pnpm --filter @software-factory/web lint from the repository root.

Written by the indexing model from the issue text.

Description

factory

If I refresh the page or close the tab, my whole todo list is gone. Steps: add a few todos, reload the page. Expected: the list is restored from where I left off. Please persist todos in localStorage under the key todos and load them back in on startup.

The app is the Vite todo app in apps/web. Run its checks from the repository root with pnpm --filter @software-factory/web test and pnpm --filter @software-factory/web lint.

Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

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.

More from getsentry/software-factory

All issues in getsentry/software-factory

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.