meteorlxy / vssue

:mailbox: A Vue-powered Issue-based Comment Plugin
https://vssue.js.org
MIT License
769 stars 105 forks source link

[Feature Request] Support comments with images #107

Closed WowItsDoge closed 3 years ago

WowItsDoge commented 3 years ago

What problem does the feature solve?

It would be nice, if Images could be displayed in the comments. GitLab and GitHub are supporting this feature.

Proposed solution

Display Images from the comments and enable the user to upload them.

Autocomplete

Additional context

How to upload Images for comments is described in this documentation. GitLab Upload Image API

The image url can be found in the GitLab Diskussion API in the note_html data source.

{ 
   "id":"12345",
   "noteable_type":"Issue",
   "note":"Text\n![Autocomplete](/uploads/31191f922d9b447318934de9aa87e35e/Autocomplete.png)",
   "note_html":"data-src=\"https://example.abc/uploads/31191f922d9b447318934de9aa87e35e/Autocomplete.png",
}
stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.