Page 1 of 1

Drag and drop

Posted: June 2nd, 2015, 10:21 pm
by safihre
Posting it here since it's not relevant for the Glitter announcements post:

I have created editing of the files in a job with drag-and-drop (like in the queue) for Glitter. But currently the only way for me to move an item for example 12 places up after the user drags-and-drops is by calling the 'bulk_operation' with 'action_key'='Up' 12 times...
Would it be possible to add the option to send an integer as action_key about the amount of places shifted?

Re: Drag and drop

Posted: June 3rd, 2015, 3:01 am
by shypike
I hope Glitter gets enough developer love to become the new standard.

I'm not sure what you are asking for.
"I have created editing of files in a job..."
You modified the Plush skin?
Plush already did drag-and-drop, didn't it?

Re: Drag and drop

Posted: June 3rd, 2015, 7:25 am
by safihre
shypike wrote:I hope Glitter gets enough developer love to become the new standard.

I'm not sure what you are asking for.
"I have created editing of files in a job..."
You modified the Plush skin?
Plush already did drag-and-drop, didn't it?
Plush doesn't do dag-and-drop when editing the job's contents.. only "Up"/"Down" and "Top/Bottom" after selecting a file with a checkbox.

Since it's all one-page in Glitter, I did the file-editing in a modal with the drag and drop (and real-time updates of the download-percentage).
Later I will probably add pagination to the files-window.

Image

Re: Drag and drop

Posted: June 3rd, 2015, 2:07 pm
by shypike
Duh, must have had a bad moment.
I didn't recognize you as the author of Glitter.
I see what you mean now, I'll do my best to add your request to the next Alpha.