WIP: Add "Merge manually..." option to MR accept widget
I really dislike having a line under the "From A to B" part. First is was the "Fetch this branch using ...", now it's "If you want to ...", which is better, but still looks bad.
Before:
After:
Like "command line" before, the "Merge manually" link opens the command line merge instructions modal.
Merge request reports
Activity
Added 1 commit:
- 956446e7 - Fix changelog.
@DouweM I agree.
mentioned in merge request !1116 (merged)
Added 1 commit:
- ffb244a5 - Use proper ellipsis rather than three periods.
@rspeicher I see what you mean, but not how using ellipsis rather than periods would help with that. I've made the change anyway, since it's more correct.
I don't think it will be confusing, because people are used to "..." in context menus (whether subconsciously or not), and "Merge manually" is a complete phrase without an obviously truncated part.
Added 13 commits:
-
ffb244a5...b833f208 - 12 commits from branch
master
- d81419c1 - Merge branch 'master' into mr-merge-manually
-
ffb244a5...b833f208 - 12 commits from branch
Reassigned to @rspeicher
Reassigned to @dzaporozhets
@DouweM I dont like it. Now command line instructions are available to everyone. You make it visible only to people who can merge it. Also in 90% I use command line instructions to try merge request - not to merge it. So link name makes no sense to me
@dzaporozhets In combination with !1116 (merged), the command line instructions will be available to everyone again, but with the name "Check out branch" (which applies to everyone) rather than the text saying it's about merging using the command line.
Also it makes no sense to have merge manually instructions inside form with automatically merge UI.
@dzaporozhets I agree it's odd. I was mostly trying to get rid of the extra line under "From A to B" which looks bad. Do you have other suggestions?
mentioned in merge request !1116 (merged)
I agree it's odd.
@DouweM then why do it?
@dzaporozhets Because I think it's better than the current look, even if the location doesn't make perfect sense. But remember that before you moved it below "From A to B", the text about merging on the command line was inside the accept widget as well.
Because I think it's better than the current look
@DouweM I dont agree. both looks bad.
But remember that before you moved it below "From A to B", the text about merging on the command line was inside the accept widget as well.
yes it was bad before, bad now and you propose to make it differently bad in future
😃 I think checkout button makes sense. But this MR - not. Propose better implementation.
mentioned in merge request !1116 (merged)
mentioned in merge request !1116 (merged)
mentioned in merge request !1116 (merged)
mentioned in merge request !1116 (merged)
@dzaporozhets Would it be an option to move the sentence back below "Accept Merge Request", so it is only shown for people with the ability to merge, and other users will use the "Check out branch" button?
If you do go with that, the text should be corrected to "If you want to try to merge this..."
That said, are we set on the wording? Read a certain way, it's almost condescending, like "If you think you can handle working on the command line...". Maybe "You can also accept this merge request manually using the [command line]."?
@rspeicher makes sense to change wording since we would have
checkout button
@DouweM I will do.
mentioned in commit cb6ad67f
mentioned in merge request !1141 (merged)
Close in favor of !1141 (merged)
mentioned in commit 6a82c9f0