Skip to content

test(chore): mint Linux visual baselines - #379

Merged
Ducksss merged 1 commit into
claude/landing-wall-motionfrom
visual-baselines/claude-landing-wall-motion-30283244539
Jul 27, 2026
Merged

Ducksss merged 1 commit into
claude/landing-wall-motionfrom
visual-baselines/claude-landing-wall-motion-30283244539

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Auto-generated by the visual-baselines workflow. Commits the per-platform frontend snapshot baselines so the visual-regression suite compares (instead of skipping) on the CI gate.

@github-actions
github-actions Bot requested a review from Ducksss as a code owner July 27, 2026 16:10
@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

Deployment failed with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/ducksss-projects?upgradeToPro=build-rate-limit

@Ducksss
Ducksss merged commit 1017136 into claude/landing-wall-motion Jul 27, 2026
0 of 2 checks passed
@Ducksss
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>
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.

1 participant