thauber / django-schedule

A calendaring app for Django. It is now stable, Please feel free to use it now. Active development has been taken over by bartekgorny.
841 stars 280 forks source link

Best route for drag and drop changes #17

Closed cornbread closed 14 years ago

cornbread commented 15 years ago

I'm wanting to add drag and drop modifications to events. Can anyone point me in the right direction for getting started on this?

TIA

winhamwr commented 15 years ago

http://arshaw.com/fullcalendar/ That's the slickest drag and drop calendar interface I'm aware of. Adding drag and drop is on my to do list as well. It would definitely be awesome to have.

cornbread commented 15 years ago

that is baby drag and drop.

Here are two good examples of real drag and drop: zimbra: http://www.zimbra.com/products/hosted_demo.php click skip registration go to demo and go to the calendaring to see how incredible it is.

and http://www.dhtmlx.com/docs/products/dhtmlxScheduler/index.shtml

both allow for drag and drop event creation. Zimbra by far is the best html calendaring solution i've ever seen.

I would love to see drag start time to end time quick event creation and drag and drop event moving.

winhamwr commented 15 years ago

Check out the fullcalendar documentation. The demo on their site doesn't exercise all possible functionality. They have events that you can use to do whatever you'd like (event creation, moving times by moving events etc). Fullcalendar is also on a MIT license, which keeps it compatible with both Django and django-schedule.

That being said, nothing stopping you from integrating dhtmlxscheduler if that meets your specific needs. The BSD-style license is important to me though, so I'll be looking towards a solution like fullcalendar. The great thing about github though, is that we can both fork and be happy :)

cornbread commented 15 years ago

I agree to the use of fullcalendar it looks great. I will be happy to work on it as a solution with you.

I would request that we can make all jquery functions use it's namespaced jQuery function instead of $ as to not interfere with other JS integrations users have implemented.

Looking forward to getting this working. Is there a roadmap for django-schedule?

cornbread commented 15 years ago

It appears that there is another good ajax calendar allowing for drag and drop. It appears that it supports quite a bit of functionality.

What do you think winhamwr?

winhamwr commented 15 years ago

Do you have the link to the site?

cornbread commented 15 years ago

oh lol sorry... MIT license. Here is full demo: http://jquery-week-calendar.googlecode.com/svn/trunk/jquery.weekcalendar/full_demo/weekcalendar_full_demo.html home page: http://www.redredred.com.au/projects/jquery-week-calendar/ googlecode: http://code.google.com/p/jquery-week-calendar/

cornbread commented 15 years ago

Looks like they might compliment each other nicely. This one is week the other is month. The week calendar could easily be adapted to a day calendar.

bartekgorny commented 15 years ago

jquery week calendar looks good and seems to have everything we need, but I'm not sure about the code - it seems to have performance problems. I don't know how much work would it be to add required functions to fullcalendar - any of you have already given it a try?

(I think we need a mailing list...)

bartekgorny commented 15 years ago

About roadmap: there isn't, all I can say is I'd like to roll out 1.0 (as soon as I'm sure there is no bugs), and the next big thing is definitely drag and drop. On the back-end side, James is working on event intersection queries, though there is no code available yet, so it is also for 1.1.

bartekgorny commented 15 years ago

I set up a discussion group, so let's follow up here: http://groups.google.com/group/django-schedule/topics

bartekgorny commented 14 years ago

I closed the group; for ajax, see my fork.