Skip to content

feat(gcal): Google Calendar integration and landing - #85

Merged
ldelvoye merged 2 commits into
mainfrom
feat/gcal-landing
Sep 14, 2026
Merged

ldelvoye merged 2 commits into
mainfrom
feat/gcal-landing

Conversation

@ldelvoye

Copy link
Copy Markdown
Owner

Adds the Google Calendar integration as gcal: the manifest on the bundled OAuth provider from #84, a REST source that reads the user's timezone, the selected calendars, and two weeks of events (converted into the user's zone, all-day events as midnight-to-exclusive-midnight, working-location and OOO entries typed, declined and cancelled instances dropped), and the tab's landing: today's date drawn in block digits inside the folded-corner icon, a countdown to the next meeting, Google's four dots breathing, and the four destinations. The destinations toast until their views land in the next PRs, and the manifest declares no action keys yet for the same reason.

The client id and secret are placeholders until the shipping PR; the live check swapped the real ones into the registry in memory.

Replicated against a real account from a scratch config: smorg connect gcal on the CLI ran with no client-id prompt and recorded no client id, the in-app add flow routes a bundled path straight to the browser modal, a real fetch returned 4 calendars and 33 events in America/Los_Angeles, the landing rendered at 120×40 and 80×24, smorg status reported the scope, and smorg logout gcal revoked the token through the bundled id.

@ldelvoye
ldelvoye merged commit 7eb3a93 into main Sep 14, 2026
1 check passed
@ldelvoye
ldelvoye deleted the feat/gcal-landing branch September 14, 2026 04:39
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.

1 participant