Skip to content

feat(marketing): /features/matching — a pinned scoring scene and a Try-a-pair explorer (#1257) - #1271

Merged
athvin merged 4 commits into
mainfrom
issue/1257-marketing-matching-scene
Nov 26, 2026
Merged

athvin merged 4 commits into
mainfrom
issue/1257-marketing-matching-scene

Conversation

@athvin

@athvin athvin commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Closes #1257

🚧 Claimed by an agent session — 2026-11-26T20:08:31Z, session Claude Code:30a1182e-8c7e-47e3-92ac-cda64c13fcfc on brians-MacBook-Pro.
The claim is this open draft PR: closing it releases the ticket.

Post-merge is part of this pull request. The ledger below records whether
the follow-up work actually happened. /land-pr closes it.

What

/features/matching had no visual at all. It now gets two things (#1253):

  • A pinned scoring scene after the intro. It scores the close Meridian pair (Salesforce ↔ API) in five beats, one per existing section, each linking down to it.
    1. Clean: the values roll to their cleaned copies.
    2. Compare: each field gets its level.
    3. Rules: a must-not-match rule is checked and does not fire.
    4. Weights: signed bars from a centre axis, with a rare name worth most.
    5. Decide: 0.93 lands on a threshold scale drawn in lightness steps.
  • "Try a pair". The reader flips each field's level and watches the weights, the score and the decision move, including a rule overruling a joining score. It opens on the scene's pair, weight for weight.

Why

This is the page that explains how two records are judged the same, and it was prose describing something inherently visual. It is the first page in the rollout after the owner's checkpoint passed on the home scenes.

Proof

  • tsc, eslint and next build are green; /features/matching is still ○.
  • vitest: the new marketing-pair-model test, plus the scene and page component tests (the page renders in jsdom with the island): 46 passed.
  • Playwright marketing-scenes + marketing-pages on all three projects: 210 passed.
  • Axe on features/matching and landing, desktop and both phones: 6 passed.
  • New tests, each observed failing first:
    • The scrub reaches its decision frame. Without the decision's animation it fails with Expected: < 0.05, Received: 1.
    • "Try a pair" moves the decision, and the rule overrules a joining score. With the rule disabled it fails with Expected substring: "a rule no score can override".
    • The storyboard under reduced motion, and a poster baseline (marketing-matching-scene × 3).
  • make skills-check is green.

Risk & rollback

  • Risk: a content page gains a tall pinned scene and one client island. Reduced motion or no view-timeline support gets the storyboard; the island uses only state, with native radios.
  • Rollback: git revert <merge-sha>.

Post-merge ledger

Closed by: agent · session Claude Code:30a1182e-8c7e-47e3-92ac-cda64c13fcfc on brians-MacBook-Pro · 2026-11-26T20:48:21Z

Specific to this change

Context — plan, discoveries, measurements, files

Plan

  • pair-model.ts: the level table, scorePair, the rule; unit-tested to reproduce the scene's pair exactly
  • ThresholdScale mark: zones as lightness steps, the marker moved by transform against the track's own width
  • matching-stage.tsx/.css: storyboard first; five scrubbed beats; positions in custom properties so a phone's short stage can respace them
  • try-a-pair.tsx/.css: fieldsets of native radios, polite status line, transform-only transitions
  • functional, axe and mutation checks; poster baseline; skill note

Discoveries

  • The first phone cut overlapped the rule and the evidence on a ~287px stage. The fix was respacing rather than squeezing: the rule shows only its verdict there (the beat copy states the rule) and each comparison is one line. The pattern is now in the landing-page skill.
  • A marker positioned by left would transition with layout every frame. It is now transform: translateX(var(--p) * 100cqw) against a track with container-type: inline-size.

Measurements

  • Three filmed rounds at twelve progress points on desktop Chromium and WebKit with the iPhone 15 profile (local, not shipped).

Files

  • frontend/src/app/(marketing)/features/matching/page.tsx
  • frontend/src/components/marketing/scene/{pair-model.ts,matching-stage.tsx,matching-stage.css,try-a-pair.tsx,try-a-pair.css,marks.tsx,scene.css}
  • frontend/tests/{unit/marketing-pair-model.test.ts,functional/marketing-scenes.spec.ts} and the new marketing-matching-scene baselines
  • .claude/skills/landing-page/SKILL.md

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

The marketing preview was removed because this PR is closed or merged.

bmoore813 and others added 4 commits November 26, 2026 12:29
…y-a-pair explorer

The page had no visual. A ScrollScene after the intro scores the close
Meridian pair in five beats, one per section below (clean, compare, rules,
weights, decide), each linking to its section; the stage lands the 0.93 on a
threshold scale drawn in lightness steps. "Try a pair" lets the reader flip
each field's level and watch the weights, the score and the decision move,
including a rule overruling the score; it opens on the scene's pair, weight
for weight (unit-tested). Native radios in fieldsets, a polite status line,
transform-only motion.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Generated in playwright:v1.63.0-jammy with make frontend-baselines. Two
unrelated PNGs (record-decision and reviews, mobile-chrome) came back a few
bytes different and were left as they were.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch was previously deployed

1 inactive deployment
marketing-preview — 0e55d2d4 Deployed Nov 26, 2026 by athvin via remove closed PR previews #72
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.

/features/matching: a pinned scoring scene and a Try-a-pair explorer

2 participants