feat(sync): add markEventsAsPrivate option to source calendars#408
Open
lucky-lusa wants to merge 1 commit into
Open
feat(sync): add markEventsAsPrivate option to source calendars#408lucky-lusa wants to merge 1 commit into
lucky-lusa wants to merge 1 commit into
Conversation
Adds a new Pro-only toggle that marks all synced events as private in destination calendars. Useful for syncing personal calendars to work calendars while showing only busy/free status to colleagues. - Adds markEventsAsPrivate boolean column to calendars table (migration 0071) - Propagates isPrivate flag through SyncableEvent to all provider serializers - Google: sets visibility: "private" - Outlook: sets sensitivity: "private" - CalDAV/iCloud/Fastmail: sets CLASS:PRIVATE (RFC 5545) - Adds Pro gate in API handler (same as other event filter fields) - Adds toggle to Sync Settings section in calendar detail UI Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Owner
|
Hey, will review this once I’m back home in a few days. Thank you for the contribution! |
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.
Summary
Implementation
markEventsAsPrivateboolean column oncalendarstable (migration0071)SyncableEventgets anisPrivateflag, set infetchEventsForCalendarsvisibility: "private"sensitivity: "private"(also addssensitivityfield tooutlookEventSchema)CLASS:PRIVATE(RFC 5545)canUseEventFilters(Pro plan), same as other event filter fieldsTest plan
bun run test)