Skip to content

feat(calendar): meeting nudges and a Today tab - #275

Open
adefreitas wants to merge 4 commits into
StackOneHQ:mainfrom
adefreitas:feat/calendar
Open

adefreitas wants to merge 4 commits into
StackOneHQ:mainfrom
adefreitas:feat/calendar

Conversation

@adefreitas

Copy link
Copy Markdown
Collaborator

Summary

Adds Calendar to the panel: heads-up, change and morning-summary rows from Calendar.app, and a Today tab listing the day's meetings in order, with the current one marked. ⏎ or a click joins through the meeting link, or opens the event in Calendar.

Changes

  • Calendar watcher posting heads-up, changes and a morning summary as feed events.
  • Today tab, opening on the current meeting.
  • Settings: a Calendar category. Lead time and summary time are value rows that follow main's picking rule; the rest are toggles.
  • Esc removed from the Today tab's routing and footer, per AGENTS.md.
  • Calendar access described in PRIVACY.md; docs in docs/notifications.md and docs/panel.md.

Testing

  • make test-without-xcode: 1952 ok, 0 failed.
  • ./build.sh arm64 builds.
  • Not yet checked by hand on a local build since the rebase onto main.

adefreitas and others added 4 commits November 24, 2026 14:50
… Calendar.app

Port Hounder's calendar features. With Settings > Calendar on, stack-nudge
reads the calendars synced into Calendar.app through EventKit and posts feed
events (source calendar, tag calendar). Nothing leaves the Mac, and macOS is
only asked for calendar access once the setting is turned on.

- Heads-up before each meeting (5, 10 or 15 minutes, default 10) as one keyed
  row, meeting:<id>:<start>. It is an action at the heads-up, is replaced by
  an alert at the start, opens the meeting link, and is removed when you join
  or five minutes after the start. A moved or cancelled meeting loses its row.
- Meeting added, changed and cancelled rows, with Hounder's diff rules: late
  synced meetings and re-issued ids stay quiet, and a cancellation waits out a
  five minute grace.
- Morning summary on weekdays at a set time, once a day, until noon, with the
  optional empty-day row.
- Join detection: Meet tabs (including meet.google.com/meet/<code>) via
  osascript in running browsers, Zoom via the CptHost process, Teams by window
  title. It needs Automation per browser and has its own setting.
- Today's meetings are published on PanelNav.todaysMeetings for a view to read.

EventStore gains remove(key:) for feed events, and its duplicate check now
compares titles so two meetings at the same time both land. Info.plist gains
the calendar usage strings and a broader Apple Events string; the entitlements
gain the calendars entitlement a hardened-runtime build needs for EventKit.
The calendar selection is the config key STACKNUDGE_CALENDARS (no picker).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…djacency

Other integration categories (GitHub) may sit between them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Shown while Calendar is on. Lists today's meetings from the watcher in
order with times, title, location or organizer, and a notes snippet; past
ones dimmed, the one in progress marked Now, and the tab opens on it or the
next one. ↑↓ select, ⏎ or a click joins through the meeting link, else opens
the event in Calendar. Without calendar access it says so and links to the
Calendar settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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