Skip to content

Minimal phone notification: single body, no click handler#6

Merged
amiller merged 1 commit into
mainfrom
sw-minimal
May 3, 2026
Merged

Minimal phone notification: single body, no click handler#6
amiller merged 1 commit into
mainfrom
sw-minimal

Conversation

@amiller

@amiller amiller commented May 3, 2026

Copy link
Copy Markdown
Contributor

Drops the per-trigger body parsing and notificationclick handler from docs/pair/sw.js. Notification = one canonical line + cat icon + tag. Tap dismisses, no "next page" to design.

Dynamic content (per-trigger body, LLM roast, varying icon) requires RFC 8291 aes128gcm payload encryption; deferred.

🤖 Generated with Claude Code

…andler

Drops the speculative per-trigger body parsing and notificationclick
handler that opened youtube.com (counterproductive for a "stop
doomscrolling" alert).

Phone notification now matches the desktop chrome.notifications copy
exactly: one intentional body line, cat icon, tag for replace-on-restreak.
Tap dismisses; no link, no extra page to design or maintain.

Per-notification dynamic content (custom icon, dynamic body, LLM roast,
etc.) requires RFC 8291 aes128gcm payload encryption — deferred until
that's implemented.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@amiller amiller merged commit 31f4f50 into main May 3, 2026
@amiller amiller deleted the sw-minimal branch May 3, 2026 18:34
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