Allow copying target branch name in merge request widget

Problem

image

Today, clicking the clipboard icon copies the source branch to the clipboard, but the same functionality is missing for the target branch.

Sometimes developers base their merge requests on branches other than master (default branch). Because they are working on a bigger issue or on somebody else's work. There can be many of these branches and can have long names, making hard to remember them. In merge requests, long target branch names are truncated with …. Therefore it becomes painful to get the target branch name because one has to either go to the original merge request and then copy/paste the original source branch or inspect the element and get the name from there.

Proposal

Add a “copy to clipboard” button for the target branch, similar to the source branch.

Original proposal

It would be nice to alt+click to get the target branch.

Edited Mar 03, 2020 by Pedro Moreira da Silva
Assignee Loading
Time tracking Loading