Skip to content

feat(tasks): add filter for automated vs manual evidence tasks#2380

Merged
Marfuen merged 3 commits intomainfrom
sale-2-filter-tasks-by-automation-status
Apr 2, 2026
Merged

feat(tasks): add filter for automated vs manual evidence tasks#2380
Marfuen merged 3 commits intomainfrom
sale-2-filter-tasks-by-automation-status

Conversation

@tofikwest
Copy link
Copy Markdown
Contributor

Summary

  • Adds an "Automated / Manual" filter dropdown to the task list, matching the existing filter pattern (status, assignee, framework)
  • Client-side filtering using automationStatus field already present on tasks
  • Filter state stored in URL via nuqs for shareable/bookmarkable views

Test plan

  • Unit tests added (7 tests covering all filter states)
  • Verify filter dropdown appears next to existing filters
  • Verify selecting "Automated" shows only automated tasks
  • Verify selecting "Manual" shows only manual tasks
  • Verify "All types" resets the filter
  • Verify result count updates correctly

Resolves SALE-2

🤖 Generated with Claude Code

Resolves SALE-2

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@linear
Copy link
Copy Markdown

linear bot commented Mar 30, 2026

@cursor
Copy link
Copy Markdown

cursor bot commented Mar 30, 2026

PR Summary

Low Risk
Low risk UI/client-side filtering change that only affects task list presentation and URL query state; no backend or data mutation logic is modified.

Overview
Adds an Automation type dropdown (All types / Automated / Manual) to TaskList, persisting the selection in the URL via nuqs (automationStatus) and applying it to the client-side filteredTasks predicate.

Updates the result-count visibility logic to include the new filter, and adds a focused unit test suite (TaskList.test.tsx) covering default, AUTOMATED, and MANUAL filter behavior plus dropdown option rendering.

Written by Cursor Bugbot for commit 2eae37f. This will update automatically on new commits. Configure here.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
app Ready Ready Preview, Comment Apr 2, 2026 8:07pm
comp-framework-editor Ready Ready Preview, Comment Apr 2, 2026 8:07pm
portal Ready Ready Preview, Comment Apr 2, 2026 8:07pm

Request Review

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Use getAllBy* selectors to handle multiple Select components rendering
with overlapping testids in the mocked UI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Marfuen Marfuen merged commit 2fa21e4 into main Apr 2, 2026
7 of 9 checks passed
@Marfuen Marfuen deleted the sale-2-filter-tasks-by-automation-status branch April 2, 2026 20:07
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.

2 participants