Skip to content

feat(calendar): add private Google Calendar database view - #33

Merged
IsraelAraujo70 merged 8 commits into
mainfrom
feat/google-calendar-view
Aug 5, 2026
Merged

IsraelAraujo70 merged 8 commits into
mainfrom
feat/google-calendar-view

Conversation

@IsraelAraujo70

@IsraelAraujo70 IsraelAraujo70 commented Jul 31, 2026

Copy link
Copy Markdown
Owner

What changed

  • adds the calendar database contract and backward-compatible rich date values
  • adds Google OAuth with PKCE, encrypted refresh tokens, per-user connections and source selection
  • adds private event cache, incremental/full sync, webhook dedupe, recurring occurrence identity and an independent worker
  • projects Google events, materialized meetings and manual date rows into one calendar endpoint
  • materializes meeting notes through the existing operation engine with an idempotent event-to-row link
  • adds month and week web views with timezone-aware event times, source settings, cancellation state and meeting popovers
  • adds a native Expo/Android Agenda with month navigation, timezone-aware hours, all-day and cancelled states, event details, Meet links and linked-note navigation
  • centralizes the calendar view patch and event projection contract in @reason/core so web and Android apply the same semantics
  • adds a deterministic mobile Vitest gate and documents local, production and Android behavior

Why

Users can view the same selected Google calendars inside a database on web and Android without turning every event into a block. Private calendar data remains user-scoped, while explicit shared meeting notes remain normal database_row blocks.

Validation

  • GitHub CI: Backend, Web, Core, mobile and desktop jobs passed
  • make test: 162 Rust tests, 403 web tests, 5 mobile tests and 8 desktop tests passed
  • shared core, mobile and desktop TypeScript builds passed
  • clean mobile npm ci passed
  • npx expo-doctor: 18/18 checks passed
  • npx expo export --platform android: Android bundle completed with 1,278 modules
  • git diff --check passed

Known dependency baseline

  • npm audit --omit=dev reports 11 moderate and 19 high advisories in the existing Expo 54 / React Native toolchain. Available automated fixes require a major Expo 57 / React Native upgrade. This PR adds only Vitest as a development dependency and does not widen the Android runtime surface.

@IsraelAraujo70
IsraelAraujo70 marked this pull request as ready for review July 31, 2026 16:09

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2898aeeb60

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread frontend/components/database/organisms/database-calendar.tsx Outdated
Comment thread backend/src/application/google_calendar/calendar.rs
@IsraelAraujo70
IsraelAraujo70 merged commit 575a703 into main Aug 5, 2026
3 checks passed
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