Changed Files - Copy to Clipboard
Intended users
Any
Proposal
In the web interface: When viewing commits and merge requests, the web user can see the list of changed files. I would like to propose an option to copy the list of changed files and their paths to clipboard for the ability to paste the list of changed files.
Perhaps, the placement for the icon, button, or anchor to copy changed files to clipboard could be on the same line that tells the user how many changed files there are or in the dropdown that displays the list of changed files. Please see screenshot below.
For example, if the list of changed files includes views/layouts/single_column.ctp and views/layouts/two_column.ctp as changed files, I would like to be able to click on an icon that is designated to copy all changed files to clipboard, then when I paste them in an editor, email, or elsewhere each changed file will be pasted on a separated line.
Example of pasted changed files from clipboard:
views/layouts/single_column.ctp
views/layouts/two_column.ctp
Although not required for this feature proposal, a nice addition would be to display the type of change belonging to each changed file. Example:
deleted: views/layouts/single_column.ctp
modified: views/layouts/two_column.ctp
new file: views/layouts/expiremental.ctp