Ok so here is the work I completed during the code sprint. Some concepts of note:
#1: tabs need to be sortable and droppable (droppable so that gadget can drop onto them, moving the gadget to the next page)
#2: gadgets need to be sortable and draggable
#3: in order to have these conditions met, we have to use helper: 'clone' within the .draggable in order for the .draggable to be compatible with the .sortable (@see the documentation for .draggable:connectToSortable)

After applying this patch there are still a few issues to resolve.
#1: the cloning screws with the .sortables - instead of just moving, the element is now cloned, and I haven't yet figured out how to target the original object that was cloned in order to remove it.
#2: the .sortable tabs are inheriting some of the properties of the .droppable which is applied to the same element. main evidence of this is that they change color when you try to sort the tabs, allowing you to drop a tab onto another tab, resulting in all of the tabs disappearing. The .droppable:containment option SHOULD be making this impossible as tabs do not conform to the containment specification.

CommentFileSizeAuthor
dashboard_jquery-ui-work.patch5.79 KBsirkitree
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sirkitree’s picture

Status: Active » Needs work

marking as needs work.

sirkitree’s picture

Link to a relevent article on applying the .draggable to the clone: http://www.nabble.com/Drag-and-drop,-and-drag-some-more--td15012823s2724...

drumm’s picture

Issue tags: +drupal.org redesign
sirkitree’s picture

Late night idea: try destroying or disabling the .droppable for the navigation on .sortable:start and recreating it on .sortable:stop - doesn't seem to destroy or disable successfully :(

RobLoach’s picture

Issue tags: +awesomeness

Very cool, subscribing. I'll take a look at this sometime soon.

niles’s picture

Subscribing.

Is this module going to be for drupal 6?
Any idea on timeframe for alpha?

Sounds great!

drumm’s picture

sirkitree, since this is a pre-alpha module, do you think your code is better than what we have so far? I want to keep the commits moving.

lisarex’s picture

I've linked this from the Redesign project #661532: Meta issue for Dashboard because this issue was tagged 'drupal.org redesign'

Anonymous’s picture

Status: Needs work » Closed (fixed)

This thread is no longer relevant. Much of the jquery was reworked for the d.o release.