Skip to content

Turn Apple Watch taps on by default, asked for in the intro - #47

Merged
mattbat merged 1 commit into
mainfrom
claude/happy-noether-uex5r5
Dec 1, 2026
Merged

mattbat merged 1 commit into
mainfrom
claude/happy-noether-uex5r5

Conversation

@mattbat

@mattbat mattbat commented Dec 1, 2026

Copy link
Copy Markdown
Owner

What

Apple Watch taps (PR7c) are now on by default. iPhone only asks notification permission from a tap, so:

  • First-run intro: a new card, "Taps on your Apple Watch", with Allow watch taps (asks permission) or Not now (turns them off). It only appears where notifications can work (the Home Screen app).
  • Coaches who skipped the intro or set up before this: asked on their first Start practice, unless they turned taps off.
  • Settings → Practice timer: the switch shows on until permission is asked, with a note saying next5 will ask when they start a practice. Diagnostics reports that state too.

Tests

  • timerNotice.test.ts: on by default (new ask state), asks permission once, stays off when turned off, and stays on if storage throws.
  • Help.test.tsx: the intro's watch card, for both Allow and Not now.
  • e2e/help.spec.ts: walks 6 or 7 cards, depending on whether the browser can send notifications.
  • npm run check passes: lint, types, 559 unit tests, build, 17 e2e.

Generated by Claude Code

Watch-tap notifications are now on unless the coach turns them off.
iPhone only asks notification permission from a tap, so the first-run
intro gets a "Taps on your Apple Watch" card (Home Screen app only) with
Allow watch taps / Not now. Coaches who skipped it or set up earlier are
asked on Start practice. Settings shows the switch on until then, with a
note that it will ask.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014vMVHhiKUNJEUSCnRJPN5M
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying next5 with  Cloudflare Pages  Cloudflare Pages

Latest commit: f3c5122
Status: ✅  Deploy successful!
Preview URL: https://5a27226d.next5-4gi.pages.dev
Branch Preview URL: https://claude-happy-noether-uex5r5.next5-4gi.pages.dev

View logs

@mattbat
mattbat merged commit 11fba08 into main Dec 1, 2026
13 checks passed
@mattbat mattbat mentioned this pull request Dec 1, 2026
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.

2 participants