| Issue 2176: | Reintroduce timed event resizing in month/all-day | |
| 6 people starred this issue and may be notified of changes. | Back to list |
fullcalendar is great, but why isn“t it possible to resize any event like in the previous versions? right now it seems, that only events with a start date can be resized. can I change the core js file in any way to achieve this feature?
Jun 9, 2014
Project Member
#1
adamrs...@gmail.com
Jun 9, 2014
I removed this functionality for *timed* events in 2.0 because... 1. it is very rare that the end-user wants to resize a timed event (which will probably be a few hour long at most), by 24 more hours 2. if the original end date/time is not set, it is unclear what to set the end to once it has been resized. Should it be midnight of the next day? should it be the start time + the defaultTimedEventDuration + 24 hours? All options seem weird, thus i removed the possibility to do this awkward action completely.
Status:
Done
Nov 4, 2014
I hate to resurrect a "Done" issue, but I'm finding need for this exact case that is no longer supported, post 2.0. A project I'm working on actually requires the ability to resize "timed" events in month view, and now that we've upgraded, we're sorely missing it. The 1.0 version of our app used FullCalendar 1.6.3 and this behavior worked just fine, so everything was rosy. We're currently preparing to ship version 2.0 of our app. We've upgraded to FullCalendar 2.0 to pick up the Moment support (which is fantastic, BTW), to find that resizing "timed" events in month view was deprecated. I was able to hack together my own custom handling of event resize in the month view, bootstrapping some jQueryUI handlers in `eventAfterRender`. Right now we're looking at updating to 2.1.1 to fix a couple of other issues we're experiencing, but the changes made to remove jQueryUI have made the prospect of extending the month view's behavior non-trivial. If this is still up for discussion, or worthy of adding back in, I'd love to be part of that conversation. If not, is this something you'd consider accepting a pull request to add back in?
Nov 14, 2014
this is not a rare issue. our use case (healthcare on-call scheduling) desperately needs this functionality. with our use case it is also not ambiguous what end time the event should be, once resized. i strongly desire to have you re-add this functionality or allow a pull request. may we discuss?
Nov 15, 2014
Seems like there's enough demand for this to reopen for discussion. To address my original concern, my question to you guys is: (hypothetical scenario) If there is an event with start "2014-11-15T09:00:00" and end "2014-11-15T11:00:00", and in month view the end is resized to be one day longer, after all is said and done, would you expect the modified Event Object, as reported via the `eventResize` callback, to have an end date of "2014-11-16T09:00:00" or "2014-11-16T11:00:00" ???
Summary:
Reintroduce timed event resizing in month/all-day
(was: Resize Event)
Status: Discussing Labels: Type-Bug
Nov 15, 2014
Issue 2345 has been merged into this issue.
Nov 15, 2014
Awesome! To address your concern, in our use case in the project I'm working on, it seems reasonable to expect the new end date to be the latter result of your hypothetical scenario. So effectively, it might look something like:
event.end = event.end.add('h', 24);
If memory serves, that's essentially the way it worked in 1.6.*. However, there might be some interesting ways you could allow for developers to control how that works via config setting in the plugin.
Nov 16, 2014
awesome. ditto!
Nov 20, 2014
We also use this in our project and it took awhile (read: 3 hours) for us to stumble upon this - mainly because we were stubborn and thinking it is a problem with our code. Anyway, to address your question, if an event with a start/end date is resized, we would assume that the new end date will have the previous end time, so to answer your example, it should be "2014-11-16T11:00:00". Maybe only disable the resize if there is a start time but no end time? (just thinking out loud)
Nov 29, 2014
is there any possibility to enable that feature again. Please, please. Hahaha. I don't want to modify the source code of full-calendar to enable the resizing with time events. Thanks. :)
Dec 22, 2014
Any idea on when we can expect to see this making its way back into the project?
Apr 19, 2015
(No comment was entered for this change.)
Status:
Accepted
Labels: -Type-Bug Type-Feature
May 5, 2015
If I want to create a recurring event by dragging in month, or agendaWeek view. What part of the source code do I need to change?
Aug 21, 2015
Discussion for this issue has moved to the following URL: https://github.com/fullcalendar/fullcalendar/issues/2441 This is because Google Code is shutting down. Apologies if you are being pestered with these notifications. This is a one-time event. Happy coding, Adam
Status:
ExportedToGithub
|
|
| ► Sign in to add a comment |