This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 227570

Summary: GIT's "Switch to branch"-dialog looks different to HG-"Switch to branch dialog": Missing branchname filter and branchname selection as list
Product: versioncontrol Reporter: markiewb
Component: GitAssignee: Ondrej Vrabec <ovrabec>
Status: RESOLVED FIXED    
Severity: normal CC: git
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Comparison of the GIT and HG dialogs

Description markiewb 2013-03-16 23:49:45 UTC
Created attachment 132697 [details]
Comparison of the GIT and HG dialogs

See screenshot. GIT's "Switch to branch"-dialog looks different to HG-"Switch to branch dialog"

IMHO the HG-dialog has better UX, so the GIT dialog should adopt this.

ACTUAL:
The GIT dialog 
* misses filter for branchnames (available in hg dialog)
* shows the branches as dropdown (hg dialog shows them as list)

EXPECTED:
Align the GIT dialog UI to the HG dialog!
That means:
* add filter for branchnames
* show branches as list
Comment 1 Ondrej Vrabec 2013-03-17 17:59:29 UTC
not a defect, i find the current state sufficient. BTW, who says that mercurial has to act as a UI specification for Git?
Comment 2 markiewb 2013-03-17 18:30:45 UTC
(In reply to comment #1)
> who says that mercurial
> has to act as a UI specification for Git?
You are right. But as a user who frequently switches between Git and Hg I wonder about the different usability. I always wonder where have i seen this or that feature in the dialogs.
Comment 3 Ondrej Vrabec 2013-03-18 09:37:55 UTC
i'll at least modify the list model so you can jump in the list while typing a branch name. Something like the quicksearch in the projects view.
Comment 4 Quality Engineering 2013-03-19 02:02:01 UTC
Integrated into 'main-golden', will be available in build *201303182300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/467a1c8b4586
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #227570 - GIT's "Switch to branch"-dialog looks different to HG-"Switch to branch dialog"
Allowing jumping through the list of branches while typing a branch name
Comment 5 Ondrej Vrabec 2013-09-02 11:43:44 UTC
maybe it could also be useful something similar to mercurial: mercurial -> Branch submenu offers 2-3 recent branches you used. We could have:
Branch -> Switch to...
Branch -> Switch to master
Branch -> Switch to other_branch
in the menu
Comment 6 Ondrej Vrabec 2013-09-10 11:08:05 UTC
fix: http://hg.netbeans.org/core-main/rev/beb6558d0934
Comment 7 Quality Engineering 2013-09-12 01:22:09 UTC
Integrated into 'main-silver', will be available in build *201309120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/beb6558d0934
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #227570 - GIT's "Switch to branch"-dialog looks different to HG-"Switch to branch dialog": Missing branchname filter and branchname selection as list
- remember last switched branches and offer them in the popup menu
- switch branch dialog offers branches in the list an provides quick search