"Completed" filter shows the wrong todos

Open Beginner friendly
#3 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
84/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 reproducing the filter behavior with two todos and one completed item. Trace the completed filter's selection logic and verify it returns only checked-off todos. Run pnpm --filter @software-factory/web test and pnpm --filter @software-factory/web lint from the repository root; done means both checks pass and the completed tab shows only completed todos.

Written by the indexing model from the issue text.

Description

factory

Switching the filter to "completed" shows my unfinished todos instead of the ones I checked off. Steps: add two todos, complete one of them, click the "completed" filter tab. Expected: only the completed todo shows up. Instead I see the one that is still active.

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.