Closed Bug 875358 Opened 11 years ago Closed 4 years ago

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

Categories

(developer.mozilla.org Graveyard :: File attachments, defect, P3)

All
Other
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sheppy, Unassigned)

Details

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

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
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...
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.
Priority: P1 → P2
Priority: P2 → P3
Whiteboard: [specification][type:bug] → [specification][type:bug][points=6+]
Component: General → File attachments
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.