Skip to content

feat(marketing): polish mobile story motion and chapter navigation - #1069

Merged
athvin merged 1 commit into
mainfrom
codex/landing-interactions
Nov 9, 2026
Merged

athvin merged 1 commit into
mainfrom
codex/landing-interactions

Conversation

@athvin

@athvin athvin commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Closes #1068

What

Make the landing story work as a sequence of native scroll stops on phones, with continuous quadratic volume controls, a persistent light/dark toggle that defaults marketing to dark, and smooth records visible beneath translucent processing shapes.

Why

Mobile swipes could settle between chapters, narrow screens overflowed, and the previous dot renderer was unreliable on phones. The footer must remain reachable without jumping back up.

Proof

The requester approved the local production preview. Before the final rebase: 61 interaction checks passed across desktop Chromium, mobile Chromium and mobile WebKit; all 27 Linux marketing visual comparisons passed; the new narrow-screen and touch-snap regressions were observed failing on the previous preview. make skills-check and CI=1 make frontend pass on rebased commit 195e78f6: lint/format/types and boundary gates, 922 unit/component tests with coverage, the production build, and 684 functional browser tests (135 expected platform/tier skips).

Risk & rollback

Native snapping and animation remain browser-dependent; reduced motion keeps a static explanation. Theme defaults are scoped to marketing routes. Roll back by reverting the squash commit.

Post-merge ledger

Closed by: Codex · session 01a1c1eb-55c3-7410-824a-a4f301c5c639 on Mac-46 · 2026-11-09T23:05:42Z

  • main is green with this change on it — squash 83ffb0a7814cf3b685120bfd3fe5b394805bb84b, merged 2026-11-09T22:35:07Z and verified on origin/main. frontend 42713192430, rust 42713192455, infra 42713193153 and devcontainer 42713192578 succeeded on the squash. The 30-minute watch completed at 2026-11-09T23:05:09Z without a new failure; public readiness continued returning HTTP 200.
  • images — run 42713193011 succeeded for 83ffb0a7; er-web built, er-api correctly skipped because this merge changes no Rust image inputs.
  • deploy converged — run 42713998469 succeeded for 83ffb0a7 in dev and prod. Live service selectors point to dev blue and prod green; both serve er-web digest sha256:61f0e3c393174e8266549ff66074c13f79788a85a2614b1938dafd3756ae4db4, with one ready replica and zero restarts. The new processes emitted Ready in 0ms: dev pod web-api-blue-6f47689bd-cx6zr at 2026-11-09T22:45:19Z; prod pod web-api-green-55d9864f9d-kskw5 at 2026-11-09T22:45:02Z.
  • the push-only surface no pull request can pre-test is green or knowingly unrelated — images and the deployment of 83ffb0a7 succeeded as linked above. Latest scheduled drift 42637742835 and kind 42575735163 are green; neither is triggered by this frontend merge. Runner experiment 42710372573 is a known unrelated failure: old main 80c674ec, completed 22:34:12Z before this merge, present in the pre-merge baseline; its ARM comparison rejects unequal primed/fresh test identities in unchanged scripts/ci/runner-experiment.py. No failure was attributed to this release.
  • the board card reached Done through automation — Polish landing story motion, mobile snapping and theme controls #1068 closed at 2026-11-09T22:35:08Z; its closing event names PullRequest feat(marketing): polish mobile story motion and chapter navigation #1069 and its project status is Done.
  • follow-ups are open for everything deferred here — n/a — no release work was deferred; one PR-loop pass, zero fixes, zero reruns and zero follow-up PRs.
  • what was learned is written down — frontend/src/components/marketing/demo/REHEARSAL.md records mobile snapping, local animation coordinates, transmitted light, regression evidence and physical-device limits; the landing-page skill records the mobile snap targets.

Specific to this change

  • Verify the deployed landing page serves the updated theme and flow controls — 13 applicable public-site Playwright checks passed against https://dupezero.com across desktop Chromium, mobile Chromium and mobile WebKit: continuous quadratic volume, persistent dark-default theme, narrow-screen particle motion, real touch chapter snapping, and reachable footer. Two expected skips exclude the Chromium-only CDP gesture test from desktop and WebKit.
Context — validation and implementation
  • The live story animates HTML sprites beside SVG paths, with local coordinates, synchronized clipped light, and nonzero visibility markers for vertical paths. Offscreen paths pause.
  • Mobile trail headings and diagrams have distinct snap stops; an end-aligned footer prevents the former bottom bounce. The touch regression uses Chromium input events rather than programmatic scrolling.
  • Continuous slider position maps quadratically from 1,000 to 10,000,000 records. Keyboard controls and linked examples stay synchronized.
  • The fresh-eye review covered emulated iPhone 15 and SE in both themes. Physical-device frame delivery was not measured; the requester reviewed and approved the phone preview.
  • A five-second throttled Chromium trace recorded zero Paint/Layout events during flow, compared with 1,505 Paint/301 Layout events before the animation revision. This establishes less rendering work, not a physical-phone frame-rate guarantee.
  • frontend/src/components/marketing/demo/REHEARSAL.md records the visual review, regression evidence and sampling limits.

@athvin
athvin marked this pull request as ready for review November 9, 2026 22:32
@athvin
athvin merged commit 83ffb0a into main Nov 9, 2026
42 checks passed
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.

Polish landing story motion, mobile snapping and theme controls

2 participants