Skip to content

Add an AOD preview toggle to the watchface showcase page - #36

Merged
freethinkel merged 1 commit into
mainfrom
aod-toggle-watchface-page
Aug 13, 2026
Merged

Add an AOD preview toggle to the watchface showcase page#36
freethinkel merged 1 commit into
mainfrom
aod-toggle-watchface-page

Conversation

@freethinkel

Copy link
Copy Markdown
Owner

The showcase page (/market/[id]) drew the main screen of the face only. Faces that carry an always-on screen now get a button under the dial that switches the live render between the two.

  • market.model.ts: $dialScreen + dialScreenSet, and $hasAod derived from $live — a face without an AOD screen would just fall back to the main one, so the page doesn't offer the toggle. Reset alongside $live/$bin on watchfaceRequested.
  • live-dial.svelte: a screen prop handed to renderDoc (read before the rAF loop, so the loop doesn't re-run the effect).
  • watchface.svelte: the toggle button, view only.

npm run check and npm run build pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01R4XzJpa6bUvX6ZATdiQ758

The showcase page drew the main screen only. Faces that carry an always-on
screen now offer a button that switches the live dial between the two.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R4XzJpa6bUvX6ZATdiQ758
@freethinkel
freethinkel merged commit e2e9822 into main Aug 13, 2026
1 of 2 checks passed
@freethinkel
freethinkel deleted the aod-toggle-watchface-page branch August 13, 2026 21:18
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