Repository navigation
Conversation
|
Deployment failed with the following error: |
Ducksss
deleted the
visual-baselines/claude-landing-wall-motion-30283244539
branch
July 27, 2026 16:11
Ducksss
pushed a commit
that referenced
this pull request
Jul 27, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Ducksss
added a commit
that referenced
this pull request
Jul 27, 2026
* feat(landing): component wall hero + motion.dev choreography across the page Replaces the hero's single-component install replay with the catalog itself: three rows of the real demo twins drifting past at different speeds. A hero has one job, and for a registry that job is range — one block installing proves the CLI, sixty blocks alive prove the product. The replay is not lost; it moves to the workflow section, where 'run the command' is literally step one and the transcript answers it. Motion: - motion.dev now owns the landing's scroll choreography (Reveal / RevealStagger / RevealItem), replacing the CSS animation-timeline reveal-on-scroll, which is now removed. - The wall's drift is a motion value rather than a keyframe because it has to pause: off-screen it does no work at all, and hovering a row holds it still so a visitor can read a block. - Entrances that gate first paint stay CSS. A motion `initial` ships as inline opacity:0 in the SSR HTML, so putting the LCP headline (or the wall itself) behind hydration would cost real Core Web Vitals for no visual gain. - Reduced motion pins every final frame before hydration via a CSS net, so the reduced-motion visual contract and no-JS renders stay whole. Co-Authored-By: Claude Opus 5 <[email protected]> * refine(landing): make the wall read as craft, not as a grid of screenshots The first pass was functional but rushed. Four things fixed, each measured rather than eyeballed: - Every card was guillotined mid-sentence. Worse, cropping each twin to its top third meant every card showed the SAME anatomy (eyebrow → headline → paragraph), so a wall built to prove range read as repetition. Measured all 67 twins at the wall's layout width and curated to the 18 that render complete at ~150-212px, so a pricing table, an orbit diagram and a testimonial grid are visibly different objects. - Each twin was wrapped in a bordered card while already drawing its own frame. The doubled edge is what made the rows look like screenshots in widgets; the block is now the card, with the label as a caption outside it. - The 11px mono label out-sized the headline of the block it labelled. Chrome louder than content is the thing that reads as unfinished. - Drift ran at ~150px/s, which is a carousel in a hurry rather than a wall. Now ~48px/s. Also: cards size to their content instead of sitting in fixed boxes with dead space, edges dissolve via a real alpha mask (opaque overlays seamed against the emerald hero wash), and shadow-frame replaces a 1px hairline that read as a wireframe at this scale. Co-Authored-By: Claude Opus 5 <[email protected]> * fix(landing): keep revealed sections visible when scripting never runs Self-review of the motion migration turned up a real regression: motion reveals ship their hidden `initial` state as inline opacity:0 in the SSR HTML and are only released on hydration, so with JavaScript disabled — or if the bundle simply fails to arrive — all 21 revealed elements stayed invisible and the whole landing page below the hero rendered blank. Verified with Playwright (javaScriptEnabled: false): 21/21 hidden before, 0/21 after. The CSS reveal this replaced degraded gracefully, so this was a regression, not a pre-existing limit. A <noscript> style net pins the finished frame in exactly that case and is inert whenever scripting works. Also from the review pass: - RevealItem now documents that it is inert outside a RevealStagger (it has no trigger of its own by design — giving it one would destroy the stagger). - Dropped RevealStagger's unused delay prop and two dead class hooks. - HeroSection reads componentEntries directly instead of via a re-export. Co-Authored-By: Claude Opus 5 <[email protected]> * test(chore): mint Linux visual baselines (frontend) (#376) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix(ci): mint visual baselines in the same server mode the gate compares in visual-baselines.yml ran bare `pnpm test:e2e`, which starts `pnpm dev`, while release-gate runs `PLAYWRIGHT_SERVER_MODE=production` against `pnpm start`. A dev render is not pixel-identical to a production one, so every minted baseline was subtly wrong: the landing mobile baseline came out 1px taller than the gate's render, and a 1px page-height shift cascades into a whole-page diff far past maxDiffPixelRatio. Builds first and mints under production mode so a minted baseline is directly comparable to the gate's. Co-Authored-By: Claude Opus 5 <[email protected]> * fix(landing): make the wall's geometry deterministic for visual regression The release gate failed on a 1px mobile page-height difference that cascaded into a 3% whole-page pixel diff, well past the 1.5% tolerance. Two causes, both in the wall: - Card widths of 230/380 divided by the 0.3 zoom to fractional layout widths (766.67/1266.67). Sub-pixel text layout at a fractional width let the rendered card height flip by 1px between otherwise identical runs. 231/330/384 give integer layout widths (770/1100/1280). - Cards sized to their content, so the wall's height — and therefore the ~17,000px of mobile page below it — depended on how each twin happened to wrap. The box is fixed per breakpoint now and centres its content, so page height is structurally independent of card contents. Verified with 6 consecutive production-mode runs: desktop 10027px and mobile 16847px, identical every time. Co-Authored-By: Claude Opus 5 <[email protected]> * test(chore): mint Linux visual baselines (frontend) (#379) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * test(chore): re-mint darwin landing baselines after rebasing onto dev dev's content-quote logoLabel change (#360) alters a twin the wall renders, so the landing page is 34px taller than the pre-rebase baselines recorded. Co-Authored-By: Claude Opus 5 <[email protected]> * test(chore): mint Linux visual baselines (frontend) (#385) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: Claude Opus 5 <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
Auto-generated by the
visual-baselinesworkflow. Commits the per-platformfrontendsnapshot baselines so the visual-regression suite compares (instead of skipping) on the CI gate.