refactor: share queue and kanban search surface #385

Merged
barrettruth merged 1 commit from issue-369-shared-task-search into main 2026-05-12 13:05:47 +00:00
Owner

Problem

Queue and kanban carried separate task search state, description/category filtering, compact search input markup, and result-count rendering.

Solution

  • Add a shared filterTasksByQuery helper and count formatter.
  • Add useTaskSearch for query/active/ref/input-key handling with optional kanban persistence.
  • Add a shared compact TaskSearchBar while preserving each view's existing keyboard-scope path and styling.

Verification

  • nix develop --command pnpm vitest run tests/lib/task-search.test.ts tests/lib/task-search-bar.test.tsx --reporter=verbose
  • nix develop --command just lint
  • nix develop --command just test
  • nix develop --command just build

Closes #369

## Problem Queue and kanban carried separate task search state, description/category filtering, compact search input markup, and result-count rendering. ## Solution - Add a shared `filterTasksByQuery` helper and count formatter. - Add `useTaskSearch` for query/active/ref/input-key handling with optional kanban persistence. - Add a shared compact `TaskSearchBar` while preserving each view's existing keyboard-scope path and styling. ## Verification - `nix develop --command pnpm vitest run tests/lib/task-search.test.ts tests/lib/task-search-bar.test.tsx --reporter=verbose` - `nix develop --command just lint` - `nix develop --command just test` - `nix develop --command just build` Closes #369
refactor shared task search
All checks were successful
quality / Test (pull_request) Successful in 17s
quality / Lint (pull_request) Successful in 20s
quality / Build (pull_request) Successful in 42s
9ad104cd76
barrettruth deleted branch issue-369-shared-task-search 2026-05-12 13:05:47 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/delta!385
No description provided.