Skip to content

feat: [Feature/Integration] Two-Way Sync Engine for Google Calendar & Apple Calendar (OAuth + Webhooks)#1018

Open
knoxiboy wants to merge 2 commits into
Charushi06:mainfrom
knoxiboy:feat/779-calendar-sync
Open

feat: [Feature/Integration] Two-Way Sync Engine for Google Calendar & Apple Calendar (OAuth + Webhooks)#1018
knoxiboy wants to merge 2 commits into
Charushi06:mainfrom
knoxiboy:feat/779-calendar-sync

Conversation

@knoxiboy
Copy link
Copy Markdown

@knoxiboy knoxiboy commented Jun 1, 2026

🐞 Description

Resolves #779.

💻 Expected Behavior

Sets up the foundational stub \CalendarSyncEngine\ to handle Google OAuth and Apple WebDAV logic.

🖼️ Screenshots / Logs (if applicable)

N/A

✅ Checklist

  • Initial architecture placeholder

Copilot AI review requested due to automatic review settings June 1, 2026 16:38
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Introduces a stubbed external calendar synchronization engine intended to address issue #779 by providing initial hooks for Google and Apple calendar connectivity and outbound event sync.

Changes:

  • Added CalendarSyncEngine with provider connection state tracking.
  • Added placeholder connect methods for Google (OAuth) and Apple (CalDAV/iCal) flows.
  • Exposed a singleton instance on window for global access.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread js/calendar-sync.js
Comment on lines +16 to +26
async connectGoogleCalendar() {
console.log("Initiating OAuth flow for Google Calendar... (Resolves #779)");
// To be implemented: OAuth popup and token exchange
this.providers.google.connected = true;
}

async connectAppleCalendar() {
console.log("Generating iCal link and setting up Apple Calendar sync...");
// To be implemented: WebDAV/CalDAV setup
this.providers.apple.connected = true;
}
Comment thread js/calendar-sync.js
}
}

window.calendarSyncEngine = new CalendarSyncEngine();
Comment thread js/calendar-sync.js
Comment on lines +28 to +31
syncEventToExternal(eventData) {
if (!this.providers.google.connected && !this.providers.apple.connected) return;
console.log("Syncing event out to external providers...");
}
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.

[Feature/Integration]: Two-Way Sync Engine for Google Calendar & Apple Calendar (OAuth + Webhooks)

2 participants