Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any plans to support reccuring events with rrule? #28

Open
treighmawaka opened this issue Jan 6, 2022 · 6 comments
Open

Any plans to support reccuring events with rrule? #28

treighmawaka opened this issue Jan 6, 2022 · 6 comments

Comments

@treighmawaka
Copy link

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!

@vkurko
Copy link
Owner

vkurko commented Jan 6, 2022

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.

@treighmawaka
Copy link
Author

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

@meisemann1999
Copy link

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!

@steveb85
Copy link

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!

@amoscicki
Copy link

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.

@steveb85
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants