feat(watch): the last marker and the automatic cycle kept between runs #52

Merged
dawid merged 3 commits from watch-resume into main 2026-11-18 13:39:41 +00:00
Owner

The automatic cycle on the watch stopped after the menu or the pairing screen had been open,
though the label still said auto: onHide stopped its timer and onShow never started it
again. Now it does.

  • Menu: its first item is Auto cycle (or Stop auto cycle), because on the Viewers
    screen (the QR code) a tap opens the menu instead of starting the cycle.
  • Resume: the marker shown and whether it cycles are kept in Application.Storage when the
    app closes, and taken up again when it opens, if that ID still has a model.
  • Pairings were already kept on both sides (watch: Sessions, viewer: IndexedDB); unchanged.

Docs: docs/dev/watch.md (controls), docs/user/guide.md.

Not compiled locally (no SDK on studio): CI's watch job compiles and type-checks it.

The automatic cycle on the watch stopped after the menu or the pairing screen had been open, though the label still said `auto`: `onHide` stopped its timer and `onShow` never started it again. Now it does. - **Menu:** its first item is **Auto cycle** (or **Stop auto cycle**), because on the Viewers screen (the QR code) a tap opens the menu instead of starting the cycle. - **Resume:** the marker shown and whether it cycles are kept in `Application.Storage` when the app closes, and taken up again when it opens, if that ID still has a model. - **Pairings** were already kept on both sides (watch: `Sessions`, viewer: IndexedDB); unchanged. Docs: `docs/dev/watch.md` (controls), `docs/user/guide.md`. Not compiled locally (no SDK on studio): CI's watch job compiles and type-checks it.
feat(watch): the last marker and the automatic cycle kept between runs, and the cycle in the menu
Some checks failed
CI / checks (pull_request) Successful in 36s
CI / e2e (pull_request) Failing after 1m55s
CI / relay (pull_request) Successful in 1m31s
CI / image (pull_request) Successful in 57s
CI / watch (pull_request) Failing after 17s
CI / android (pull_request) Successful in 2m12s
8582ac5588
The cycle's timer stopped whenever the menu or the pairing screen covered the markers and
never started again, while the label still said auto: it starts again in onShow now. The
menu's first item starts or stops the cycle by name, since on the Viewers screen a tap opens
the menu instead. The marker shown and the cycle are kept in Application.Storage when the app
closes.
test(viewer): the models checked at a fixed time, not while the hourglass turns over
All checks were successful
CI / checks (pull_request) Successful in 35s
CI / relay (pull_request) Successful in 54s
CI / image (pull_request) Successful in 57s
CI / e2e (pull_request) Successful in 4m2s
CI / android (pull_request) Successful in 2m6s
CI / watch (pull_request) Successful in 3m0s
5edf8768ca
The hourglass turns over at each minute and dips below the face while it turns: the check
failed whenever it ran in that second (run 3919).
dawid merged commit 1191a1fbbe into main 2026-11-18 13:39:41 +00:00
dawid deleted branch watch-resume 2026-11-18 13:39:42 +00:00
Sign in to join this conversation.
No description provided.