Skip to content

Filterable branch picker in New Task dialog #129

Description

@VitorRibeiroCustodio

🗣️ Foreword

Thanks for taking the time to read this feature request.

:person_frowning: Problem Statement

When creating a new task, the base branch is chosen from a native <select> dropdown (src/components/NewTaskDialog.tsx). With a large number of branches this is slow to navigate — you cannot type to filter, only scroll the full list. Repos with dozens of branches make picking the right base branch tedious.

❔ Possible Solution

Replace the native <select> with a searchable combobox:

  • A text <input> that filters the branch list as you type (case-insensitive substring match).
  • A dropdown list of matching branches below the input; selectable by click or arrow keys + Enter.
  • Keep the existing baseBranch() signal as the source of truth.
  • No backend change required — branch data already comes from IPC.GetBranches (git branch --list).

⤴️ Describe alternatives you've considered

  • Keeping the native <select> and relying on the browser's type-ahead — limited (matches only from the start of the option text, resets quickly, no visible filtering).

➕ Additional context

Scoped to the "New Task" dialog branch picker. No new IPC channel needed.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions