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

Implement Export Event as ICS File Functionality #172

Closed
Aokijiop opened this issue Apr 18, 2024 · 0 comments · Fixed by #193
Closed

Implement Export Event as ICS File Functionality #172

Aokijiop opened this issue Apr 18, 2024 · 0 comments · Fixed by #193
Assignees

Comments

@Aokijiop
Copy link
Collaborator

Description

  • Here is a volunteer account for you to log in with (Or you can create/use your own):
  • Once logged in, navigate to the "Current Events" tab and click on an event to bring up the VolunteerSideView
  • You will notice that there is a button called "Calendar" for adding the event to the calendar
  • Your job for this task will be to implement the functionality for this button
  • When clicked, the user should download a .ics file with the appropriate event details filled out for the calendar event
  • To create the .ics file, you will use ical-generator. Here are some arguments that you will need:
    • start: Start time of event
    • end: End time of event
    • summary: The event name
    • description: The event description
    • location: The event location
  • Some things to note:
    • Both start and end expect Date objects
    • Once you create an ICalEvent using calendar.createEvent, you will want to convert it to a Blob object to make downloading easier
      • image

Acceptance Criteria

  • The functionality for the "Calendar" button has been implemented as specified
    • The downloaded .ics file has the appropriate data based on the event

Resources

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

Successfully merging a pull request may close this issue.

3 participants