Page MenuHomePhabricator

Allow pasting an image in a task
Open, LowestPublic

Description

Related discussion: https://secure.phabricator.com/T5411 & https://secure.phabricator.com/T5187#87050

Here on phabricator.wikimedia.org, it would be nice to be able to paste an image in a task.
Typically, we need this for screen photos.
Pasting an image in a Web page is possible now in HTML5. The site www.pasteboard.co can be an inspiration.

Thank you.

Nnemo

Event Timeline

Nnemo created this task.Dec 8 2014, 2:43 PM
Nnemo raised the priority of this task from to Medium.
Nnemo updated the task description. (Show Details)
Nnemo changed Security from none to None.
Nnemo added a subscriber: Nnemo.
Aklapper lowered the priority of this task from Medium to Lowest.Dec 8 2014, 3:18 PM

You can drag an image to a task - see https://www.mediawiki.org/wiki/Phabricator/Help#Uploading_file_attachments

Is this sufficient?

Aklapper renamed this task from Feature wanted - Pasting an image in a task to Allow pasting an image in a task.Dec 8 2014, 3:18 PM

Pasting an image in a Web page is possible now in HTML5.

Does that mean that the image would be immediately uploaded to the server just by clicking Ctrl+V to insert it? That sounds rather scary to me, especially as Phabricator will also create a thumbnail of the image and as there's no simple way for a user to delete an accidentially uploaded image again.

Nnemo added a comment.Dec 9 2014, 1:43 PM

You can drag an image to a task - see https://www.mediawiki.org/wiki/Phabricator/Help#Uploading_file_attachments
Is this sufficient?

No. I cannot paste. When I take a screen photo, I have it in the clipboard. I don't have, and don't want, any file.

Pasting an image in a Web page is possible now in HTML5.

Does that mean that the image would be immediately uploaded to the server just by clicking Ctrl+V to insert it? That sounds rather scary to me, especially as Phabricator will also create a thumbnail of the image and as there's no simple way for a user to delete an accidentially uploaded image again.

You may play with the site www.pasteboard.co

After pasting, the user would still have to click a button "Add image" to save the image.

Qgil added a subscriber: Qgil.Dec 11 2014, 7:15 AM

The possibility of pasting an image has been mentioned tangentially at https://secure.phabricator.com/T5187, and I just added a comment asking explicitly for it.

Qgil updated the task description. (Show Details)Dec 11 2014, 7:15 AM
Qgil added a comment.Dec 11 2014, 12:25 PM

Copy/paste should already work in Chrome.
Last time we checked (June 2014) other browsers did not appear to support it, or support it only in a way that's really hacky/fragile. See https://secure.phabricator.com/D9647, https://secure.phabricator.com/T5437, https://secure.phabricator.com/T5411 for some discussion.

Qgil updated the task description. (Show Details)Feb 4 2015, 7:15 PM
Nnemo added a comment.Feb 8 2015, 8:22 PM
In T77020#841401, @Qgil wrote:

Copy/paste should already work in Chrome.
Last time we checked (June 2014) other browsers did not appear to support it, or support it only in a way that's really hacky/fragile. See https://secure.phabricator.com/D9647, https://secure.phabricator.com/T5437, https://secure.phabricator.com/T5411 for some discussion.

The site www.pasteboard.co works great on Firefox, Mac and Win.

Nnemo added a comment.Oct 28 2015, 8:46 PM

You can drag an image to a task - see https://www.mediawiki.org/wiki/Phabricator/Help#Uploading_file_attachments
Is this sufficient?

No. I cannot paste. When I take a screen photo, I have it in the clipboard. I don't have, and don't want, any file.

And dragging an image to a task:

  1. Is not discoverable. The help and the Upload button have failures.
  2. Is not possible on Safari on iOS.
  1. Is not discoverable. The help and the Upload button have failures.

What does "have failures" mean? If there are error message, please provide exact error messages. Or if they do nothing, please say so. :)

Nnemo added a comment.Nov 8 2015, 4:46 PM

@Aklapper

The help does not give a way to upload a file. You may see my recent comment on T165.

Nnemo added a comment.Nov 8 2015, 4:56 PM

@Aklapper

The Upload button has failures. You may see the task T88998.

Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptMay 23 2016, 6:04 PM