vscode-pull-request-github icon indicating copy to clipboard operation
vscode-pull-request-github copied to clipboard

Add `Copy Link` to each comments on Pull Request view

Open KeisukeYamashita opened this issue 6 months ago • 2 comments

Like we copy the comment's link from the comment box, it would be great if it could do the same thing on the extension's webview.

Image

KeisukeYamashita avatar May 12 '25 14:05 KeisukeYamashita

You should already be able to do this:

Image

alexr00 avatar May 13 '25 09:05 alexr00

@alexr00 Hi, thank you for your reply.

On the Pull Requests view and on the comment box in each files, yes, you are right, I can copy the comment's link. But unfortunately, on the Pull Request top view, I don't see anything that I can copy the comment link.

In the following PR (https://github.com/microsoft/vscode-pull-request-github/pull/6278), I can find only Quote Reply. If we can copy the URL from here, that would be great. Image

In detail, I don't see any copy link button here:

https://github.com/microsoft/vscode-pull-request-github/blob/b6efadde690a10f1fcd9df71aa4c1b637fae745e/webviews/components/comment.tsx#L90-L112

KeisukeYamashita avatar May 22 '25 14:05 KeisukeYamashita