Skip to content

fix(tasks): match selected task status (#2) - #9

Merged
armnkumar321-spec merged 1 commit into
armnkumar321-spec:mainfrom
adityamukesh:feature/issue-2-status-filter
Oct 12, 2026
Merged

armnkumar321-spec merged 1 commit into
armnkumar321-spec:mainfrom
adityamukesh:feature/issue-2-status-filter

Conversation

@adityamukesh

Copy link
Copy Markdown
Contributor

Summary

Make the status dropdown filter tasks by the selected status: TODO, IN_PROGRESS, or COMPLETED. Selecting ALL restores the task list without a status restriction.

Closes #2.

Changes

  • Match task statuses using exact enum values.
  • Show all permitted tasks when ALL is selected.
  • Preserve Reset behavior.
  • Recalculate filtered results when task statuses refresh.
  • Preserve backend permissions without adding API requests.

Before

Before status filter fix

Selecting COMPLETED incorrectly leaves TODO and IN_PROGRESS tasks visible.

After

After status filter fix

Selecting COMPLETED shows only the completed task.

These images visualize actual React test results with mocked task data; they are not app screenshots.

Validation

  • Frontend production build passed.
  • Frontend lint passed with existing warnings.
  • 7 targeted status-filter checks passed.
  • Combined search/status verification passed.
  • All 16 unchanged backend API tests passed.

Browser smoke testing remains unverified because the preview environment was blocked. Full priority-filter composition depends on issue #3.

@armnkumar321-spec
armnkumar321-spec merged commit 8de548d into armnkumar321-spec:main Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Fix task status filtering

2 participants