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

Support uploading images by drag&drop or by pasting from clipboard

Open alexdima opened this issue 7 years ago • 6 comments

Testing https://github.com/Microsoft/vscode/issues/57301

In the web UI of GitHub, it is possible to upload images, while this is not possible with this extension.

This is sometimes useful when discussing how things look like.

alexdima avatar Aug 29 '18 09:08 alexdima

IIRC the GitHub API doesn't provide any way to upload images >.<

connorshea avatar Sep 10 '18 19:09 connorshea

@connorshea in the GitHub web app if you drop an image it creates a markdown link and uploads the image to user-images.githubusercontent.com. I guess you would have to implement that behavior in the extension's text fields in order for that to work.

That's a bummer too, because if I can't drag images from Gif Keyboard to PR approvals, I can't approve PRs with this extension. It's great for everything else though!

smith avatar May 06 '20 20:05 smith

Workaround idea: A (potentially separate) plugin that uploads images that are DnD to another online service i.e. Imgur. Then use the link generated from that service inside the markdown of the comment/description.

mothepro avatar Aug 22 '23 20:08 mothepro

Hey 👋 Is there a roadmap for enabling the addition of images directly through the Visual Studio Code extension in the near future? That would be a nice improvement!

Spookywy avatar Dec 05 '23 09:12 Spookywy

Yes please.

everydayslang avatar Jun 14 '24 15:06 everydayslang