Skip to content

Comments

Add fuzzy search to task form project picker#470

Merged
bborn merged 1 commit intomainfrom
task/1483-improve-task-form-project-picker-with-se
Feb 21, 2026
Merged

Add fuzzy search to task form project picker#470
bborn merged 1 commit intomainfrom
task/1483-improve-task-form-project-picker-with-se

Conversation

@bborn
Copy link
Owner

@bborn bborn commented Feb 21, 2026

Summary

  • Replaces the horizontal left/right arrow project selector with an inline fuzzy search dropdown
  • Typing any character on the project field enters search mode with VS Code-style fuzzy matching
  • Results appear in a scrollable vertical dropdown (up to 8 visible, with scroll indicators)
  • Left/right arrows still work for quick cycling through projects
  • Reuses the existing fuzzyScore algorithm from the command palette

How it works

  1. Focus the Project field (shown in advanced mode)
  2. Start typing to fuzzy search - e.g. "wf" matches "workflow"
  3. Use up/down arrows to navigate results
  4. Enter or Tab to select, Esc to cancel
  5. Backspace on empty query exits search mode

Test plan

  • All existing UI tests pass
  • 6 new tests covering search mode, escape, backspace, view rendering, fuzzy matching, and empty query behavior
  • Manual testing with multiple projects to verify UX

🤖 Generated with Claude Code

Replace the horizontal left/right arrow project selector with an inline
fuzzy search dropdown. Typing any character when the project field is
focused enters search mode with VS Code-style fuzzy matching. Results
are shown in a scrollable vertical dropdown with up/down navigation.

- Enter/Tab selects, Esc cancels, Backspace on empty exits search
- Left/Right arrows still cycle through projects for quick selection
- Empty query shows all projects with current project pre-selected
- Reuses existing fuzzyScore algorithm from command palette

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bborn bborn merged commit b76eebd into main Feb 21, 2026
3 checks passed
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.

1 participant