adapt_authoring icon indicating copy to clipboard operation
adapt_authoring copied to clipboard

Ability to upload multiple assets

Open dancgray opened this issue 7 years ago • 9 comments

Requirements:

  • Title, Description and Tags should be populated from a single set of values. In the case of title, this should be given a unique element to differentiate each image in the batch (maybe just an iterator).
  • Should support zips and single files
  • Should support drag/drop.

dancgray avatar Dec 06 '16 18:12 dancgray

This has been done in branch issue/1467. Waiting for for thebigfix PR to be merged before creating PR.

dancgray avatar Jul 20 '17 10:07 dancgray

We should have a look at dropzone.js to handle file upload. From an UX perspective multiple drag and drop file upload would be ideal.

lc-thomasberger avatar Nov 30 '17 14:11 lc-thomasberger

@dancgray what's the status with this? would be nice to get it in the next release if the work's done

taylortom avatar Apr 05 '18 13:04 taylortom

I would not use a zip folder to upload multiple assets. Instead I would add a dropzone that handles multi-file upload. This should actually work pretty good without a library. I think it should be part of the AssetManager refactor milestone.

lc-thomasberger avatar Apr 09 '18 08:04 lc-thomasberger

@taylortom the work has been done, but it's quite clunky. The dropzone option suggested by @lc-thomasberger would probably be better.

dancgray avatar Apr 09 '18 08:04 dancgray

I would really appreciate this feature. We often need to add number of graphs and adding them 1 by 1 is time consuming.

johnniezen avatar Apr 03 '19 06:04 johnniezen

This would be a great addition. Probably asking for too much but it would be useful to upload a folder of images with sequential filenames for use with a component that needs to display the images sequentially - think slideshow or interactive scrubber type thing where you drag a draggable bar and the image changes as you drag it.

paul-mediakitchen avatar Apr 03 '19 09:04 paul-mediakitchen

Just adding my support for this feature 👍

Link2Twenty avatar Aug 06 '19 10:08 Link2Twenty

To do a drag and drop file uploader we would need,

Drop event: https://developer.mozilla.org/en-US/docs/Web/API/Document/drop_event Data transfer: https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer File API: https://developer.mozilla.org/en-US/docs/Web/API/File

All of which are IE 10 and above.

Here's Mozilla's example putting it all together https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API/File_drag_and_drop

Link2Twenty avatar Aug 07 '19 08:08 Link2Twenty