Skip to content

Google Calendar Integration for Events#303

Open
ambers7 wants to merge 5 commits into
masterfrom
as4288/gcal-integration
Open

Google Calendar Integration for Events#303
ambers7 wants to merge 5 commits into
masterfrom
as4288/gcal-integration

Conversation

@ambers7

@ambers7 ambers7 commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

Summary

This pull request implements Google Calendar integration for Campus Events. It takes in a CampusEvent, gets the event title, description, start/end time, and location, and creates a Google Calendar invitation link that fills in the information in their respective places.

Handles both timed events and all-day events. All day events are marked as such (allDay= true) in the CampusEvent.

  • created a function to create a Google Calendar event URL using Dart's Uri class.
  • made helper functions to convert a CampusEvent DateTimes for startTime and endTime into UTC times that follow the Google Calendar format (YYYYMMDD for all day events and YYYYMMDDTHHmmssZ for timed events).
  • tested creation of GCal URLs of different timed and all day events manually

@dti-github-bot

dti-github-bot commented Mar 30, 2026

Copy link
Copy Markdown
Member

[diff-counting] Significant lines: 5346. This diff might be too big! Developer leads are invited to review the code.

3TTemi
3TTemi previously approved these changes Apr 22, 2026
Comment thread game/lib/utils/gcal_url.dart Outdated
Comment thread game/test/gcal_url_test.dart Outdated
Comment thread game/lib/utils/gcal_url.dart Outdated
Comment thread game/lib/utils/gcal_url.dart Outdated
Comment thread game/lib/utils/gcal_url.dart Outdated
Comment thread game/lib/utils/gcal_url.dart Outdated
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 this pull request may close these issues.

3 participants