aptonic / dropzone4-actions

Add-on actions and API Docs for Dropzone 4
https://aptonic.com
363 stars 57 forks source link

Allow me to drag items from Grid to actions #127

Closed SachinShekhar closed 1 year ago

SachinShekhar commented 1 year ago

I can drag items placed in the Drop Bar to actions, but I can't drag items placed in the Grid to actions. Please, add this feature. It can significantly increase productivity.

aptonic commented 1 year ago

What item in the grid do you want to drag to an action? Like a folder? Usually dragging an action into another action wouldn't make sense. Can you give a specific example?

Also, I merged your Edit Images in Pixelmator action but upon reflection I don't really see the point in this action as you can just use an Open Application action which does the exact some thing. So perhaps you can give me some more info on why you think this is needed?

SachinShekhar commented 1 year ago

What item in the grid do you want to drag to an action? Like a folder?

Yes, a folder. I like to keep projects I am currently working on in the grid, but I can’t drag them on an action.

Also, I merged your Edit Images in Pixelmator action but upon reflection I don't really see the point in this action as you can just use an Open Application action which does the exact some thing.

Initially, I tried using Open Application action, but problem with this is that Pixelmator Pro can’t handle complex situations. For example, if even one unsupported file is there in the dragged items (often the case when I select all files before dragging them), it won’t open supported files. My action takes care of that.

Pixelmator Pro also doesn’t open images in a folder if I drag a folder to it. I’ll soon be adding folder drag support to the action.

aptonic commented 1 year ago

Yes, a folder. I like to keep projects I am currently working on in the grid, but I can’t drag them on an action.

I will consider it, but of course Drop Bar can be used for folders with current projects so not sure there's a hugely compelling argument for this. There's also an annoying edge case where drag & drop of folders on another action would interfere with the current drag/drop actions to reorder so that would need to be disabled for this case as well.

Also, I merged your Edit Images in Pixelmator action but upon reflection I don't really see the point in this action as you can just use an Open Application action which does the exact some thing.

Initially, I tried using Open Application action, but problem with this is that Pixelmator Pro can’t handle complex situations. For example, if even one unsupported file is there in the dragged items (often the case when I select all files before dragging them), it won’t open supported files. My action takes care of that.

That actually makes total sense. Nice one. I may want to install this action myself as I also use Pixelmator via Dropzone.

Pixelmator Pro also doesn’t open images in a folder if I drag a folder to it. I’ll soon be adding folder drag support to the action.

Looking forward to this addition! Will merge the PR whenever you add this 😄