Remove modals and buttons that summon them from MR widget
UX @dimitrieh FE @fatihacet Issue idea came from: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9253#note_24107989 by @jschatz1 It will need gitlab-ce#25424 to be finished first or at the same time #### Problem With gitlab-ce#25424 we do not yet attend these buttons: ![image](/uploads/e3629a8c9a68e8901f1aa04f9e957a63/image.png) which can summon this modal: <img src="/uploads/40df1ce8ecb18dc38cf208bdd319a0d2/image.png" width=400/> Modals are not the best UX, let's see if we can change this for the better. #### Proposal Replace the modal with a better solution ### Design - [ ] remove "check out branch" button - [ ] add copy to clipboard button for branch - [ ] converting download button to an icon button - [ ] Clicking `Expand or Collapse` after "command line instructions" will expand and collapse this section which was previously in "check out branch" button at the bottom of the merge request. (similar functionality as to https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11379) ![MR-command-line-instructions](/uploads/bac2ca919668a9c80262f6d386175f28/MR-command-line-instructions.png) #### Value no modals, quicker access to complete its usecases #### Related issues gitlab-ce#25424 #### CC/Call to actions @filipa @grzesiek @godfat (do you use these buttons? if so, what for? For example I only copy the first box to my clipboard to get to the branch in my local git repo)
issue