gh4a icon indicating copy to clipboard operation
gh4a copied to clipboard

New Feature Request: Allow attaching images for comments on git Issues.

Open shobhit-agarwal opened this issue 9 years ago • 18 comments

For mobile app repos, it will be a great idea to allow to include image attachments (as provided by github.com). Esp. for comments is issues.

shobhit-agarwal avatar Mar 17 '16 12:03 shobhit-agarwal

This doesn't seem to be supported by the Github API. The upload to Github's servers doesn't appear anywhere in the API docs, and other people came to the conclusion it's not supported as well: http://stackoverflow.com/questions/28703544/create-an-issue-with-image-via-github-api

So not sure what to do there; we certainly don't want to do an own image hosting service.

maniac103 avatar Mar 17 '16 13:03 maniac103

You can use imgur api :P

alorma avatar Aug 30 '16 15:08 alorma

Yeah use imgur, its also used by stackexchange ^^

Bluscream avatar Apr 02 '17 18:04 Bluscream

Yep, same for creating new issues. If Stackoverflow uses imgur, it should be proper for Octodroid too. ;)

jancborchardt avatar Sep 12 '17 12:09 jancborchardt

It seems that this gist has found the API https://gist.github.com/15c3fd136c0e8fd547db32ad72ab045a

Progi1984 avatar Sep 20 '19 14:09 Progi1984

Nah, this gist stores all uploaded files into a certain repo. This is certainly not what we want: we want a storage alongside issues, not within the repo content.

maniac103 avatar Sep 20 '19 14:09 maniac103

May be a solution here :+1:

  • https://github.com/zmwangx/ghuc/blob/5f7489e821aff0a3b7dabbd5b95446a5d2459ab4/ghuc.py#L297
  • https://github.com/maple3142/ghfileupl/blob/c697e56b1fb8376f0ea99543a7e704c3cdf81d6d/index.js#L87
  • https://github.com/mdaliejaz/create-github-issues-with-image/blob/6fff8c9e5f5b7803710dc725f07c683c5d4d0bf1/upload_issues.rb#L25
  • https://github.com/osdakira/chrome_tests/blob/99892d4c31937bfe021e9736ba28b7a8bbec1893/yammer_to_github/js/content.js#L53

Progi1984 avatar Sep 23 '19 08:09 Progi1984

Still waiting, this feature very important

Example: fasthub can handle this issue

3xploiton3 avatar Oct 28 '19 14:10 3xploiton3

@maniac103 pls take a look again

3xploiton3 avatar Jan 15 '20 14:01 3xploiton3

Hello, any news on this ? Thanks

KaKi87 avatar Aug 29 '20 06:08 KaKi87

Its dead. If you need to look at code, use OctoDroid, for anything markdown related, use Fasthub

Bluscream avatar Aug 29 '20 07:08 Bluscream

It's not dead, it's just in 'maintenance onlyc mode for the foreseeable future. But wasn't development on FastHub stopped some time ago? Edit: found the reference, see comments here

maniac103 avatar Aug 29 '20 07:08 maniac103

Its dead.

I don't feel that the OctoDroid project is dead, I mean the proportion of my issues that have been resolved here is quite high compared to other projects.

it's just in 'maintenance onlyc mode for the foreseeable future.

I didn't of heard that, where's the reference to this ?

Thanks

KaKi87 avatar Aug 29 '20 17:08 KaKi87

I didn't of heard that, where's the reference to this ?

The reference is a statement made by the (only) maintainer ... which is me ;-)

maniac103 avatar Aug 29 '20 17:08 maniac103

I know, I mean : is there a dedicated statement regarding this matter that I didn't heard of, or did you just decided it while reading and answering to this issue ?

KaKi87 avatar Aug 29 '20 17:08 KaKi87

I didn't make an 'official' statement thus far, but it's not something that I decided today. It's just a description of the amount of work I'm able to put into this project for some time now. Between day job, family and other side projects I'm simply severely lacking time for anything besides maintenance :-/ I fully intend to keep doing bugfixes though, since OctoDroid is my own GH client of choice (who would have guessed) and thus I have an own interest in keeping it working.

maniac103 avatar Aug 29 '20 18:08 maniac103

Understood. And of course I believe you when you say your're using your own software. I mean, who, as an open source developer, would build something he wouldn't use himself ? Personally I wouldn't.

KaKi87 avatar Aug 29 '20 19:08 KaKi87