Multiple Switch branch/tag drop-down UX issues
There are some usability issues with the drop-down used to switch branch/tag. I'm using Google Chrome 51.0.2704.103 m on Windows 7
To reproduce:
- Browse to repo e.g. https://gitlab.com/gitlab-org/gitlab-ce
- Select any page that allows switching branch or tag e.g. Repository, Graphs, files, Commits, Network, Changelog, License, Contribution Guide, etc (I used Commits)
- Click on Switch Branch/Tag drop-down at upper-left of page so that cursor is in Search branches and tags text box
Then:
- Type a branch name e.g.
build-auto-refresh
- Press the enter key
- Resulting URL is: https://gitlab.com/gitlab-org/gitlab-ce/refs/switch?utf8=%E2%9C%93&destination=commits which returns a 404.
Or:
- Type the name of the current branch e.g.
master
- Use the mouse to select the current branch from the resulting list (i.e. select the branch that is already ticked)
- Resulting URL is: https://gitlab.com/gitlab-org/gitlab-ce/refs/switch?utf8=%E2%9C%93&destination=commits which returns a 404.
Or:
- Type the name of a branch, or part thereof e.g.
18627
- Then use the down cursor key several times (i.e. past the position of the filtered branch name)
- Press enter
- The selected branch/tag is not visually indicated as the cursor key is pushed and the branch that is actually selected is one as if the cursor key is operating on the original, unfiltered branch/tag list.
Or:
- Use the drop down to browse to another branch
- Use the drop down to select to return to the previous branch again
- Although this works, there is no indication that anything is happening. The browser does not indicate that it is loading another page, nor does GitLab (e.g. with the red progress line at the top of the page). I have not been able to fully determine the exact circumstances where this does or does not happen - I had thought there was indication for some branch switching and it was only not indicating when browsing to previously browsed branches, but now I cant get it do display any indication when browsing to any branch :\