Skip to content

Regatta Timer v0.7 — watch-face complication - #9

Merged
johnhringiv merged 15 commits into
mainfrom
feature/complication
Jul 15, 2026
Merged

johnhringiv merged 15 commits into
mainfrom
feature/complication

Conversation

@johnhringiv

@johnhringiv johnhringiv commented Jul 15, 2026 •

Copy link
Copy Markdown
Owner

Closes #2.

Added

  • Watch-face complication (RANGED_VALUE + SHORT_TEXT fallback): weather-style ring where a positioned dot is the time remaining (TYPE_RATING renderer hint — the same treatment faces give the weather complication), ticking countdown in the center, sailboat icon at the bottom — rendered entirely by the watch face
  • One-tap start: tapping the armed complication opens the app already counting down the last-used mode (app toggle, tile, or complication — one shared memory; the armed label shows "5m"/"3m"); tapping mid-race just opens the app, and repeated deliveries can never restart a sequence
  • Zero-push rendering: countdown text ticks via time-difference text, the ring dot sweeps via a platform-evaluated dynamic value, and a data timeline flips countdown → count-up at the gun — all live even if the app process is dead
  • Count-up progress dot: after the gun the dot sweeps forward against a nominal race hour, parking at max for longer races
  • Docs: complication sections with on-watch screenshots and matched on-device demo loops (app + complication, guns on the same beat); upfront ambient-cadence note; free/no-ads/no-tracking callout linking the privacy policy

Changed

  • sync() now refreshes tile + complication (the deadline moves); tile updates generalized to updateSurfaces(); mode toggles push surface updates so the armed complication relabels immediately
  • Complication instants rounded to whole seconds so the ticking text and dot flip in phase

Fixed

  • Stale gun haptic: entering the app minutes after the gun could fire the full gun blast (frozen-process ticker waking late). The gun haptic is now timeliness-guarded (±2 s of the real deadline); late wakes transition to count-up silently

🤖 Generated with Claude Code

johnhringiv and others added 15 commits July 14, 2026 22:46
RANGED_VALUE complication (SHORT_TEXT fallback): weather-style ring
where the dot is time remaining, ticking countdown center text,
sailboat icon. Zero-push design — time-difference text ticks, a
dynamic value sweeps the dot (~1 Hz platform-evaluated), and a data
timeline flips countdown->count-up at the gun, all without the app
process. Config-on-add picks 5/3 min per instance; armed shows SET;
tap opens the app auto-started (ticker/haptics live there); repeated
deliveries can't restart. Mode rides the PendingIntent data URI so
two instances don't dedup-collide. sync() now refreshes surfaces.

Closes #2 groundwork; PRD §9, README/site feature bullets.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Armed complication shows "5m"/"3m" and arms the last mode used
  anywhere (app toggle, tile, complication start) — config-on-add
  activity and per-instance mode store removed
- Gun haptic is timeliness-guarded: a frozen process waking minutes
  past the deadline transitions to count-up silently instead of
  firing a stale gun blast (2 s window)
- RaceStore.clear() preserves lastMode; toggle/arm push surface
  updates so the armed label tracks immediately

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
setValueType(TYPE_RATING) tells face renderers the value is a position
on a scale (like weather's temp between high/low) rather than progress
— on Pixel faces this swaps the draining arc for the positioned dot.
Verified live on the Pixel Watch 3; README/site complication sections
gain armed + counting-down face screenshots.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…order

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Text flips on the deadline's ms phase, dynamic values on epoch
seconds — rounding the instants handed to the face aligns both.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Same sequence as the app hero (final seconds -> gun -> count-up flip),
same 15s cut with the gun on the same beat; recorded on-watch with
the whole-second sync fix so text and dot flip together. Also shows
the timeline countdown->count-up flip rendering live on the face.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The emulator-sourced clip skipped a second under host load and mangled
the flip; on-device footage ticks 10..1, amber, then green 0:00 -> up.
Both hero loops are now same-device, same-sequence, same beat.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Anchored on the 05->04 tick instead of the face's fuzzy gun
crossover; both loops now change values on the same frame.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@johnhringiv
johnhringiv merged commit c3e8c74 into main Jul 15, 2026
4 checks passed
@johnhringiv
johnhringiv deleted the feature/complication branch July 15, 2026 21:11
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.

Watch-face complication for one-tap launch

1 participant