sindresorhus/refined-github

Copy file path of reviewed file in the PR Conversation tab #3803

cihati posted onGitHub

I searched through the old issues, and couldn't find any so here I am.

In https://github.com/<my_org/<my_repo>/pull/<pr_number> link (which corresponds to the "Conversations" tab), you see code review blocks like the following:

image

I think they should have the copy button/icon like in "Files changed" tab: image


Iā€™m not sure which part of a review block you want to copy. The reviewed code? The filename? Any code inside the review comment itself?

posted by fregante over 4 years ago

@fregante The filename (that's what the button in the screenshot does it "Files changed" tab as well)

So I want a clipboard icon to the right of the filename in the first image that I censored, that, when clicked, would copy the filename

posted by cihati over 4 years ago

Why can you not just highlight it and copy it? Don't see the need for another thing on that line. (We already have highlight-deleted-and-added-files-in-diffs)

posted by yakov116 about 4 years ago

@yakov116 yes, I can do that, like most things refined-github provides, it'd be more convenient not having to do that (and consistent with other copy buttons).

posted by cihati about 4 years ago

You can see the same review on the Files tab, which has the buttons already

posted by fregante over 3 years ago

Fund this Issue

$0.00
Funded

Pull requests