View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0019590||mantisbt||attachments||public||2015-04-08 12:01||2016-07-19 04:19|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||2.0.0-beta.1||Fixed in Version||2.0.0-beta.1|
|Summary||0019590: Attach via drag-and-drop|
Attaching screenshot and files to MantisBT is not streamlined compared to modern web apps. People expect to drag-and-drop their files into the web app or paste the images within the text.
This need has triggered development of the following plugin:
As an extension to the modern UI work, I would like us to add support for drag and drop for attachments using the following library:
Using such approach will require us to upload the file to the server before submitting the issue. This will eventually require a schema change when upload method is DATABASE, but we can start by support it for DISK upload method then add the DATABASE once the feature is in.
|Tags||No tags attached.|
|has duplicate||0007288||closed||atrol||Add Functionality to paste a screen shot|
|has duplicate||0012012||closed||vboctor||Plugin DragAndDropFileUploadJavaApplet (and required core changes)|
|has duplicate||0010576||closed||vboctor||File uploads by drag & drop and copy & paste|
|related to||0017919||closed||syncguru||Modernize Mantis UI|
This is implemented and is now part of modern-ui pull request.
Attached is an animated gif to show the feature in action.
For this implementation,I used dropzone.js instead
dragNdrop.gif (562,638 bytes)
I assume you mean https://github.com/enyo/dropzone
The thing I like about this library is that it enabled the functionality without changing the backend code. Not sure if the other libraries offered the same, but it is exciting to have this feature.
Tried some browsers.
That matches my finding as well. I've only found Edge not fully work. Testing on Chrome/Safari for Mac and Internet Explorer for Windows 10 works.
Looks like Edge does not support drag and drop yet. Need to keep an eye on this issue: https://github.com/enyo/dropzone/issues/1043 [^]
Thread on Edge drag and drop: http://answers.microsoft.com/en-us/windows/forum/windows_10-desktop/cannot-drag-and-drop-into-edge/42dca624-06ff-4da0-a7a2-ce1151bd7db6 [^]