Skip to content

feat: add calendar sync triggers and visual type filtering - #298

Merged
h4yfans merged 11 commits into
mainfrom
fix/calendar-sync-triggers
Apr 20, 2026
Merged

feat: add calendar sync triggers and visual type filtering#298
h4yfans merged 11 commits into
mainfrom
fix/calendar-sync-triggers

Conversation

@h4yfans

@h4yfans h4yfans commented Apr 20, 2026

Copy link
Copy Markdown
Collaborator

What

Add Google Calendar auto-sync on focus, resume, and manual refresh; add visual type filtering to calendar views; implement event deletion.

Why

Calendar sync was only triggered by periodic intervals (every 5 minutes). Users expect real-time updates when the app regains focus or comes back from background. Added ability to filter calendar items by type (events, tasks, reminders, snoozed items) and delete calendar events.

How

  • New sync triggers: window focus, app resume, manual refresh button
  • Visual type metadata and filtering in calendar views
  • Delete event dialog with confirmation
  • New mutation hook for delete operations
  • Updated tests and IPC contracts

Type

  • feat

Test plan

  • Calendar syncs when app window regains focus
  • Calendar syncs when app resumes from background
  • Manual refresh button triggers sync
  • Visual type filters work correctly in all calendar views
  • Event deletion dialog appears and works
  • Tests pass: pnpm test (7135 tests)
  • Type checking passes: pnpm typecheck
  • IPC contracts validated: pnpm ipc:check

Checklist

  • Self-reviewed code
  • No hardcoded secrets or credentials
  • Files follow 500 LOC guideline
  • Immutable patterns used throughout

@h4yfans
h4yfans merged commit eae3c0f into main Apr 20, 2026
8 of 10 checks passed
@h4yfans
h4yfans deleted the fix/calendar-sync-triggers branch April 20, 2026 17:39
h4yfans added a commit that referenced this pull request May 6, 2026
feat: add calendar sync triggers and visual type filtering
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