Pauan / tab-organizer

Google Chrome Extension that makes it easier to manage many tabs!
MIT License
66 stars 8 forks source link

Better drag-n-drop support. #14

Open Pauan opened 9 years ago

Pauan commented 9 years ago

Originally reported on Google Code with ID 14

Our drag-n-drop support is actually pretty good right now. However, other extensions
use JavaScript drag-n-drop, such as jQuery UI. This not only works very well, but also
looks good to boot.

There are some benefits to using native drag-n-drop, and in addition this will require
drastically huge code changes. I tried a couple times to implement JavaScript drag-n-drop,
but it was incredibly difficult.

Unfortunately, I can't just use jQuery UI or similar, because I have very specific
requirements. jQuery UI, for instance, does not support both selectable and sortable
at the same time.

On top of that, Tab Organizer is a 2D list, and the lists can overlap each other, which
caused jQuery UI to break.

Because of that, I'm essentially forced to write my own drag-n-drop implementation
from scratch, which is not an easy thing to do. This is something I'm still considering,
but I don't plan to do this anytime soon.

Reported by pcxunlimited on 2010-09-03 18:14:53

Pauan commented 9 years ago
Woohoo, 7.0.517.0 (Official Build 58656) dev finally supports "dataTransfer.setDragImage"!
This won't improve the technical usability, but it will look much nicer, once I've
made a few tweaks.

Reported by pcxunlimited on 2010-09-11 02:33:52

Pauan commented 9 years ago

Reported by pcxunlimited on 2010-09-12 02:13:09

Pauan commented 9 years ago
dataTransfer.setDragImage works, but Chrome's implementation seems to be really screwy.
I should revisit this later.

Reported by pcxunlimited on 2010-09-12 09:00:06

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-04-30 23:34:42

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-08-27 21:51:08

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-08-27 22:53:59

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-08-27 23:03:36

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-08-27 23:18:27

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-08-27 23:39:18

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-08-27 23:47:28