Add copy link feature for line number in Display Source for single file
Problem to solve
I was trying to quote a line of code for an issue and I went to a specific file. So instinctively, I thought that upon clicking the line number, not only will the URL be shown for that file but it will also be copied to clipboard which apparently did not happen.
Further details
For more ease of use. I've recreated the issue below. 49259
Proposal
When a user clicks the line number (or the space before that) in a file, the URL will be copied to clipboard as well aside from showing the URL.
What does success look like, and how can we measure that?
When a line number is clicked (or the space before that), the URL will immediately be copied to clipboard.
Links / references
Edited by 🤖 GitLab Bot 🤖