backdrop-contrib / fullcalendar

FullCalendar jQuery plugin Views calendar display for Backdrop CMS
GNU General Public License v2.0
0 stars 2 forks source link

Update FullCalendar library #2

Open laryn opened 6 years ago

laryn commented 6 years ago

It would be good to update the FullCalendar library from 1.5.1 (currently using) to 3.9.0 (latest). I'm not sure how much work updating so many major and minor points will require...

laryn commented 6 years ago

Note that the current version includes a hackish method to make a deprecated jQuery function (used by FullCalendar 1.5.1) work with Backdrop's updated jQuery library:

https://github.com/backdrop-contrib/fullcalendar/blob/1.x-2.x/js/fullcalendar.library.js#L5-L7

That can be removed when the FullCalendar library doesn't use it anymore.

Egmund commented 5 years ago

Would I crash my site - or this module if I updated to newest fullcalendar (4.2.0)?

Egmund commented 5 years ago

Actually, seems there are too many changes.

laryn commented 5 years ago

@Egmund I may try to make some adjustments to get current functionality working with the latest release as a first step. What are some of the newer features that you are interested in as a future step after that? I was just looking at the demos sidebar and was intrigued by:

Egmund commented 5 years ago

I need a 'date-repeat' function in my calendar. I had that in my Drupal 7 calendar module, which apparently is not fully ported to Backdrop. Would that be possible? I have events repeating weekly as well as annually.

laryn commented 5 years ago

Regarding repeating dates, my initial thought is that we should get the Date Repeat functionality working separate from Full Calendar for better integration throughout the website. That module was stripped off for some reason when date was added to core, and a port was begun but is stalled and looking for a maintainer: https://github.com/backdrop-contrib/date_repeat

EDIT: Date Repeat looks like it will end up being unportable because of the hacky approach but an alternative is being developed here: https://github.com/backdrop-contrib/repeating_dates/