elementary / elementary/code

Search option for opening branches

Open
#1,592 0 comments 1 reaction 0 assignees View on GitHub
Needs Design Priority: Wishlist
Dominant language
Vala
Stars
521
Forks
118
Avg merge
1d 8h
Merged PRs (30d)
14

Description

### Problem

When opening a branch from the context menu, the list is sometimes very long and the full branch names can also be long so it is hard to find the required one. Often part of the name is known but not the full name.

### Proposal

Have a "Search" option in the Branch context menu opening a dialog allowing a partial name to be entered and then the local and remote (if necessary) branches to be searched for matching entries. This could in principle replace the present "Local" and "Remote" and "Create" options. Such a "BranchChooser" dialog could be used in future for other functions.

### Prior Art (Optional)

On Github, the "Code" tab has a branch dropdown that includes a search entry with placeholder "Find or Create a Branch".

Contributor guide

Open the contributing guide

Research direction

Start by locating the branch context menu and its existing Local, Remote, and Create actions. Review how branches are currently opened, then define the search dialog's behavior for partial matches across local and remote branches; done means a matching branch can be selected and opened.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.