uploader-plus icon indicating copy to clipboard operation
uploader-plus copied to clipboard

Improvement - Allow enable/disable custom dnd-uploader-plus

Open JavierMartinezRojo opened this issue 8 years ago • 6 comments

Could be awesome to allow the posibility to enable/disable drag&drop uploader (plus) per each configured folder. Some users like the option to Drag&Drop without Uploader Plus dialog but keeping the uploader plus functionality when they upload content using the button.

Regards!

JavierMartinezRojo avatar Sep 28 '16 10:09 JavierMartinezRojo

Thanks for the feedback. I've been struggling to release new versions of this plugin due to other projects/commitments. It would really benefit from fixes, improvements and upgrades to the new versions of Alfresco. I can only rely on the community for their contributions and I'm really grateful to @douglascrp for his effort.

softwareloop avatar Sep 28 '16 10:09 softwareloop

Thanks for the reply!, we can collaborate with someone (@douglascrp) to provide this functionality but we need some guidance about the strategy to follow. How can we proceed?

KR.

JavierMartinezRojo avatar Sep 28 '16 11:09 JavierMartinezRojo

I've just committed the only documentation that I've written: https://github.com/softwareloop/uploader-plus/blob/master/docs/alfresco-uploader-plus-diagrams.pdf

It depicts Alfresco's uploader invocation/callback sequence. Very complex, but at least it explains where the hooks are in Alfresco. Uploader-plus is developed via mix-in and subclassing (in a JavaScript way) of the Alfresco classes. This way I manage to intercept the control flow and override it.

The two pages show what happens during the popup initialisation and when files are added/uploaded. I believe the drag&drop setup is done in the initial "Load page" part.

softwareloop avatar Sep 28 '16 11:09 softwareloop

Ok Paolo, We will take a look and review it. Stay tunned!

Thanks again for your support and this amazing work.

JavierMartinezRojo avatar Sep 28 '16 11:09 JavierMartinezRojo

@JavierMartinezRojo Hey, how are you? Have you advanced on the issue?

douglascrp avatar Dec 27 '16 13:12 douglascrp

Hi @douglascrp .. not at all. The customer agreed with the current behaviour finally, taking into account the estimated effort to make it works. Do you have any proposal about?, we can collaborate in some way for sure.

JavierMartinezRojo avatar Dec 30 '16 16:12 JavierMartinezRojo