echo-webkom/echo-web-mono

Import all events into my calendar

Closed this issue · 18 comments

Is your feature request related to a problem? Please describe.

This is not a problem, but a "nice to have"-feature. When i am looking for events to pay attention to, i would prefer to not manually enter them into my calendar. It would be nice if i could import an .ics file, or enter an URL into my Nextcloud calendar so it continually updates.

Describe the solution you'd like

I would like a button that generates and downloads a .ics file that i can import into my calendar, that contains all events. Alternatively, that an URL for calendar update listening is displayed on the event page.

Describe alternatives you've considered

I haven't really considered alternatives.

Additional context

By URL to listen to, i am for example thinking of the calendar stream in mitt.uib.no. I can take that URL and paste it into my Nextcloud like so:

nextcloud_cal_example

"Nytt abonnement fra lenke"

omfj commented

Thanks for the issue! I will look into this.

omfj commented

Sorry, it took so long. Go a bit stuck on the frontend bit, but an MVP is merged. You can try it out here, https://echo.uib.no/beta/calendar.

Please let me know what you think.

Great job! But i have some feedback:

  • Exporting "Events" only results in no events in the .ics file

This is the file i receive:

BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
PRODID:adamgibbons/ics
METHOD:PUBLISH
X-PUBLISHED-TTL:PT1H
END:VCALENDAR

This is the same when reading from the URL in Nextcloud.

  • There should also be a calendar event for the deadline to sign up for the business presentations as well
omfj commented
  1. My apologies. There was a typo that went right over my head. So the first issue should be fixed now.

  2. Wouldn't a calendar event for the start of registration be more helpful than a calendar event for the deadline to sign up for a company presentation? Considering that most of them fill up in minutes?

  1. Great! now it works!

  2. Yes, of course! That would be a lot better :)

Now that filmklubb movies are on the frontpage, could we use that data to have these events also available in the calendar as another option? Thanks!

Now that filmklubb movies are on the frontpage, could we use that data to have these events also available in the calendar as another option? Thanks!

Sure! We can make an option for movies as well.

I get a "Failed to create ics file" now if I try to include movies, so #1595 doesn't seem to do the job. Thanks again for working on it tho, and so swiftly at that!

Edit: never mind. works now. might not have been entirely rolled out.

Movies are added to the calendar now, create a new URL here: https://echo.uib.no/beta/calendar, or add includeMovies=true to your existing URL.

I get a "Failed to create ics file" now if I try to include movies, so #1595 doesn't seem to do the job. Thanks again for working on it tho, and so swiftly at that!

Hehe, yeah, should be fixed in the latest deployment now. #1596

@Cengelsen Event for registration start for a company presentation is as an option. :)

Closing this issue now. Feel free to open again.

The link to be copied is missing the https://echo.uib.no at the beginning.

incompletelink

Has this been launched to the main site yet? if not, when can we expect this to be a launched feature?

omfj commented

Thanks, @Cengelsen. The url should be fixed now.

We do not, yet, link to this page (/beta/calendar) on the site, if that is what you mean. When we will, I am not sure.

But you can use the /api/calendar-link safely, we won't change the url of that endpoint.

Thank you, but i was thinking that it would be nice if this was a feature available on the main production site and not through /beta/calendar.

That the link that is generated when filtering out what events to be shown on the page is visible there.

Skjermbilde fra 2024-06-23 21-13-19

It would be perfect if it was right underneath the different "filter-tabs" on this page. if not, the feature is neither found or used by anyone.

What is the status on this? I see the link (or entire component) is not on the main page yet. I personally don't see how this is a closed issue until this is done.

omfj commented

Someone is working adding a proper link to the page. It's an internal issue. Not sure of the status.

Alright, thank you! I just think it's such a shame that this feature will not be seen by anyone when you've worked so hard and well on it 😅