Skip to content

Branch selector field is too small

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

The field to show and select a source branch is too small. Even on large screens the field does not make use of the empty space.

The popup to select branch branches is not resizable too and is hard to use.

What is the current bug behavior?

The field to select a branch has a fixed width. This is fine for trivial branch names like "main" or "develop", but is too small for for more sophisticated naming schemes like "features/<developer>/<version>/<feature-name>". Despite using the "Fluid" layout width, the field size remains fixed. Instead, there is a lot of unused empty space.

When selecting a different branch, a tiny popup appears. This popup is also too small when a non-trivial number of branches exists. This is often the case when many developers work on the same repository. It is hard to select the desired branch without typing it its full name manually. The popup scrolls both horizontally and vertically, which looks ugly and is hard to use. There is no option to make the popup larger, not even temporarily.

What is the expected correct behavior?

  • Currently, the branch field can display about 15 characters. It should be able to show at least 50 characters.
  • When using the Fluid layout, the field shoule make use of the available space.
  • The branch selector popup should be of the same width as the field.
  • If increasing the size of these elements is not possible, users should at least be able to grab some kind of "resizer" and make them larger.

Relevant logs and/or screenshots

gitlab1.png

gitlab2.png

Version

We are currently using GitLab Enterprise Edition v16.6.2-ee

Edited by 🤖 GitLab Bot 🤖