Repository navigation
feat(marketing): /pricing — bars that grow, figures that roll, and every system's records adding to one total (#1262) - #1280
Merged
Conversation
athvin
marked this pull request as ready for review
November 26, 2026 22:11
athvin
force-pushed
the
issue/1262-marketing-pricing-motion
branch
from
November 26, 2026 22:11
67ed854 to
bef8169
Compare
Contributor
|
The marketing preview was removed because this PR is closed or merged. |
…system's records adding to one total - The term and savings bars are the track's full width scaled to their share: they grow in with bar-grow and ease to a new share by transform, never by animating width. - The calculators' figures roll to new values through the stageshow kit's Roll, held until the value settles so a slider drag rolls once. Screen readers get one plain copy; the polite live summaries announce changes. - Roll ships in its own vendor bundle (roll.js, 7.9 KB), so /pricing does not load the home page's stage runtime. The build now resolves React's types from the frontend, so every existing declaration regenerates byte-identical instead of degrading to any. - Above the calculator, three systems' records slide end to end into one total that lands on its tier, read from the pricing config. It sits in the first screen, so it plays itself once when seen, with Replay. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…, not a stale one Below the fold, the /product problem figure's records start in their before-state, displaced and transparent. The test waited only for record 0 to be displaced, which that stale frame already is, so when WebKit had not yet advanced the timeline after the scroll, it read opacity 0 and failed. Reproduced in CI's own webkit shard in the pinned image: once in two runs. It now waits for a frame only the deal can produce (the middle record arrived, record 0 still displaced) and keeps the exact opacity assertion: 12 of 12 on all three projects, and a deal that fades as it slides still fails it on every project (0.44). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Generated in the pinned Playwright container; only the three PNGs this change explains. Co-Authored-By: Claude Opus 5.5 <[email protected]>
athvin
force-pushed
the
issue/1262-marketing-pricing-motion
branch
from
November 26, 2026 22:15
bef8169 to
cf7357c
Compare
athvin
temporarily deployed
to
marketing-preview
November 26, 2026 22:23 — with
GitHub Actions
Inactive
This was referenced Nov 26, 2026
athvin
added a commit
that referenced
this pull request
Nov 27, 2026
… epic and #1279's duplicates Parquet export (#1300) #1286 (248e296) was one commit, d245d4a. Its parent was a fresh main (8b5b25a), but 75 files in its tree were the versions from dc45fd1: a tree from an old worktree was committed on top of a new base. The squash was CLEAN and the old code is self-consistent, so every gate passed while it undid: - the cinematic epic #1253: #1272, #1275, #1278, #1280, #1282, #1283 and #1285, with their tests and visual baselines; - #1279's Parquet export for duplicate groups (exports.rs, read.rs, export_write.rs and the ExportIn doc comment). This is the merge #1286 should have produced, computed rather than hand-picked: 1. Give d245d4a's tree its real parent, dc45fd1. 2. Three-way merge it into 2b8f0b8, the main it landed on, with base dc45fd1. No conflicts. 3. Carry the difference from 248e296 onto today's main with another three-way merge. No conflicts. #1286's own work is kept: the usage endpoint, the record allowance, and the docs on usage and the 402. Closes #1299 Co-authored-by: bmoore813 <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1262
What
/pricing: bars that grow, figures that roll, and every system's records adding to one total (#1253).
bar-grow, then eases to a new share bytransform, never by animatingwidth.Roll, which moves only the characters that changed. The roll waits until the value settles, so a slider drag rolls once.Rollships alone invendor/roll.js(7.9 KB), so/pricingdoes not load the home page's 76 KB stage runtime.PRICING_CONFIG, and the total is the calculator's own starting count.Why
The records-only rule was stated, not shown. The figure shows it: records add to one total, and only the total sets the price. The calculator's numbers now change the way the rest of the site's figures do, without layout jumps.
Proof
tsc,eslint(including the generatedroll.js),prettier,make skills-check: green.next buildprints○ /pricing.pricing-rule,pricing,savings, the figure's unit test,pricing-page,marketing-pages): 108 passed. The records-only rule test scans the new copy./pricingblock, all three projects: 15 passed. It checks:Roll;widthbars fail the scaling test, with a layout width of 0.67 against the full track;Roll, the headline has no.ss-roll.Risk & rollback
RollingFigureis a small client wrapper inside the two existing calculator islands, and the figure's Replay is the hero'sScenePlayback. No new dependency:Rollis the repo's own MIT kit, rebuilt by its script.git revert <merge-sha>.Post-merge ledger
Closed by: agent · session
Claude Code:30a1182e-8c7e-47e3-92ac-cda64c13fcfconbrians-MacBook-Pro· 2026-11-26T22:32:03Zmainis green with this change on it — the merge SHA, and the runthat proves it. A later head SHA with this commit as an ancestor counts;
a cancelled run with zero jobs does not:
237550e0—frontend45904500574,rust45904500417,infra45904500652,devcontainer45904500510,marketing preview45904500509: all success on the merge SHA itself.imagesbuilt, or correctly never ran because nothing that goes intoan image changed: built — 45904500542 success;
er-webpushed 2026-11-26T22:25:04Z tagged237550e0a8f4….deployconverged — proved by a line the running process emitted, notby the image digest and not by the workflow conclusion: 45904704590 success. Pod
web-api-blue-7b78dd5f74-kfqxg(started 22:26:27Z) runser-web@sha256:160d8223…, whose only ECR tag is237550e0…, and theer-webService selectscolor: blue. Itser-webcontainer logged▲ Next.js 16.4.6/✓ Ready in 0ms; inside itGET /pricing→ 200 servingrecords-pooland its stage, the scaledpricing-bars and the 750,000 total.deploy,drift,kind's nightly leg) is green, or knowingly red for a reason that is notthis change:
deploygreen (above).drift(latest 45765434785) andkind's nightly leg (latest 45770773490; red since 2026-11-10, kind probe red since 2026-11-10: KeyError 'token_hash' after the credential-omission fix #1106) are red on every scheduled run since before this change. This diff touches onlyfrontend/and.claude/, which neither exercises.Donethrough the automation rather than byhand, and the issue closed: /pricing: animated bars and totals, and records from every system adding to one total #1262 CLOSED/COMPLETED at 22:23:38Z with
closer= PullRequest feat(marketing): /pricing — bars that grow, figures that roll, and every system's records adding to one total (#1262) #1280; its boardStatusreadsDone, never set by hand./productproblem-figure test's stale-frame race; the other WebKit flakes are Frontend gate: WebKit-only marketing flakes (the story/docs axe test, the /docs walkthrough poster) #1281.(a skill, a reference, memory) — or nothing new was learned: the landing-page skill (this diff): a figure in the first screen plays itself, and
--story-container-surfaceis translucent; the build script now documents why it maps React's types; also the epic's memory file.Specific to this change
Context — plan, discoveries, measurements, files
Plan
scaleXshare,bar-growin, transform transitionRollin its own vendor bundle;RollingFigurewith settle-then-roll, one copy for screen readers, plain-text fallbackrecords-pool.tsx/.css: three systems into one total on one tier, tiers from the config; self-playing with ReplayDiscoveries
anyoutside its original checkout. The scratchtsconfigresolvedreactfrom the kit's own directory, which has nonode_modules. It now maps React's types to the frontend's, and every existing declaration regenerates byte-identical.--story-container-surfaceis translucent. The first bars mixed from it ghosted through each other mid-slide. They now mix from an opaque surface, also recorded in the skill.pricing-tiername stays plain text. Playwright asserts it with an exacttoHaveText, and a screen-reader copy beside it would double its text.Measurements
vendor/roll.js7,863 B +roll.css1,858 B.index.js(76,389 B) andindex.css(37,657 B) are unchanged.Files
frontend/src/components/marketing/pricing/{records-pool.tsx,records-pool.css,rolling-figure.tsx,pricing-calculator.tsx,savings-calculator.tsx,pricing.css}frontend/src/app/(marketing)/pricing/page.tsxfrontend/scripts/build-stageshow.mjsfrontend/src/components/marketing/demo/vendor/{roll.js,roll.css,roll.d.ts,README.md,types/motion/}frontend/tests/unit/marketing-records-pool.test.tsfrontend/tests/functional/marketing-scenes.spec.ts, plus three snapshots.claude/skills/landing-page/SKILL.md