refactor: share queue and kanban search surface #369

Closed
opened 2026-05-11 21:02:07 +00:00 by barrettruth · 0 comments
Owner

Parent: #355

Problem

Queue and kanban duplicate task search state, task filtering by description/category, / focus, Escape clearing, Enter blur behavior, and result-count UI.

Solution

Extract shared search helpers/components:

  • common filterTasksByQuery helper
  • useTaskSearch hook with optional persistence
  • shared compact search bar component preserving existing behavior

Acceptance criteria

  • Queue and kanban use the same search/filter contract.
  • Current focus, Escape, Enter, and persistence behavior is preserved.
  • Tests cover the shared filter helper and at least one view integration path.
Parent: #355 ## Problem Queue and kanban duplicate task search state, task filtering by description/category, `/` focus, Escape clearing, Enter blur behavior, and result-count UI. ## Solution Extract shared search helpers/components: - common `filterTasksByQuery` helper - `useTaskSearch` hook with optional persistence - shared compact search bar component preserving existing behavior ## Acceptance criteria - Queue and kanban use the same search/filter contract. - Current focus, Escape, Enter, and persistence behavior is preserved. - Tests cover the shared filter helper and at least one view integration path.
Sign in to join this conversation.
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#369
No description provided.