From e6e4792d019624f37082f59885a16c34b2758648 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 30 Aug 2025 07:17:03 +0000 Subject: [PATCH] Implement Google Calendar integration with sync button and calendar selection Co-authored-by: clayschaad <11883505+clayschaad@users.noreply.github.com> --- Client/Pages/Index.razor | 52 +++++++ Client/Pages/Index.razor.cs | 101 ++++++++++++++ Server/Controllers/ShiftController.cs | 39 +++++- Server/Program.cs | 3 + Services/GoogleCalendarService.cs | 176 ++++++++++++++++++++++++ Services/ShiftScheduler.Services.csproj | 3 + Shared/GoogleCalendar.cs | 7 + 7 files changed, 380 insertions(+), 1 deletion(-) create mode 100644 Services/GoogleCalendarService.cs create mode 100644 Shared/GoogleCalendar.cs diff --git a/Client/Pages/Index.razor b/Client/Pages/Index.razor index 5c1aee9..447fbc7 100644 --- a/Client/Pages/Index.razor +++ b/Client/Pages/Index.razor @@ -8,6 +8,17 @@
Loading your calendars...
+ } + else + { +Choose which calendar to sync your shifts to:
+