calendar icon indicating copy to clipboard operation
calendar copied to clipboard

Any plans to support reccuring events with rrule?

Open treighmawaka opened this issue 3 years ago • 9 comments

First off, great job putting this together! I've been looking for a viable alternative to fullcalendar and this is it.

Can you please advise or point to how to handle recurring events? Fullcalendar has rrule-plugin. Do you offer anything similar? I couldn't find it in the docs.

Cheers!

treighmawaka avatar Jan 06 '22 03:01 treighmawaka

Hi @treighmawaka

Thank you for the star! 🙂

As for the recurring events, unfortunately, I have no plans to support them at this time. But I'll leave this issue open and if more people require this feature then I will do it.

vkurko avatar Jan 06 '22 11:01 vkurko

@vkurko thanks for the quick reply. I'll keep on eye on this, hopefully it's upvoted.

treighmawaka avatar Jan 06 '22 13:01 treighmawaka

I agree that this feature would be really helpful. I'm currently trying to find a workaround as my use case will need to support recurring events.

Thanks for this great project!

meisemann1999 avatar Apr 12 '23 00:04 meisemann1999

we too are looking for this, if it’s something I can help with I’d be more than happy to, but svelte is new to me. If anyone has any workarounds or such that would be nice to share. Looking forward to contributing where I can!

steveb85 avatar Nov 14 '23 17:11 steveb85

we too are looking for this, if it’s something I can help with I’d be more than happy to, but svelte is new to me. If anyone has any workarounds or such that would be nice to share. Looking forward to contributing where I can!

I will be implementing recurrence in one of the solutions I am using this library, and I think present capabilities of the calendar are perfectly enough to achieve this.

What I mean by that is since the calendar is only really meant to present the data in a visual way and responsibility of managing the data is not really something that should fall on the calendar itself. While viewing it the absolute max you should have inside events prop at any given time should be the amount that calendar can draw at a time. Think about it like having a box the size of the currently used view. If it's a week, you should have week's worth of data or you may easily run into performance challenges.

Instead you should have a layer of methods that dynamically select the data you want to be presented based on the currently displayed date range and if you want to indicate that event is recurring you can utilize html content of particular event by for example displaying some icon.

Having that said I'm building some utilities that will support this project and example implementation of some templates that can be used as event content including recurring events could be in scope for that.

amoscicki avatar Nov 14 '23 17:11 amoscicki

@amoscicki i agree 100% in what you said, that would be really helpful if you’re willing to share your outcomes too. The calendar is a nice representation of the data, but generating the data should happen outside that element.

steveb85 avatar Nov 14 '23 17:11 steveb85