omi icon indicating copy to clipboard operation
omi copied to clipboard

Google Calendar: support selecting multiple calendars

Open aryanorastar opened this issue 2 months ago • 2 comments

Source

Feedback portal: https://feedback.omi.me/p/google-calender (8 requesters)

Problem

Users with multiple Google calendars can connect Omi's integration but only see events from the account's primary calendar. The separate Google OAuth hard-block is already tracked by #12354.

Current main hardcodes calendars/primary/events across the backend Calendar tools and desktop readers, and exposes no calendar picker or persisted selection.

Expected behavior

  • List the calendars the connected Google account can read.
  • Let the user choose one or more calendars to include, with the primary calendar selected by default.
  • Apply that selection consistently to event reads/imports and meeting context on supported clients.
  • Clearly distinguish read/import selection from the calendar used when creating a new event.
  • Preserve the selection across reconnects where the same Google account remains authorized.

Acceptance criteria

  • Personal and Workspace accounts can select multiple readable calendars.
  • Events from selected secondary calendars appear in Omi; unselected calendars do not.
  • Existing users retain primary-only behavior until they opt into more calendars.
  • Revoked or deleted calendars fail gracefully and can be removed from the saved selection.
  • Automated coverage includes primary-only compatibility, multiple selection, and inaccessible-calendar handling.

aryanorastar avatar Oct 01 '26 16:10 aryanorastar

This issue is linked to our feedback platform. For feedback and updates, please visit this link.

featurebase-for-github avatar Oct 01 '26 16:10 featurebase-for-github

@josancamon19 Would you fund a US$150 backend-only milestone toward #20195 under the paid-bounty proposal process?

I checked commit 9c5a7a077332b95c8a39e179058ba79447ba19c2: get_google_calendar_events in backend/utils/retrieval/tools/calendar_tools.py (line 419) accepts no calendar selection and fetches only calendars/primary/events. Running that unchanged function with a synthetic Google provider confirmed two cases: an empty primary returns no events even when a secondary fixture has an event; a two-page primary returns only its two events. This is an isolated backend reproduction, not a live OAuth or client test.

Proposed deliverable:

  • Backend list/read/save operations for an explicit selection of readable calendars, retaining primary-only defaults and the selection on reconnect to the same Google account.
  • Backend event reads respecting that selection, per-calendar pagination, calendar/event identity, and defined handling of deleted or inaccessible selections.
  • Hermetic regression coverage for compatibility, multiple selections, pagination, and access loss, plus the repository's applicable checks.

This is a separately reviewable backend phase; it would not close the whole issue. Client pickers/migration, the OAuth block, and changing event-write destinations are outside this price. The exact API contract and error/partial-result behavior need agreement first.

This is a non-binding proposal, not a bounty claim or reservation. Before implementation, please confirm whether this limited phase is independently payable, its acceptance/merge conditions, and whether your PayPal payout supports a Japan-based recipient, including payout timing and fee treatment. Recipient setup is not yet verified. If the phase is already covered or only a complete cross-client solution is useful, I will leave it here.

taroyamada3173-sys avatar Oct 08 '26 02:10 taroyamada3173-sys