Support for drag and drop for other than reorder?

44 views
Skip to first unread message

paulj...@gmail.com

unread,
Oct 18, 2010, 7:34:00 PM10/18/10
to Hobo Users
In an earlier release of Hobo, there was support for definition of
draggable objects and drop spots. There was a version of the Agility
tutorial where stories were dragged between releases, with the total
cost of a release recalculated and redisplayed Ajax-ways at drop time.

I have use for such functionality now. I searched for "drag" on the
tutorial site, and the only hit I get is for list reordering.

Is the more general drag and drop ajax stuff still in the code? Is
there doc somewhere?

Thanks for any updates!

Paul Davis

paulj...@gmail.com

unread,
Oct 20, 2010, 6:33:21 PM10/20/10
to Hobo Users
Any info on this? I don't have the old docs that referenced this
functionality stored anywhere, so could use a hand from some Hobo old-
timer.

Thanks!

On Oct 18, 4:34 pm, "pauljda...@gmail.com" <pauljda...@gmail.com>
wrote:

Daniel Cox

unread,
Oct 18, 2011, 9:15:29 PM10/18/11
to hobo...@googlegroups.com
bump

I'm working on something now that involves drag-and-drop assignment of items in a collection to a model. I'm trying to hack the functionality in using rails' draggable_element and drop_receiving_element, but I'm not familiar with the way hobo refreshes a "part" with a "partial" (to mix hobo and rails terminology), so I don't know how to update the bits of the page I want to.

Is there hobo support for drag-and-drop assignment anymore? If not, has anyone successfully hacked it in?

Thanks,
-Daniel

paulj...@gmail.com

unread,
Jun 30, 2012, 2:48:49 AM6/30/12
to hobo...@googlegroups.com
One more, 8 months later bump. Any info on this?

Paul Sherwood

unread,
Jun 30, 2012, 4:24:42 PM6/30/12
to hobo...@googlegroups.com
On Saturday, June 30, 2012 7:48:49 AM UTC+1, paulj...@gmail.com wrote:
One more, 8 months later bump. Any info on this?

Our kanban hobo application has some custom drag and drop which may give you some clues... github/devcurmudgeon/Hobokan.git

This was definitely a hack in, though
 

Bryan Larsen

unread,
Jul 3, 2012, 10:25:19 AM7/3/12
to hobo...@googlegroups.com
Drag and drop is a lot easier to add in Hobo 1.4 than it is in Hobo
1.3 because Hobo 1.4 uses jQuery-UI, which means that you can utilize
Dropable: http://jqueryui.com/demos/dropable/

If you want to take a crack at it, please feel free to shoot questions my way.

The closest thing to an example I can find is
hjq-sortable-collection.js in hobo_jquery, which adds Sortable to a
collection.

Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/6G5MxFyAro4J.
>
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.
Reply all
Reply to author
Forward
0 new messages