You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Merge button displays very little of the branch name #6099
Please describe the problem you think should be solved
The merge button in the branch dropdown has very little room for the branch name, so it's difficult to see for sure which branch you're merging into. It looks like it's currently a 9 character max before it gets truncated, which seems low.
[Optional] Do you have any potential solutions in mind?
We might consider rewording the button a bit to provide more space. We could buy a couple characters by saying "Choose branch to merge into [branch-name]" instead, or we could consider something a bit shorter overall.
That's exactly my worry @ampinsk is that when we use that elsewhere it implies an immediate action. So I think "Merge into [branch-name]" isn't quite right either. 😬
Thanks @tierninho! Might help with both of these problems by increasing the width in the dropdown @ampinsk. It wouldn't help with the current branch name width, but would allow for quickly scanning to switch to the desired branch instead of having to hover over each one if you use longer branch names.
@say25 Thanks! I think we were originally thinking it might not make it to this week's beta and therefore should be an iteration from 1.5, but thanks to @ampinsk and @outofambit's work it's already merged. Now if only you could just update that milestone directly. 😄 😢
Activity
ampinsk commentedon Nov 5, 2018
Would "Merge into [branch]" be too confusing? It might lead people to think it'll merge something right from the button.
billygriffin commentedon Nov 5, 2018
That's exactly my worry @ampinsk is that when we use that elsewhere it implies an immediate action. So I think "Merge into [branch-name]" isn't quite right either. 😬
tierninho commentedon Nov 5, 2018
Should we just expand the whole width of the pane? This would resolve other issues with longer branch names...
My hack attempt at 400px i/o of today's 300px:

ampinsk commentedon Nov 5, 2018
I'm going to play with widening the branch menu to resolve this 👍
tierninho commentedon Nov 6, 2018
related issue: #4569 and #4957
2x 🐦 🐦 1x 🗿
billygriffin commentedon Nov 6, 2018
Thanks @tierninho! Might help with both of these problems by increasing the width in the dropdown @ampinsk. It wouldn't help with the current branch name width, but would allow for quickly scanning to switch to the desired branch instead of having to hover over each one if you use longer branch names.
say25 commentedon Nov 7, 2018
@desktop/design & @billygriffin. This is 1.5.0 not 1.5.1 FYI
billygriffin commentedon Nov 7, 2018
@say25 Thanks! I think we were originally thinking it might not make it to this week's beta and therefore should be an iteration from 1.5, but thanks to @ampinsk and @outofambit's work it's already merged. Now if only you could just update that milestone directly. 😄 😢
say25 commentedon Nov 7, 2018
@billygriffin #GithubPaperCuts 🤔