Dragged a file to upload, missed the <input type="file"> box, lost my work

NEW
Unassigned

Status

P3
normal
6 years ago
2 months ago

People

(Reporter: sheppy, Unassigned)

Tracking

Details

(Whiteboard: [specification][type:bug][points=6+])

(Reporter)

Description

6 years ago
What did you do?
================
1. Wrote for about 15 minutes
2. Dragged a file into the input field to attach a new file to the page, but missed the input field by a pixel or two.

What happened?
==============
The image I was trying to attach loaded into the tab, replacing my editor UX and losing all my work.

What should have happened?
==========================
Something, anything else.

Ideally, any drag into the window would start a new file attachment, IMHO. Direct the drag to the input field and scroll the user to it, putting the cursor in the comment or description edit field.

Is there anything else we should know?
======================================
Bumping to P1 and voting on it myself. Losing user data is a big deal.
Priority: -- → P1
(Reporter)

Comment 2

6 years ago
davidwalsh points out people might want to drag text into the editor, which is true.

Let's at least make the entire attachment box a drop zone for files then...
(Reporter)

Comment 3

6 years ago
While we're at it, let's make it so that if you drag a file to the attachments list (even if you haven't clicked "add attachment"), it opens up and starts preparing for a new upload. That'd save time and feel more natural.
(Reporter)

Updated

6 years ago
Priority: P1 → P2
Priority: P2 → P3
Whiteboard: [specification][type:bug] → [specification][type:bug][points=6+]
Component: General → File attachments
You need to log in before you can comment on or make changes to this bug.