Skip to content

release: promote dev to main — CodeRabbit follow-ups (#380) - #375

Merged
Ducksss merged 125 commits into
mainfrom
release/promote-dev-2026-07-27
Jul 27, 2026
Merged

Ducksss merged 125 commits into
mainfrom
release/promote-dev-2026-07-27

Conversation

@Ducksss

@Ducksss Ducksss commented Jul 27, 2026 •

Copy link
Copy Markdown
Owner

Closes the gap left by the concurrent promote #381.

#381 promoted dev to main at 16:25 UTC, carrying everything up to dev's tip at the time it was cut. #380 merged into dev after that, so main is missing exactly four files:

File Change
tests/e2e/components-visual.e2e.spec.ts requireMinted on linux CI
tests/e2e/templates-visual.e2e.spec.ts requireMinted on linux CI
content/docs/components/content-quote.mdx logoLabel description rewording
content/docs/components/stats-proof.mdx logoLabel description rewording

Both changes came out of the CodeRabbit review on this PR's earlier full-promote revision; the reasoning (and the one finding deliberately skipped) is in #380.

Why the head is a promote commit rather than dev

main is a chain of squash-promotes and shares no file-level history with dev, so a pairwise merge reports conflicts across paths that aren't in real disagreement. This PR's head is a commit whose tree is dev's tree verbatim — git diff <head> origin/dev is empty — with main and dev as parents. After it lands, main's tree equals dev's tree exactly.

Verification

dev at 0aa3a08 is green on both renderers: CI release-gate passed on the tip, and the local macOS gate exited 0 (int 343 passed; e2e 39 + 69 + 62 + 93).

The two Vercel checks fail with "Deployment rate limited — retry in 24 hours" — an account build-quota limit, not a code failure. main will be correct; the live site keeps serving the previous build until the quota resets or a redeploy is triggered.

Ducksss and others added 30 commits June 19, 2026 14:46
Adds a `blog` collection (defineCollections + author/date frontmatter) alongside
the existing docs collection, a flat `/blog/[slug]` post route and `/blog` index
card grid styled to the shadcn + emerald brand, RootProvider/SiteHeader layout,
and Blog nav links. Seeds two real posts bylined Ducksss: a friendly "Hello"
welcome and an "Anatomy of an install" deep-dive.

zod is promoted to a direct devDependency (4.4.3, the version fumadocs-core
already resolves) so the blog frontmatter schema can extend pageSchema. The blog
is independent of the docs llms.txt/geo contract.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Summary:
- Bump TypeScript from 5.7.3 to 5.9.3 and refresh pnpm lock.
- Bump registry verification failure artifact uploads to v7.

Rationale:
- Keep Dependabot maintenance updates on dev with a small scoped diff.
- Next is already at 16.2.6 on dev, so no package diff was needed.

Tests:
- pnpm install --frozen-lockfile
- pnpm build
- E2E_PORT=3100 pnpm test:release (fails locally: e2e route sweep
  timeout and Darwin homepage snapshot delta; lint, source build,
  typecheck, registry check, and integration tests passed before e2e)
- E2E_PORT=3100 pnpm exec cross-env NODE_OPTIONS="--no-deprecation
  --import=tsx/esm" playwright test --config=playwright.config.ts
  tests/e2e/frontend.e2e.spec.ts -g "landing page keeps its desktop
  and mobile visual contract" (fails locally: same Darwin snapshot delta)
Import the tailark "faqs" category as Payload Components, adapted to the
site's light/emerald token system. Ships 6 distinct structural variants —
faq-accordion, faq-split, faq-card, faq-icons, faq-grouped, faq-grid —
each with source config + Component, manifest, registry entry, docs page,
and demo twin. Shared family code: faqFields.ts and faqIcons.ts (icon-name
select → lucide map, mirroring the Content family's contentIcons pattern).

Activates the previously-empty `faq` catalog category, registers the FAQ
docs sidebar family, and bumps the page-block count 38 → 44 (copy + guard).
Adds `accordion` to the public shadcn dependency allowlist so the accordion
variants pass the registry import-derivation test.

Co-authored-by: Claude Opus 4.8 <[email protected]>
Summary:
- Replace public alpha labels with neutral open-source and MIT copy.
- Rename the internal alpha component template to component-template.
- Refresh homepage screenshots for the visible copy changes.

Rationale:
- The site, CLI, docs, and package metadata should not present the
  project as alpha.
- The template rename prevents future component docs from reintroducing
  alpha language.

Tests:
- rg -n -i "\\balpha\\b|alpha-" --glob '!node_modules/**' --glob '!public/r/**' --glob '!.next/**' --glob '!test-results/**'
- git diff --check
- pnpm lint
- pnpm exec tsc --noEmit
- pnpm run test:int
- pnpm run test:e2e
- pnpm test:registry
- pnpm build
Summary:
- Merge the alpha messaging cleanup on top of latest dev.
- Resolve homepage snapshot conflicts against the current FAQ catalog state.
- Remove newly introduced FAQ alpha status fields from component metadata.

Rationale:
- Dev should not expose public alpha labels in copy, CLI output, docs,
  metadata, or internal templates.
- Regenerated snapshots reflect the merged landing page rather than either
  side of the binary conflict.

Tests:
- pnpm test:release
Make the @payload-components registry submission-ready for the official shadcn
registry directory — all 44 items, including the FAQ family merged from dev.

- Replace the <your-domain> placeholder with https://www.payload-components.xyz
  across every item's docs URL; point registry.json homepage at the live site.
- Add a registry:validate gate (ajv + vendored shadcn draft-07 schemas) folded
  into test:registry, since [email protected] has no validate command.
- Document the @payload-components namespace install path in the install/registry
  docs and README.
- Stage the shadcn-ui/ui directory entry + submission steps in AGENTS.md.

Verified locally: registry reproducible + schema-valid (44 items), lint, tsc,
test:int (68 passed). Landed via admin merge (dev's review gate is
unsatisfiable for the sole owner; the Registry Verification workflow
startup-fails repo-wide and Vercel was rate-limited).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Summary:
- Rework the README around open-source SaaS-style positioning.
- Add the existing social card, contributor links, and community framing.
- Split consumer install guidance from local repository setup.

Rationale:
- The README is the front door for contributors and early adopters.
- Keeping the content MIT-first and community-first avoids stale commercial
  framing while making the install contract easier to scan.

Tests:
- pnpm lint
- git diff --check -- README.md
- curl -fsSI https://www.payload-components.xyz/opengraph-image
- rg stale commercial framing scan
Summary:
- Update FAQ registry, manifest, and installed Payload labels to use the
  proper acronym capitalization.
- Add the new FAQ slugs to CLI help and correct the blog component count.
- Clip page-level horizontal overflow and refresh the stale Linux landing
  desktop screenshot baseline.
- Document why TypeScript remains pinned to 5.x until the tsconfck peer
  range supports TypeScript 6.

Rationale:
- The PR was fast-forwardable but blocked by release-gate visual and
  overflow failures plus review metadata drift.
- Keeping TypeScript 5.x avoids shipping an unmet peer dependency from
  vite-tsconfig-paths through tsconfck.

Tests:
- pnpm test:release
Summary:
- Replace the stale Linux mobile landing screenshot baseline with the
  release-gate actual image from PR #152.

Rationale:
- The Linux mobile baseline was still taller than the current rendered
  landing page, matching the same stale-baseline issue fixed for desktop.
- The actual image was stable across CI retries.

Tests:
- pnpm test:release
- verified CI artifact actual image was stable across retries
…ift (#153)

* repo(chore): close CI visual-regression gap and clear review bloat/drift

Repo review follow-ups (no behavior change to the shipped site or CLI):

- CI visual gap: the components-visual suite silently skipped on every CI
  run (only darwin baselines existed; CI is linux). Add a visual-baselines
  workflow_dispatch that mints per-platform baselines in the CI renderer and
  opens a PR, plus a coverage guard that fails loudly once a platform is
  minted but a component lacks a baseline (instead of silently skipping).
- Drop 3 dead pnpm.overrides (dompurify, drizzle-orm, uuid): Payload-runtime
  residue with no package in the lockfile.
- Remove the unreachable layout='stack' branch in ComponentFamilyHeader.
- Derive the not-found 'Known components' list from componentEntries.
- Guard componentFamilies.posts.countLabel (the one unguarded catalog count).
- Hoist the duplicated baseManifest into a dependency-free manifest-factory
  module (the two copies had drifted; import-light so it can't defeat the
  manifest spec's mock).

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

* ci(fix): restore actions/upload-artifact@v4 (v7 doesn't exist)

PR #146 bumped upload-artifact v4→v7, but that major doesn't exist. An
unresolvable action reference makes the workflow fail at startup
(startup_failure, 0s), which has blocked every dev push and PR gate since
that merge. Restore the known-good v4.

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

* Revert "ci(fix): restore actions/upload-artifact@v4 (v7 doesn't exist)"

This reverts commit d1392ea.

* test(ci): refresh stale linux landing baseline (desktop)

The linux landing baselines went stale during the day the CI gate was down
(broken allowlist): the family-teaser landing change shrank the page, the
darwin baseline was refreshed but linux never was. This restores the desktop
linux baseline from the gate's own actual render; mobile follows.

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

* test(ci): refresh stale linux landing baseline (mobile)

Companion to the desktop refresh: restores the mobile linux landing baseline
from the gate's own actual render (390x14444, matching the current darwin
baseline). Both linux landing baselines now reflect the family-teaser landing.

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

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
The renderBlocks/pagesLayout patcher deduped on exact full lines while the
verifier checked loose substrings, so the two could disagree. A consumer whose
anchor region was reformatted (Prettier reflow, hand-edit, double quotes, no
trailing comma) could slip past the writer's exact-line dedup — appending a
duplicate object key / import — while the verifier still reported it present,
so 'add' wrote a broken RenderBlocks.tsx and 'doctor' called it healthy.

Give apply (dedup) and verify one shared structural matcher per fragment
(tolerant of quote style, trailing semicolons, indentation, spacing) so they
can't disagree. Adds a regression test that pre-seeds a reformatted
registration and asserts apply doesn't duplicate it and verify reads it present.

Co-authored-by: Claude Opus 4.8 <[email protected]>
…160)

installedFiles was recorded in .payload-components/state.json but never read
for any decision — add/doctor re-derive install validity from the manifest, so
the stored copy was just a duplicate of manifest.files that could only drift.
Remove it from the state entry type, the three record functions, the v1->v2
migration, normalizeState, and the install assertions/specs.

Backward-compatible: normalizeState no longer reads the field, so existing v2
state files that still carry it load fine (the dead field is ignored on read).
No state version bump.

Co-authored-by: Claude Opus 4.8 <[email protected]>
)

Ports tailark's MIT comparator category as comparator-table, comparator-grid, and comparator-stack — new comparator page-family, page-block count 44 to 47.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
…count (#172)

* registry(fix): use canonical www URL for comparator install commands

The Comparator family (#158) shipped its three registry-item docs with the
literal https://<your-domain>/r/comparator-*.json placeholder, and its three
MDX manual-install snippets used the bare apex https://payload-components.xyz
(no www). Every other one of the 44 published items uses the canonical
https://www.payload-components.xyz that #150/#155 standardized on; the
placeholder is a copy-pasteable-but-broken install command and the bare apex
is inconsistent.

Replace both with https://www.payload-components.xyz in the three comparator
entries of payload-components/registry.json and the three comparator docs
pages. Source-only change; public/r/*.json is gitignored and rebuilt from this
source by registry:build.

Found during the dev->main promote review (PR #162).

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

* a11y(comparator): label state icons + table headers, refresh blog count

- Add role="img" + aria-label ("Included"/"Not included") to the Check/Minus
  state icons in all three Comparator blocks so screen readers announce the
  yes/no meaning of each matrix cell (previously icon-only).
- Add scope="col" to the ComparatorTable plan header cells.
- Bump the (non-test-pinned) blog copy "About 44" -> "About 47" page blocks to
  match the count now installable after the Comparator family.

Attribute-only on the block source (no className change), so the demo-twin
class-mirror guard is unaffected and the visual baselines are unchanged; the
blog count is prose, not a pinned assertion.

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

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
…163)

Code-review remediation (P1 hardening + P2 trims + a11y gate):

- a11y: add tests/e2e/a11y.e2e.spec.ts (axe-core WCAG 2.1 A/AA over
  /, /docs, /components; serious+critical). Fixes it surfaced: darken
  --muted-foreground 50%->46% (was 4.41:1, sub-AA), text-brand-600 on
  light-emerald catalog pills, raise reduced-opacity small labels to full
  opacity, logo placeholders /55->/70, tabIndex on scrollable code blocks.
- cli: atomic state writes (temp+rename) + corrupt-state fallback in
  loadState; fix latent shared-defaultState mutation (createDefaultState
  factory). Add fragment-patching failure-mode tests.
- ci: unify GitHub Action versions across workflows; main-only push gate;
  add fast-fail quick-checks (lint+tsc) job.

Co-authored-by: Claude Opus 4.8 <[email protected]>
…159)

* components(feat): add testimonials family (6 tailark-derived blocks)

Imports the distinct testimonial layouts from tailark/blocks (MIT),
re-implemented as wired Payload blocks in this repo's idiom (Media
avatars, editable fields, light tokens): testimonials-quote, -spotlight,
-grid, -rating, -bento, -wall. Full contract each — source, manifest,
registry entry, demo twin, docs — plus catalog, count (38->44),
family-teaser, and enumeration wiring.

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

* test(ci): raise e2e dev-server heap to clear route-loop OOM

The frontend route-loop (frontend.e2e:159) visits every component doc
page against `next dev`; at 50 routes the dev server hit its memory
threshold and restarted mid-test (ERR_CONNECTION_RESET on the last
routes), failing the linux release gate even through retries:2. Bump
--max-old-space-size to 8192 for the dev server so it doesn't restart
while compiling all routes in one pass.

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

* test(chore): mint darwin landing baseline for testimonials teaser

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

* test(ci): mint linux landing baseline for testimonials teaser

Rendered on the ubuntu gate via the visual-baselines workflow so the
landing visual test compares (not fails) on the linux release gate.

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

* test(ci): raise e2e dev-server heap to 12GB for the 53-route loop

8192MB held at 50 routes but the dev server still hit its memory
threshold and restarted at 53 (faq+comparator+testimonials), resetting
mid-route-loop. Give real headroom on the 16GB CI runner.

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

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
Serves /google44d8f9f26e2e2367.html for the new GSC property,
alongside the existing googleda94848bf7de62aa.html and BingSiteAuth.xml.

Co-authored-by: Claude Opus 4.8 <[email protected]>
…#181)

* catalog(chore): reorder /components to showcase best components first

Lead the catalog with the most-wanted, most visually striking blocks.
Categories now rank landing-page essentials first: Hero, Features,
Comparator (pricing), Call to action, then social proof (Integration,
Logo cloud, Testimonials), then FAQ, then the deep Content set,
trailing Team and Embed. Within each category the showpiece variant
(per familyRepresentatives) leads.

Applied consistently across the wall + sidebar (componentEntries,
componentCategories) and the docs nav (FAMILIES); the landing teaser
inherits componentCategories order automatically. Pure data reorder of
all 53 page blocks — no schema/logic change. Fixes the prior
wall/sidebar disagreement, surfaces Comparator (was last) and
Testimonials, and de-emphasizes the single-purpose Embed (was 3rd).

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

* test(chore): mint Linux visual baselines (frontend)

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Applies the genuinely-new increments from the four Dependabot PRs (#167-#170)
directly on dev, the integration branch, since merging them into main would be
reverted by the next dev->main promote.

- actions/checkout v6 -> v7 across all workflows (lockstep, allowlist admits v7)
- cross-env ^7.0.3 -> ^10.1.0 (minimal lockfile delta: +@epic-web/invariant)

setup-node@v6 and pnpm/action-setup@v6 (#168, #169) were already on dev, so
those PRs are redundant. Also points Dependabot at dev (target-branch) so future
bumps land on the integration branch instead of main.

Co-authored-by: Claude Opus 4.8 <[email protected]>
Resolves all six open Dependabot security alerts (undici < 7.28.0):
- CVE-2026-6734, CVE-2026-9697 (high)
- CVE-2026-9679, CVE-2026-9678 (medium)
- CVE-2026-11525, CVE-2026-6733 (low)

undici is an optional transitive of the jsdom/test chain; the parent range
already admits 7.28.0, so a plain re-resolve picks it up (no override needed).
The sibling bumps are all within that same optional cluster.

Co-authored-by: Claude Opus 4.8 <[email protected]>
Print stage-specific recovery guidance when `payload-components add` fails
mid-install, a "retrying partial install" notice when re-running a partial
entry, and owned/patched file detail in `payload-components doctor`. Docs in
both READMEs cover fix-and-retry without deleting patched host files.

Rebuilds the intent of #94 on the current install-state model: owned files
come from `manifest.files` and patched files from the existing patchedFiles
var / `entry.patchedFiles` (the `installedFiles` field #94 relied on was
removed from the state model).

Co-authored-by: Claude Opus 4.8 <[email protected]>
Clarify that `payload-components init` delegates to `shadcn init` to create the `components.json` baseline, and that `payload-components add` expects that baseline and does not run init automatically as a side effect.

Lands the docs fix from #165 with authorship preserved for @tysoul574-spec.

Closes #104

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…190)

* frontend(feat): redesign logo as terminal prompt + block-cursor mark

Replace the bare > glyph with a geometric prompt chevron + block cursor,
drawn as a real SVG so the header, favicon, and OG image share one mark.
Retires the Payload-CMS-style favicon.

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

* test(chore): mint Linux visual baselines (frontend.e2e) (#189)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Fills the previously-empty Pricing catalog family with five field-driven
Payload blocks, retokenized from tailark/blocks (MIT) onto the light
monochrome + emerald system: pricing-cards (showpiece), pricing-cards-muted,
pricing-cards-cta, pricing-split, and pricing-enterprise (editable Media
logo wall). Shared pricingFields/planFields keep the family from drifting.

Wires the full add-a-family contract against current dev (58 page blocks):
5 block sources + shared fields, 5 manifests, 5 registry.json items
(registryDeps matched to imports), 5 class-mirrored demo twins + demo
content, catalog entries inserted at the curated rank (after Comparator),
FAMILIES docs-nav entry, count pins (53->58) across site.ts/about/tests,
cli + smoke lists, and 5 docs pages with tailark MIT attribution.

Co-authored-by: Claude Opus 4.8 <[email protected]>
…#193)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…split highlight (#194)

Three polish fixes from the pricing-family code review. All visually neutral,
so the just-minted (#193) Linux baselines stay valid.

- PricingEnterprise: validate the logo `href` so non-http(s) values (e.g. a
  `javascript:` payload) are rejected. Inlined rather than reusing
  shared/safeUrls — the embed/form validators there would wrongly reject
  arbitrary customer URLs.
- Mark the decorative feature-list `<Check>` icons aria-hidden across all five
  variants so screen readers don't announce them.
- PricingSplit: derive the highlighted (right) plan from the `featured` flag
  instead of hard-coding plans[1], so marking either plan featured works.
  Mirrored in the PricingSplitDemo twin.

Co-authored-by: Claude Opus 4.8 <[email protected]>
Add stable edge cache headers for crawl metadata and tighten sitemap coverage.
* docs: refresh ROADMAP.md to match current catalog count and remove stale references (#128)

Updates the stale '38 installable page blocks' count to '53 page blocks
across 11 families, with 8 post components in development'. Removes the
'waitlist funnel' reference from the Not Planned section since the waitlist
was removed. Adds a note about analytics collection.

Closes #128

* docs(roadmap): fix stale counts and broken analytics link

- 53 -> 58 installable page blocks (registry.json ships 58; matches site copy)
- 11 -> 12 families (pricing family already shipped via #191)
- drop link to non-existent content/docs/analytics.mdx
- restore "waitlist funnel" to Not Planned (still a documented non-goal)

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

---------

Co-authored-by: highoncomputers <[email protected]>
Co-authored-by: Chai Pin Zheng <[email protected]>
Co-authored-by: Claude Opus 4.8 <[email protected]>
Ducksss and others added 4 commits July 27, 2026 14:29
Two SEO PRs landed overlapping entries in the /llms.txt "Primary links"
section: a hardcoded /blog + /blog/rss.xml pair and a blogRoute/feedRoute
pair, so Blog was emitted twice. Keep the constant-based form, derive the
RSS link from blogRoute too, and order the section so the blog surfaces
sit together after Template concepts.

Emitted output is unchanged apart from the removed duplicate, so the
geo e2e pins still hold; the blog-platform int spec pins the route
source strings, so it moves to the constant-based literals.

Co-authored-by: Claude <[email protected]>
…Label (#360)

* components(feat): give stats-proof and content-quote an optional logoLabel

The stats-proof and content-quote demo twins hard-coded a customer-logo
stand-in — a literal NORTHWIND wordmark and an h-6 w-20 grey bar — where
the installable block takes a Media upload. Every template concept that
composed stats-proof therefore had to attribute its proof quote to
Northwind regardless of its own client fiction, or hide the wordmark from
its scoped theme.

Both blocks now take an optional `logoLabel` text field that renders when
no `logo` upload is set, so the wordmark is editor content on both sides
of the demo-twin contract:

  - source config + Component for StatsProof and ContentQuote
  - the mirrored twins and the demo-content types
  - the Content model tables on both doc pages
  - manifests bumped 0.1.0 -> 0.2.0 (additive optional field), with
    content-quote's componentEntries version now read from the manifest
    instead of a hand-kept literal

Template concepts supply their own client names and drop the theme-level
workarounds: agency-studio's visible mismatch is fixed (HOLLIS & CRANE,
matching the quote it attributes), commerce-brand names the café,
fintech-trust badges INITECH, saas-launch FERROWATT. portfolio-solo and
event-conference's blind-review section simply omit the field, which
removes portfolio-solo's display:none rule, fintech-trust's grey-bar
restyle, and commerce-brand's sliver-bar rule.

Darwin baselines re-minted for the 15 renders the change actually moves;
revisions bumped on the five templates whose output changed. Posters are
viewport-only captures and are unaffected (verified by recapture).

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

* ci(chore): let visual-baselines choose the snapshot update mode

A bare `--update-snapshots` presets to Playwright's "changed", which only
rewrites baselines whose diff exceeded maxDiffPixelRatio. An intended
visual change that lands under the tolerance therefore keeps a stale
committed baseline. Add an `update` input (default `changed`, so existing
dispatches behave exactly as before) so a deliberately visual change can
mint with `all`.

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

* test(chore): mint Linux visual baselines for the logoLabel change

Cherry-picked from the visual-baselines workflow run so the linux set
matches the darwin set exactly: the content-quote component preview plus
the fourteen template pages the change moves.

The workflow's full `update=all` output also rewrote 57 unrelated
component baselines — the linux runner drifts against its own committed
images the same way darwin does — so only the fifteen this change
actually affects are taken here.

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

* templates(fix): re-bump revisions absorbed by the rebase onto dev

dev bumped saas-launch/agency-studio to revision 4 and commerce-brand to 3
independently (#358), landing on the same values this branch had chosen, so
git auto-merged the identical lines and silently swallowed this change's
bump. Re-bump to 5/5/4 and re-mint saas-launch-product, whose baseline now
also has to carry dev's new inner-page hero.

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

* test(chore): re-mint saas-launch-product Linux baselines after the rebase

These two were minted before rebasing onto dev's new inner-page hero
(#358), so they carried the old hero. Re-minted on the CI renderer; the
run rewrote only these two files, confirming the rest of the Linux
template set already reproduces exactly.

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

---------

Co-authored-by: Claude Opus 5 <[email protected]>
* test: re-mint the darwin blog-index visual baselines

35e92c6 ("blog: turn the index into a Payload guide gateway", #348)
redesigned /blog but its snapshot update only refreshed the linux
baselines, so the darwin pair kept the pre-redesign rendering. CI is
linux, so pr-gate stayed green while local macOS `pnpm test:release`
failed both blog-index cases (~35% pixel diff on desktop).

Re-minted with `--update-snapshots=changed` against the production
server, so only the two mismatching darwin files were rewritten — the
blog-article baselines and every `*-linux.png` are untouched. Verified
the new PNGs depict the current guide-gateway index (eyebrow, dark
installation card, two guide cards) and that the suite passes clean.

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

* test: share the platform-baseline guards across the visual specs

components-visual, templates-visual, and blog-visual each carried their
own copy of the same dance: derive the `-<project>-<platform>.png`
suffix, treat `all`/`changed` as updating, skip a case whose
current-platform baseline is absent, and fail the coverage guard once
the platform is minted. Three copies, three slightly different
messages, and the shared rationale duplicated in three header comments.

Extract `expectCompletePlatformBaselines` and
`skipWithoutPlatformBaseline` into tests/e2e/support/visual-baselines.ts
and give each spec a `VisualBaselines` descriptor instead. Behaviour is
unchanged: blog keeps its `requireMinted` escalation (linux CI must fail
rather than skip an empty baseline set), and the other two keep skipping.
Each spec now derives its screenshot name and its guarded stem from one
`baselineStem` helper, so the name the guard checks can't drift from the
name Playwright writes.

The helper's doc comment also records what neither guard can catch — a
baseline that exists but is stale, which is how the blog index kept a
pre-redesign darwin image through a green pr-gate.

Two knock-on updates:

- tests/int/blog-visual-system.int.spec.ts pinned the old inline
  `requiresMintedBaselines` line. Re-pinned to both halves of the moved
  behaviour (the spec declaring `requireMinted`, the helper acting on
  it) rather than dropped.
- The Field Journal figure for visual-regression-component-registry
  embeds a live 14-line excerpt of components-visual, so it was
  regenerated with `pnpm blog:visuals:figures`. Only the hidden
  data-evidence attribute moved; the visible figure and the article
  prose are unchanged, and the other 26 figures regenerated
  byte-identically.

Verified: lint, tsc, test:int (341 passed), and all three visual specs
(69 + 62 + 5 passed, same counts as before). Also forced the missing-
baseline path by holding one PNG back — the coverage guard failed naming
the stem and the affected case skipped, so the guards still guard.

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

* docs: require paired darwin/linux baseline mints

Nothing in CI can catch a half-minted visual change: the specs' coverage
guard fails on a missing baseline but never a stale one, and pr-gate
only renders linux. A linux-only mint therefore leaves the darwin image
showing the old design — green on every PR, failing only for whoever
next runs the gate on a Mac (exactly what 35e92c6 did to the blog index).

Add a "Visual baselines" section to CONTRIBUTING.md stating the rule,
how to mint each platform, and the reviewer heuristic: a diff touching
`*-chromium-linux.png` without the matching `*-chromium-darwin.png` (or
vice versa) is suspect. Add the paired update to the pull-request
checklist.

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

---------

Co-authored-by: Claude Opus 5 <[email protected]>
* docs(feat): announce the templates gallery

Summary:
- publish a community-first field note for the six template concepts
- add a branded cover and real gallery/live-preview montage
- extend blog content, visual, RSS, and browser contracts to 33 posts
- support slug-scoped visual capture for reproducible editorial assets

Rationale:
- explain what the new template concepts provide without implying that
  complete repositories are installable today
- connect complete page compositions to open registry blocks and invite
  evidence from real Payload projects
- let one new visual be regenerated without rebuilding unrelated figures

Tests:
- pnpm test:release
- pnpm blog:visuals --slug templates-are-here
- pnpm lint
- pnpm exec tsc --noEmit
- pnpm exec vitest run --config ./vitest.config.mts
  tests/int/blog-content.int.spec.ts
  tests/int/blog-visual-system.int.spec.ts

* docs(fix): resolve templates announcement review findings

Summary:
- align the article alt text and validation claim with shipped behavior
- label the template montage as Project Notes and guard series alignment
- scope raster captures to selected articles that own capture recipes
- preserve all-capture CLI behavior while allowing an empty selection

Rationale:
- keep accessibility and visual metadata truthful
- prevent SVG-only and mixed visual renders from failing on missing raster
  capture definitions
- encode review findings as regression coverage before merge

Tests:
- pnpm test:release
- pnpm blog:visuals --slug hello
- pnpm blog:visuals --slug templates-are-here
Copilot AI review requested due to automatic review settings July 27, 2026 15:49
@vercel

vercel Bot commented Jul 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
payload-components Ready Ready Preview, Comment Jul 27, 2026 3:53pm
payload-components-97bf Ready Ready Preview, Comment Jul 27, 2026 3:53pm

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Jul 27, 2026 •

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This change adds the Templates announcement and visual catalog entry, introduces optional logoLabel fallbacks for quote components, centralizes Playwright baseline guards, and updates publication, capture, asset, and contribution checks.

Changes

Branding fallback fields

Layer / File(s) Summary
Branding contracts and component rendering
content/docs/components/*, payload-components/manifests/*, payload-components/source/blocks/*, src/lib/site.ts
Quote and proof components define and render optional logoLabel text when no uploaded logo exists.
Demo data and preview rendering
src/lib/demo-content.ts, src/components/site/demos/*
Demo payloads and previews pass logoLabel through to conditional branding markup.
Template branding adoption
src/lib/templates/*, src/components/site/templates/*
Templates add or omit branding labels, increment revisions, and remove obsolete placeholder CSS.

Templates blog and visual catalog

Layer / File(s) Summary
Templates announcement and publication wiring
content/blog/templates-are-here.mdx, public/blog/templates-are-here/*, source.config.ts, src/app/llms.txt/route.ts
Adds the Templates announcement, assets, publication order support, and LLMS links.
Selective figure capture and route catalog
tools/blog/*
Adds the templates capture, /templates route evidence, selective --slug capture support, and updated folio numbering.
Blog and visual inventory validation
tests/e2e/blog.e2e.spec.ts, tests/int/blog-*
Updates blog counts, routes, dates, captures, figures, and visual inventory expectations for the new post.

Visual baseline workflow

Layer / File(s) Summary
Baseline update workflow and contribution rules
.github/workflows/visual-baselines.yml, CONTRIBUTING.md
Adds selectable snapshot update modes and documents paired Darwin/Linux baseline updates.
Shared baseline guard implementation
tests/e2e/support/visual-baselines.ts
Centralizes platform baseline completeness checks and missing-baseline skips.
Playwright visual spec migration
tests/e2e/*-visual.e2e.spec.ts
Migrates visual suites to shared baseline configuration, naming, and guard helpers.

Estimated code review effort: 4 (Complex) | ~45 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Reader
  participant BlogPage
  participant VisualCatalog
  participant CaptureTool
  participant AssetInventory
  Reader->>BlogPage: open Templates announcement
  BlogPage->>VisualCatalog: resolve templates-are-here entry
  VisualCatalog->>CaptureTool: provide route and viewport panels
  CaptureTool->>AssetInventory: write and validate cover/figure assets
Loading

Possibly related PRs

Suggested reviewers: copilot

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 28.57% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ⚠️ Warning The description is relevant but does not follow the required template and omits Summary, Registry Checklist, and Notes sections. Rewrite the PR description to use the repository template, including Summary, Verification checkbox, Registry Checklist items, and Notes.
✅ Passed checks (3 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title matches the main change: a promote of dev to main with follow-up fixes.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/promote-dev-2026-07-27

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Ducksss and others added 2 commits July 27, 2026 23:02
…#372)

* privacy(feat): gate all third-party analytics behind explicit consent

Closes the gap the PR audit left open: GA4, Vercel Analytics/Speed Insights and
PostHog all loaded on first paint, so an EU visitor had GA4 cookies set before
any interaction. Honouring GPC/DNT (shipped in #352) narrowed that but could not
close it, because GA4 was mounted regardless.

AnalyticsShell now renders nothing until consent is 'granted'. On a first visit
there is no GA4 script, no Vercel bundle, no PostHog beacon and no stored
identifier. State lives in src/lib/consent.ts under `pc_consent`; ConsentBanner
collects the choice and /privacy documents the stack and can withdraw it.

Three things worth calling out:

- A browser privacy signal is a decision, not a prompt. GPC (binding under the
  CCPA) or DNT resolves to 'denied' and the banner never renders.
- Withdrawal reloads. Unmounting AnalyticsShell does not unload a third party
  that is already running — gtag stays initialised on window and keeps
  collecting — so setConsent reloads on granted -> denied. It also clears
  pc_distinct_id, so opting out erases the identifier instead of freezing it.
  This was caught by the e2e spec, not by review.
- The banner is fixed-positioned, so it costs no layout shift on the landing
  page's LCP content.

Testing: specs that assert on analytics or capture visual baselines grant consent
up-front via tests/e2e/consent.ts, which keeps the banner out of every snapshot —
only the two landing baselines changed, and only because /privacy was added to
the footer. The axe suites deliberately run without consent, so the banner is
held to the same a11y bar as the rest of the site.

Verified: lint clean, tsc clean, 341 int tests, and e2e — consent 6/6, a11y
10/10, frontend 39/39, templates 60/60, templates-visual 62/62, components-visual
69/69, blog 5/5, geo 13/13. blog-index visual baselines fail identically on clean
origin/dev (stale darwin snapshots, unrelated to this change).

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

* test(chore): mint Linux visual baselines (frontend) (#373)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* privacy(fix): erase the identifier on a privacy signal and reload other tabs

Both found by CodeRabbit on #372 — the first substantive AI review this repo has
had on a dev-targeted PR since .coderabbit.yaml listed `dev` as a base branch.

resolveConsent() returned 'denied' for a GPC/DNT visitor without clearing a
pc_distinct_id that an earlier opt-in may have stored. It was never sent while
denied, but it survived to re-link the visitor to their previous identity if they
later opted back in. A signal is now treated exactly like an explicit
withdrawal.

subscribeToConsent() notified React on a cross-tab change but never reloaded.
That is the same defect the reload in setConsent exists to prevent, one tab over:
a tab that already mounted GA4 keeps gtag initialised on window and keeps
collecting, because unmounting AnalyticsShell cannot unload it. A withdrawal
elsewhere now tears this tab down too.

Both are covered by new specs that fail without the fix: a privacy signal
arriving after an opt-in must leave no identifier, and withdrawing in one tab
must strip the Google tag from a second tab that already had it.

Verified: lint clean, tsc clean, 341 int tests, consent e2e 8/8.

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

---------

Co-authored-by: Claude Opus 5 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Bumps the next-react group with 4 updates: [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next), [next](https://github.com/vercel/next.js), [react](https://github.com/react/react/tree/HEAD/packages/react) and [react-dom](https://github.com/react/react/tree/HEAD/packages/react-dom).


Updates `eslint-config-next` from 16.2.10 to 16.2.12
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/commits/v16.2.12/packages/eslint-config-next)

Updates `next` from 16.2.11 to 16.2.12
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](vercel/next.js@v16.2.11...v16.2.12)

Updates `react` from 19.2.7 to 19.2.8
- [Release notes](https://github.com/react/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/react/react/commits/v19.2.8/packages/react)

Updates `react-dom` from 19.2.7 to 19.2.8
- [Release notes](https://github.com/react/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/react/react/commits/v19.2.8/packages/react-dom)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-version: 16.2.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: next-react
- dependency-name: next
  dependency-version: 16.2.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: next-react
- dependency-name: react
  dependency-version: 19.2.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: next-react
- dependency-name: react-dom
  dependency-version: 19.2.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: next-react
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🧹 Nitpick comments (1)
CONTRIBUTING.md (1)

107-109: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Mention --update-snapshots=all for deliberate visual changes.

Bare --update-snapshots resolves to the changed preset (per the workflow's own rationale comment), which can leave a baseline stale when the diff is under maxDiffPixelRatio — the exact failure mode this whole section is guarding against. Worth telling contributors to use --update-snapshots=all when the change is intentionally visual, mirroring the guidance already given to the visual-baselines workflow's update input.

📝 Proposed doc tweak
 ```sh
-E2E_PORT=3100 pnpm test:e2e <spec> --update-snapshots
+# Use `--update-snapshots=all` instead of the bare flag when the change is
+# deliberately visual, so a sub-tolerance diff isn't left stale.
+E2E_PORT=3100 pnpm test:e2e <spec> --update-snapshots=all
</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @CONTRIBUTING.md around lines 107 - 109, Update the E2E snapshot command in
the relevant CONTRIBUTING.md section to use --update-snapshots=all, and add a
brief note that contributors should use this explicit preset for deliberate
visual changes so sub-tolerance differences update the baseline.


</details>

<!-- cr-comment:v1:d3908c8711dfd5eeaf325665 -->

</blockquote></details>

</blockquote></details>

<details>
<summary>🤖 Prompt for all review comments with AI agents</summary>

Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @content/docs/components/content-quote.mdx:

  • Around line 48-51: Update the logoLabel field description in the content-quote
    component documentation to clearly state that logo and logoLabel are optional
    and no logo is rendered when both are empty.

In @content/docs/components/stats-proof.mdx:

  • Around line 46-49: Update the description for the logoLabel configuration
    field so it clearly states that an empty value causes no logo to be rendered,
    replacing the ambiguous “Both empty” wording while preserving the existing
    behavior.

In @tests/e2e/components-visual.e2e.spec.ts:

  • Around line 41-48: Add requireMinted: process.platform === 'linux' &&
    Boolean(process.env.CI) to the baselines configuration in
    tests/e2e/components-visual.e2e.spec.ts (lines 41-48) and
    tests/e2e/templates-visual.e2e.spec.ts (lines 44-51), matching the existing blog
    visual configuration so missing Linux/CI baselines fail instead of being
    skipped. Preserve all existing baseline settings and test behavior.

In @tools/blog/render-visuals.ts:

  • Around line 153-157: Align the selective slugs filtering in the visual
    rendering flow with validateBlogVisualAssets: when the full-inventory
    validation gate is enabled, require captures for the complete catalog, or update
    validation to accept only the requested coverOptions.entries subset. Ensure
    entries without matching figures are handled consistently so partial rendering
    cannot bypass output generation and then fail full-catalog validation.

Nitpick comments:
In @CONTRIBUTING.md:

  • Around line 107-109: Update the E2E snapshot command in the relevant
    CONTRIBUTING.md section to use --update-snapshots=all, and add a brief note that
    contributors should use this explicit preset for deliberate visual changes so
    sub-tolerance differences update the baseline.

</details>

<details>
<summary>🪄 Autofix (Beta)</summary>

Fix all unresolved CodeRabbit comments on this PR:

- [ ] <!-- {"checkboxId": "4b0d0e0a-96d7-4f10-b296-3a18ea78f0b9"} --> Push a commit to this branch (recommended)
- [ ] <!-- {"checkboxId": "ff5b1114-7d8c-49e6-8ac1-43f82af23a33"} --> Create a new PR with the fixes

</details>

---

<details>
<summary>ℹ️ Review info</summary>

<details>
<summary>⚙️ Run configuration</summary>

**Configuration used**: Path: .coderabbit.yaml

**Review profile**: CHILL

**Plan**: Pro Plus

**Run ID**: `d2429658-4130-4d44-92a7-aec16883e69f`

</details>

<details>
<summary>📥 Commits</summary>

Reviewing files that changed from the base of the PR and between 8804f077be166aff8a0878e0c9d8ff1f4f48f788 and 0b7bd07c4d439048304794f19adc7f0c03fdac84.

</details>

<details>
<summary>⛔ Files ignored due to path filters (33)</summary>

* `public/blog/visual-regression-component-registry/figure-01-regression-pipeline.svg` is excluded by `!**/*.svg`
* `tests/e2e/blog-visual.e2e.spec.ts-snapshots/blog-index-desktop-chromium-darwin.png` is excluded by `!**/*.png`
* `tests/e2e/blog-visual.e2e.spec.ts-snapshots/blog-index-mobile-chromium-darwin.png` is excluded by `!**/*.png`
* `tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-quote-chromium-darwin.png` is excluded by `!**/*.png`
* `tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-quote-chromium-linux.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-agency-studio-about-desktop-chromium-darwin.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-agency-studio-about-desktop-chromium-linux.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-agency-studio-about-mobile-chromium-darwin.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-agency-studio-about-mobile-chromium-linux.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-agency-studio-home-desktop-chromium-darwin.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-agency-studio-home-desktop-chromium-linux.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-agency-studio-home-mobile-chromium-darwin.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-agency-studio-home-mobile-chromium-linux.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-commerce-brand-home-desktop-chromium-darwin.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-commerce-brand-home-desktop-chromium-linux.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-commerce-brand-home-mobile-chromium-darwin.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-commerce-brand-home-mobile-chromium-linux.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-commerce-brand-story-desktop-chromium-darwin.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-commerce-brand-story-desktop-chromium-linux.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-commerce-brand-story-mobile-chromium-darwin.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-commerce-brand-story-mobile-chromium-linux.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-event-conference-speakers-desktop-chromium-darwin.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-event-conference-speakers-desktop-chromium-linux.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-event-conference-speakers-mobile-chromium-darwin.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-event-conference-speakers-mobile-chromium-linux.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-fintech-trust-product-desktop-chromium-darwin.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-fintech-trust-product-desktop-chromium-linux.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-fintech-trust-product-mobile-chromium-darwin.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-fintech-trust-product-mobile-chromium-linux.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-saas-launch-product-desktop-chromium-darwin.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-saas-launch-product-desktop-chromium-linux.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-saas-launch-product-mobile-chromium-darwin.png` is excluded by `!**/*.png`
* `tests/e2e/templates-visual.e2e.spec.ts-snapshots/template-saas-launch-product-mobile-chromium-linux.png` is excluded by `!**/*.png`

</details>

<details>
<summary>📒 Files selected for processing (41)</summary>

* `.github/workflows/visual-baselines.yml`
* `CONTRIBUTING.md`
* `content/blog/templates-are-here.mdx`
* `content/docs/components/content-quote.mdx`
* `content/docs/components/stats-proof.mdx`
* `payload-components/manifests/content-quote.json`
* `payload-components/manifests/stats-proof.json`
* `payload-components/source/blocks/ContentQuote/Component.tsx`
* `payload-components/source/blocks/ContentQuote/config.ts`
* `payload-components/source/blocks/StatsProof/Component.tsx`
* `payload-components/source/blocks/StatsProof/config.ts`
* `public/blog/templates-are-here/cover.webp`
* `public/blog/templates-are-here/figure-01-template-gallery.webp`
* `source.config.ts`
* `src/app/llms.txt/route.ts`
* `src/components/site/demos/ContentQuoteDemo.tsx`
* `src/components/site/demos/StatsProofDemo.tsx`
* `src/components/site/templates/commerce-brand/theme.css`
* `src/components/site/templates/fintech-trust/theme.css`
* `src/components/site/templates/portfolio-solo/theme.css`
* `src/lib/demo-content.ts`
* `src/lib/site.ts`
* `src/lib/templates/agency-studio.ts`
* `src/lib/templates/commerce-brand.ts`
* `src/lib/templates/event-conference.ts`
* `src/lib/templates/fintech-trust.ts`
* `src/lib/templates/portfolio-solo.ts`
* `src/lib/templates/saas-launch.ts`
* `tests/e2e/blog-visual.e2e.spec.ts`
* `tests/e2e/blog.e2e.spec.ts`
* `tests/e2e/components-visual.e2e.spec.ts`
* `tests/e2e/support/visual-baselines.ts`
* `tests/e2e/templates-visual.e2e.spec.ts`
* `tests/int/blog-content.int.spec.ts`
* `tests/int/blog-platform.int.spec.ts`
* `tests/int/blog-visual-system.int.spec.ts`
* `tools/blog/capture-figures.ts`
* `tools/blog/render-visuals.ts`
* `tools/blog/visual-system/artifacts.ts`
* `tools/blog/visual-system/catalog.ts`
* `tools/blog/visual-system/diagram-template.ts`

</details>

</details>

<!-- This is an auto-generated comment by CodeRabbit for review status -->

Comment thread content/docs/components/stats-proof.mdx Resolved
Comment thread tests/e2e/components-visual.e2e.spec.ts Resolved
Comment on lines +153 to +157
slugs: figureCaptures
.filter((capture) =>
coverOptions.entries.some((entry) => entry.slug === capture.slug),
)
.map((capture) => capture.slug),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

rg -n -A25 -B8 \
  'parseCoverRenderArgs|validateBlogVisualAssets|coverOptions\.entries|captureBlogFigures' \
  tools/blog/render-visuals.ts

Repository: Ducksss/payload-components

Length of output: 4767


Verify selective rendering against full-catalog validation.

Rendering is now filtered to coverOptions.entries, but validateBlogVisualAssets still requires the complete 33-cover/36-figure asset inventory and compares output against the full catalog. A partial render or an entry without a matching figure can therefore skip output and fail validation; either make validation subset-aware or keep full-catalog capture required whenever the full-inventory gate is enabled.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tools/blog/render-visuals.ts` around lines 153 - 157, Align the selective
`slugs` filtering in the visual rendering flow with `validateBlogVisualAssets`:
when the full-inventory validation gate is enabled, require captures for the
complete catalog, or update validation to accept only the requested
`coverOptions.entries` subset. Ensure entries without matching figures are
handled consistently so partial rendering cannot bypass output generation and
then fail full-catalog validation.

Ducksss and others added 2 commits July 27, 2026 23:13
Dependabot opened the same bump as #371, but that PR targets `main` while `dev`
still pinned 8.5.14. Landing it only on main would have been undone the moment
dev was promoted — the 120-commit promote would carry 8.5.14 back over the fix
and silently reopen the advisory.

Bumps both the pnpm override and the devDependency; the override is the part that
matters, since postcss also arrives transitively and the pin is what hoists the
whole tree. Lockfile now resolves a single postcss 8.5.18.

Verified: lint clean, tsc clean, 343 int tests passing.

Co-authored-by: Claude Opus 5 <[email protected]>
Two of the four findings on #375 were worth taking:

- components-visual and templates-visual did not opt into the linux-CI
  `requireMinted` hardening that blog-visual carries. The rationale is
  the same for all three — linux is the gate's renderer, so a CI run
  that finds zero baselines is a real defect, not a not-yet state, and
  should fail loudly instead of skipping the whole suite green. No
  behaviour change today (both suites have linux baselines) or on
  darwin, where the flag is false.
- The `logoLabel` field description read "Both empty renders no logo",
  which parses badly for editors reading the admin UI. Reworded to "If
  both are empty, no logo is rendered." in both component doc pages.

Skipped the fourth (tools/blog/render-visuals.ts full-catalog
validation vs selective `--slug` rendering): real but narrow — it only
bites when a partial render is pointed at a fresh BLOG_VISUAL_OUTPUT_ROOT,
since the default root already holds all 67 committed assets. Relaxing
`validateBlogVisualAssets` would weaken the inventory gate that keeps the
committed asset set exact, which is a worse trade mid-release.

Verified: lint, tsc, test:int (343 passed).

Co-authored-by: Claude Opus 5 <[email protected]>
@Ducksss
Ducksss force-pushed the release/promote-dev-2026-07-27 branch from 0b7bd07 to 275fbab Compare July 27, 2026 16:20
@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

Rebuilt on main after the concurrent promote (#381) landed. That promote
carried everything up to dev's tip at the time; this closes the remaining
gap, which is #380 alone: the requireMinted hardening on the components
and templates visual suites, plus the logoLabel description rewording.

Tree is dev's tree verbatim.
@Ducksss
Ducksss force-pushed the release/promote-dev-2026-07-27 branch from 275fbab to 2f10ae5 Compare July 27, 2026 16:31
@Ducksss Ducksss changed the title release: promote dev to main release: promote dev to main — CodeRabbit follow-ups (#380) Jul 27, 2026
@Ducksss
Ducksss merged commit 3055215 into main Jul 27, 2026
12 of 14 checks passed
@Ducksss
Ducksss deleted the release/promote-dev-2026-07-27 branch July 27, 2026 16:40
Ducksss added a commit that referenced this pull request Jul 29, 2026
…e days

Triaged every bot review on the 60 PRs merged since 2026-07-24. Copilot was
quota-limited on all of them and Codex's one finding (#340 Linux baselines) was
handled by #342, so everything actionable is CodeRabbit's. Most of its findings
were already closed by #378/#380 or superseded by later work; two were false
positives. These five were still open and worth taking.

- frontend.e2e: pin the tablet wall fade (#399). The 2.75rem override IS that
  PR, and nothing asserted it — the existing fade check runs at 390px, outside
  the 640-1023px query, so deleting the rule stayed green, and the overrun
  ceiling is deliberately loose enough (60px) to swallow the 44px residue too.
  Asserted exactly, because matching the residue is the point.

- templates-a11y: accept the 3D identity as settled (#394). A reveal written
  with translate3d, or carrying a translateZ(0) compositor hint, serialises as
  matrix3d — the check saw only the 2D identity and would have failed the gate
  for a reveal sitting exactly where it belongs.

- painted-contrast: name the no-glyph-pixel skips (#394). unresolvedSelectors
  already exists so a skip cannot hide which node it dropped; this is the other
  way an unmeasurable node leaves the run, and it was a bare count.

- ComponentWall: fix the zoom comment (#396). It claimed every card shows true
  desktop proportions at every size. zoom pins the 1280px layout width, not the
  breakpoint — frontend.e2e's own comment says as much — and that claim is
  exactly what would mislead the next person curating frame heights.

- CONTRIBUTING: document the changed-vs-all snapshot trap (#375). A bare
  --update-snapshots skips baselines whose diff lands under tolerance, which is
  the same stale-baseline half-mint the section warns about, minus the missing
  file that would have revealed it. visual-baselines.yml explains this at
  length; the local instructions did not.

Skipped, with reasons: tokenising the wall fade heights and the mask-image
black stops (#399/#396/#370) — the token rule scans component utilities, not
globals.css, which defines tokens and carries raw lengths throughout, and a
mask's black is an alpha keyword rather than a colour; fading only
confirmed-overflow cards (#396) — the valve exists for content that has not
changed yet; moving privacy copy into site.ts (#372) — real per AGENTS.md, but
about/blog/brand-guide hold local copy too, so this belongs in one deliberate
pass; subset-aware blog visual validation (#375) — outputRoot defaults to the
repo, so a --slug render is incremental against committed assets and the
full-catalog gate is the correct final check.

Verified: lint, tsc, the three affected int specs, and both e2e specs green
(frontend 44 passed, templates-a11y 43 passed) in production mode.

Co-Authored-By: Claude Opus 5 <[email protected]>
Ducksss added a commit that referenced this pull request Jul 29, 2026
…e days (#411)

Triaged every bot review on the 60 PRs merged since 2026-07-24. Copilot was
quota-limited on all of them and Codex's one finding (#340 Linux baselines) was
handled by #342, so everything actionable is CodeRabbit's. Most of its findings
were already closed by #378/#380 or superseded by later work; two were false
positives. These five were still open and worth taking.

- frontend.e2e: pin the tablet wall fade (#399). The 2.75rem override IS that
  PR, and nothing asserted it — the existing fade check runs at 390px, outside
  the 640-1023px query, so deleting the rule stayed green, and the overrun
  ceiling is deliberately loose enough (60px) to swallow the 44px residue too.
  Asserted exactly, because matching the residue is the point.

- templates-a11y: accept the 3D identity as settled (#394). A reveal written
  with translate3d, or carrying a translateZ(0) compositor hint, serialises as
  matrix3d — the check saw only the 2D identity and would have failed the gate
  for a reveal sitting exactly where it belongs.

- painted-contrast: name the no-glyph-pixel skips (#394). unresolvedSelectors
  already exists so a skip cannot hide which node it dropped; this is the other
  way an unmeasurable node leaves the run, and it was a bare count.

- ComponentWall: fix the zoom comment (#396). It claimed every card shows true
  desktop proportions at every size. zoom pins the 1280px layout width, not the
  breakpoint — frontend.e2e's own comment says as much — and that claim is
  exactly what would mislead the next person curating frame heights.

- CONTRIBUTING: document the changed-vs-all snapshot trap (#375). A bare
  --update-snapshots skips baselines whose diff lands under tolerance, which is
  the same stale-baseline half-mint the section warns about, minus the missing
  file that would have revealed it. visual-baselines.yml explains this at
  length; the local instructions did not.

Skipped, with reasons: tokenising the wall fade heights and the mask-image
black stops (#399/#396/#370) — the token rule scans component utilities, not
globals.css, which defines tokens and carries raw lengths throughout, and a
mask's black is an alpha keyword rather than a colour; fading only
confirmed-overflow cards (#396) — the valve exists for content that has not
changed yet; moving privacy copy into site.ts (#372) — real per AGENTS.md, but
about/blog/brand-guide hold local copy too, so this belongs in one deliberate
pass; subset-aware blog visual validation (#375) — outputRoot defaults to the
repo, so a --slug render is incremental against committed assets and the
full-catalog gate is the correct final check.

Verified: lint, tsc, the three affected int specs, and both e2e specs green
(frontend 44 passed, templates-a11y 43 passed) in production mode.

Co-authored-by: Claude Opus 5 <[email protected]>
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.

3 participants