Improve the 'Select project to create issue' type of buttons

Problem to solve

With gitlab-ce#51955 we're introducing page titles where there's currently only one level of breadcrumbs in 11.5. The problem we'll have because of that is that the 'Select project to create issue' type of buttons are way too wide for mobile screens and won't fit nicely with the newly introduced titles.

image

Proposal

The interaction with the button is always the same, no matter where the user clicks, on the button or the downward facing chevron part, we always show the dropdown as the next step. Because of that, the label could be simply 'Create issue' and then the instructions in the dropdown could be 'Select a project to create an issue'.

Default Dropdown
image image

Links / references

Assignee Loading
Time tracking Loading