Magic Apps

Documentation

macmagic.app

WidgetKit widgets

The extension's process boundary, the App Group snapshot and the timeline reload are the shared mechanism in ../shared/widgets.md. Magimail's own families and layouts are below.

Widget families and layouts

Unread overview

Quick actions

Recents

Inbox dashboard

The family set itself is fixed by macOS. Widgets cannot host interactive text input (NSTextField), so search stays in the menu bar popover; that is why there is no search widget. ControlWidget quick compose is not built, macOS has no systemExtraLarge family, and Lock Screen accessory widgets are iOS and iPadOS only.

Typography, colour and surfaces

The shared card tokens, the feed-versus-card rule and the brand-mark rule are in ../shared/widgets.md.

Build and verification pipeline

An extension is built standalone and then bundled into Contents/PlugIns/; the rules, including why build-app.sh refuses to package without it, are in ../shared/widgets.md.

cd apps/magimail/widgets
./build.sh release
pnpm --filter magimail build:widgets

build.sh stamps the version and the build number before signing, the same way every extension in the project does.