Repository navigation
calendar 0.3.0: Sync this table to Google Calendar (#177 item 14) - #272
Merged
Merged
Conversation
On an event-v1 table the app is a view of, the "Not synced" banner offers "Sync this table to Google Calendar". The app asks for the host's "Allow editing" when the row grant is missing or doesn't cover its declared row-extras (atomic-server #1740/#1849, pin a12b74a), keeps the calendar choice on a binding resource under the App (synced-table, google-calendar-id, -meta), since a grant never writes the table, then syncs that table with the same compare-on-open, review-before-send, If-Match and conflict rules as its own table. Bookkeeping stays on the rows. Rows already in the table stay local only; no row is ever deleted there; a revoked grant pauses the sync. Unit tests (syncTable.test.ts, a fake store enforcing the pin's grant scope), a view test, an e2e (hand-made table, Add view read-only, Sync this table, Allow editing, connect, import, a Notes edit sent with If-Match). Published as apps/calendar/0.3.0 (127,611 bytes, limit 138 KiB); catalog stays enabled: false; usertest VERSIONS calendar usertest-10. The pattern is documented in integrations/README.md for issue-tracker and timesheets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On an
event-v1table the Calendar app is a view of (added with Add view), the "Not synced" banner now offers Sync this table to Google Calendar.row-extras(atomic-server #1849, in pin a12b74a).synced-table,google-calendar-id,-meta).Tests:
app/syncTable.test.ts(10 tests, with the fake store enforcing the pin's grant scope), plus a view test and the host-operations test.description, with If-Match.Release:
apps/calendar/0.3.0(127,611 bytes, limit 138 KiB). The catalog entry staysenabled: false. Usertest calendar isusertest-10. The pattern for issue-tracker and timesheets is documented inintegrations/README.md("Syncing a table the app didn't make").Checks: calendar typecheck, unit (175) and e2e (6/6). Also: tooling tests 251/251, apps and ontology checks, certify, e2e tsc, oxlint (0 errors) and oxfmt. Not verified against live Google.
Part of #177 (item 14, calendar only).
🤖 Generated with Claude Code