Skip to content

feat(extensions): a calendar capability, multi-select keys and row tooltips - #300

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

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

Conversation

@adefreitas

@adefreitas adefreitas commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

This PR adds what the app needs to run meeting reminders as an extension instead of as built-in code, replacing #275. The extension itself is in StackOneHQ/stack-nudge-extensions-marketplace#2.

Release order: this PR must ship first. The host refuses a manifest that names a capability it doesn't know, so the Meetings extension can't install until an app release has calendar.

Changes

  • calendar capability, trusted only. Settings shows it as "Read your calendar". Info.plist gets the calendar usage strings and the entitlement. The app itself never reads a calendar. An extension runs as a child of the app, so macOS asks for StackNudge's calendar access the first time the extension asks, and never on an update alone.
  • Multi-select config keys. A choice or dynamic key can set "multiple": true. Settings then shows a checklist: Space or ⏎ opens it, Space ticks an item, ⏎ or ← saves. The value is stored comma-joined, so an option containing a comma is refused. Meetings uses it for the Calendars key.
  • Row tooltip. An extension row can carry hover text of up to 1024 characters. Meetings uses it for the event's calendar and description.

The Debug menu entries Meetings uses are in #304, and the alert pose for its reminders is in #303. Meetings works without either.

Checks

  • make test-without-xcode passes: 2165 tests, 0 failures. ./build.sh arm64 builds.
  • I ran this branch, with the Meetings extension, on my Mac. It reads 6 calendars, the checklist filters which ones it watches, and the Today tab and tooltip show as described.

🤖 Generated with Claude Code

adefreitas and others added 4 commits December 3, 2026 10:50
A row may carry `tooltip`, up to 1024 characters, drawn nowhere but on
hover, so an extension can offer a longer description than the 256
characters a drawn field holds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adefreitas
adefreitas force-pushed the feat/calendar-capability branch from 6b4bc11 to d9f1529 Compare December 3, 2026 11:00
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