Skip to content

config(chore): promote dev to main - #285

Merged
Ducksss merged 82 commits into
mainfrom
PinZheng/promote-dev-to-main-2026-07-19
Jul 20, 2026
Merged

Ducksss merged 82 commits into
mainfrom
PinZheng/promote-dev-to-main-2026-07-19

Conversation

@Ducksss

@Ducksss Ducksss commented Jul 19, 2026 •

Copy link
Copy Markdown
Owner

Promotion snapshot

Ref SHA
main parent 1a856e81eec0bc51eafaf2cb2be61cc837a8e90c
final reviewed dev parent 8381ef796fd1d030248d7c95729b1055ea6bc4fd
promotion commit 1e8b15030d8f5a18723805566a91787d787c0be1
promotion / dev tree e6ee33b0e1de87226cbc9c4f997525f87d8c97ea

The promotion commit has current main and the final reviewed dev head as explicit parents. Its tree is byte-for-byte identical to dev; there are no promotion-only source changes (git diff --exit-code HEAD origin/dev).

What ships

  • expand the installable registry from 58 to 65 items with seven complete Tailark-derived blocks, including source, manifests, docs, demo twins, provenance, installer coverage, and Darwin/Linux visual baselines
  • harden the landing, catalog, install guidance, Payload generated-types troubleshooting, structured metadata, command-copy behavior, source grouping, reduced-motion video, and semantic metric markup
  • refresh the weekly tooling dependencies coherently, including aligned Tailwind CSS/PostCSS versions and Node setup actions
  • add opt-in payload-components seed and add --demo support with draft-only writes, private ownership state, exact-ID reuse, crash-recovery journals, typed/validated Page layouts, and root/nested upload hydration
  • preserve the community-owned footer while strengthening component-catalog search fit and installation discovery

The production delta is 243 files, 10,491 additions, and 843 deletions across 81 dev commits since the current main snapshot.

Review disposition

Verification

  • every merged PR passed its GitHub release gate, Node 20 compatibility, quick checks, all four fresh-Payload smoke shards, PR gate, and deployment previews
  • cli(feat): add crash-safe demo seeding #147 local full release: 194 integration tests (1 expected skip), 31 frontend E2E, 67 visual, and 14 accessibility/GEO checks
  • cli(feat): add crash-safe demo seeding #147 fresh Payload 3.86 proof: generated types, TypeScript, draft seed execution, production build, and browser render; separate required-upload hero-video compile/run proof
  • seo: strengthen component catalog search fit #295 local full release: 155 integration tests (1 expected skip), 32 frontend E2E, 67 visual, and 14 accessibility/GEO checks
  • the promotion checks below rerun the complete gate against this exact combined tree

This PR is the production boundary. It should merge only after the refreshed promotion head is fully green.

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]>
imgbot Bot and others added 3 commits July 19, 2026 16:27
Summary:
- Losslessly optimize 112 tracked PNGs and minify the favicon SVG.
- Preserve eight newer comparator and landing baselines from dev.
- Reduce effective PNG size by 976,338 bytes (15.93%).

Rationale:
- Reduce repository and asset weight without changing decoded pixels, dimensions, or visual contracts.

Tests:
- Decoded-pixel and dimension audit across all 112 PNGs.
- Full local and GitHub release gates, including 67 visual baselines and four fresh-Payload smoke shards.
Summary:
- upgrade lucide-react to 1.24.0
- replace the removed GitHub brand export with a local typed mark
- guard against reintroducing the removed Lucide export

Validation:
- release gate, Node 20 compatibility, all fresh Payload shards, PR gate, and deployments passed
Summary:
- Render external footer resources with native anchors.
- Add regression coverage for the registry JSON link.

Rationale:
- Prevent Next.js from prefetching static registry JSON as an app route.
- Preserve router navigation for internal footer links.

Tests:
- Full local and hosted release gates.
- Node 20 compatibility and four fresh-Payload smoke shards.
- Both Vercel previews and deployed browser verification.
Copilot AI review requested due to automatic review settings July 19, 2026 10:01
@vercel

vercel Bot commented Jul 19, 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 20, 2026 1:41pm
payload-components-97bf Ready Ready Preview, Comment Jul 20, 2026 1:41pm

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 19, 2026 •

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This PR adds seven Payload components with schemas, renderers, manifests, registry entries, demos, catalogs, and documentation. It also updates landing-page interactions, copy analytics, troubleshooting guidance, dependency grouping, E2E execution, smoke seeding, and integration coverage.

Changes

Curated component ports

Layer / File(s) Summary
Block schemas, renderers, and shared helpers
payload-components/source/blocks/...
Adds hero, feature, stats, and contact-routing blocks with Payload schemas, React renderers, icon mappings, and contact URL validation.
Distribution and documentation integration
payload-components/manifests/*, payload-components/registry.json, src/lib/site.ts, src/components/site/demos/*, content/docs/components/*
Registers the seven components, adds demo twins and catalog entries, and publishes installation, content-model, usage, requirements, and family documentation.

Landing, documentation, and tooling

Layer / File(s) Summary
Landing and shared UI updates
src/components/site/*, src/app/globals.css, content/blog/*, content/docs/*
Refines hero actions and density, adds configurable copy controls and runnable MDX commands, replaces GitHub icons, and adds troubleshooting and FAQ links.
E2E and smoke tooling
tools/run-e2e.ts, tools/payload-components/smoke/*, tools/payload-components/utils.ts, package.json
Adds sequential Playwright batching, upload-field smoke hydration, EPERM handling, and updated development/test dependencies.
Validation coverage
tests/e2e/*, tests/int/*
Adds coverage for component contracts, provenance, installation deduplication, copy analytics, smoke seeding, security validation, Dependabot groups, and E2E runner behavior.

Estimated code review effort: 5 (Critical) | ~120 minutes

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 27.78% 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 content-rich but does not follow the repository template and omits the required Summary, checkbox Verification, Registry Checklist, and Notes sections. Rewrite the PR description to match the template exactly, filling Summary, Verification, Registry Checklist, and Notes with concise, complete details.
✅ 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 accurately describes the branch promotion and matches the main change in this PR.
✨ 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 PinZheng/promote-dev-to-main-2026-07-19

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.

@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 (5)
tools/payload-components/utils.ts (1)

60-63: 🩺 Stability & Availability | 🔵 Trivial | ⚡ Quick win

Silently swallowing EPERM removes visibility into a possible orphaned process.

Treating EPERM the same as ESRCH in signalProcessTree/isProcessTreeAlive is a reasonable pragmatic choice given the documented macOS process-group ownership quirk (there's genuinely nothing more this process can do), but previously an EPERM would surface as a thrown error. Now it's fully swallowed, so if a child actually stays alive because of a permission issue (not because it already exited), terminateProcessTree will resolve as if cleanup succeeded, silently leaving a real process (and its bound port) running in CI with no trace.

Consider a console.warn when this path is hit so an orphaned process is at least visible in smoke/E2E logs.

♻️ Suggested observability addition
   try {
     process.kill(-child.pid, signal)
   } catch (error) {
     const code = (error as NodeJS.ErrnoException).code

     // A process group can outlive its leader briefly on macOS. If ownership
     // changes while it drains, signalling the stale group can return EPERM;
     // there is no further cleanup this process is allowed to perform.
     if (code !== 'ESRCH' && code !== 'EPERM') {
       throw error
     }
+
+    if (code === 'EPERM') {
+      console.warn(`[terminateProcessTree] EPERM signalling process group ${child.pid}; assuming it is already draining.`)
+    }
   }

Also applies to: 82-84

🤖 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/payload-components/utils.ts` around lines 60 - 63, Update the EPERM
handling in signalProcessTree/isProcessTreeAlive to retain the current
non-throwing behavior while emitting a console.warn that includes relevant
process or group context. Keep ESRCH silent and preserve the existing handling
for all other error codes.
src/components/site/GitHubMark.tsx (1)

1-21: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Prefer reusing the existing Github icon from lucide-react.

This custom SVG perfectly matches the path data of the standard Github icon from lucide-react, which is already a project dependency. You can export the Lucide icon directly as GitHubMark to eliminate code duplication without changing the component's API or downstream usages.

♻️ Proposed refactor
-import type { SVGProps } from 'react'
+import { Github } from 'lucide-react'
 
-export function GitHubMark(props: SVGProps<SVGSVGElement>) {
-  return (
-    <svg
-      width="24"
-      height="24"
-      viewBox="0 0 24 24"
-      fill="none"
-      stroke="currentColor"
-      strokeWidth="2"
-      strokeLinecap="round"
-      strokeLinejoin="round"
-      focusable="false"
-      {...props}
-    >
-      <path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4" />
-      <path d="M9 18c-4.51 2-5-2-7-2" />
-    </svg>
-  )
-}
+export const GitHubMark = Github
🤖 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 `@src/components/site/GitHubMark.tsx` around lines 1 - 21, Replace the custom
SVG implementation in GitHubMark with the existing Github icon imported from
lucide-react, while preserving the GitHubMark export name and
SVGProps-compatible component API for all downstream usages.
src/lib/demo-content.ts (1)

98-108: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

formLabels typed as a loose array despite fixed 5-slot usage.

ContactRoutingFormDemoContent.formLabels is string[], but the only consumer (ContactRoutingFormDemo.tsx) does formLabels.slice(0, 4) for the single-line fields and formLabels[4] for the message textarea — an implicit contract that exactly 5 ordered labels exist (name/email/organization/phone/message, per the mdx docs). Nothing here enforces that at the type level, so a future edit to the demo content with fewer than 5 entries would silently render an undefined label with no compiler warning.

♻️ Suggested tighter typing
 export type ContactRoutingFormDemoContent = {
   channels: { description?: string; label: string; value: string }[]
   description?: string
   eyebrow?: string
   formConfigured: boolean
   formDescription?: string
-  formLabels: string[]
+  formLabels: [string, string, string, string, string]
   formTitle: string
   submitLabel: string
   title: string
 }
🤖 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 `@src/lib/demo-content.ts` around lines 98 - 108, Update
ContactRoutingFormDemoContent.formLabels from string[] to a tuple type requiring
exactly five ordered strings, preserving the documented
name/email/organization/phone/message sequence and matching the slice(0, 4) and
formLabels[4] usage in ContactRoutingFormDemo.
src/components/site/demos/FeatureAccordionDemo.tsx (1)

28-35: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Shared icon map lives in a sibling demo component instead of a shared module. featureDemoIcons is defined inside FeatureAccordionDemo.tsx and imported by two unrelated demo files purely for the icon lookup, creating an artificial dependency on that component's file rather than on a dedicated module — the production block side already avoids this via payload-components/source/blocks/shared/featureIcons.ts.

  • src/components/site/demos/FeatureAccordionDemo.tsx#L28-L35: move the featureDemoIcons map (and its LucideIcon/icon imports) into a new shared module (e.g. src/components/site/demos/featureIcons.ts) and re-export or import it locally here.
  • src/components/site/demos/FeatureCardsMediaDemo.tsx#L9-L9: import featureDemoIcons from the new shared module instead of ./FeatureAccordionDemo.
  • src/components/site/demos/FeatureIconGridDemo.tsx#L11-L11: import featureDemoIcons from the new shared module instead of ./FeatureAccordionDemo.
🤖 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 `@src/components/site/demos/FeatureAccordionDemo.tsx` around lines 28 - 35,
Move the featureDemoIcons map and its Lucide icon imports from
FeatureAccordionDemo.tsx into a dedicated shared module. Update
src/components/site/demos/FeatureAccordionDemo.tsx#L28-L35 to import or
re-export the map, and change imports at
src/components/site/demos/FeatureCardsMediaDemo.tsx#L9-L9 and
src/components/site/demos/FeatureIconGridDemo.tsx#L11-L11 to use the new shared
module directly.
src/components/site/sections/CommunityCta.tsx (1)

49-68: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Use <a> instead of Link for the external GitHub links.

communityLinks[0]/[1] resolve to githubRepoUrl/githubIssuesUrl — genuinely external URLs — but are rendered via next/link Link with target="_blank". This same PR just fixed the identical pattern in SiteFooter.tsx (external → <a>, internal → Link), and HeroSection.tsx, SiteHeader.tsx (desktop), and docs/layout.tsx already use <a> for their GitHub external link. This file is now the outlier, and next/link is intended for internal, same-origin navigation.

♻️ Proposed fix
-            <Link
-              href={communityLinks[0].href}
-              target="_blank"
-              rel="noreferrer"
-              data-cta-level="secondary"
-              className="inline-flex h-10 items-center justify-center gap-2 rounded-full border border-border bg-background px-4 font-medium text-foreground transition-colors hover:bg-secondary"
-            >
-              <GitHubMark className="size-4" aria-hidden="true" />
-              {communityLinks[0].label}
-            </Link>
-            <Link
-              href={communityLinks[1].href}
-              target="_blank"
-              rel="noreferrer"
-              data-cta-level="tertiary"
-              className="inline-flex items-center gap-1.5 text-muted-foreground transition-colors hover:text-foreground"
-            >
-              {communityLinks[1].label}
-              <ArrowUpRight className="size-3.5" aria-hidden="true" />
-            </Link>
+            <a
+              href={communityLinks[0].href}
+              target="_blank"
+              rel="noreferrer"
+              data-cta-level="secondary"
+              className="inline-flex h-10 items-center justify-center gap-2 rounded-full border border-border bg-background px-4 font-medium text-foreground transition-colors hover:bg-secondary"
+            >
+              <GitHubMark className="size-4" aria-hidden="true" />
+              {communityLinks[0].label}
+            </a>
+            <a
+              href={communityLinks[1].href}
+              target="_blank"
+              rel="noreferrer"
+              data-cta-level="tertiary"
+              className="inline-flex items-center gap-1.5 text-muted-foreground transition-colors hover:text-foreground"
+            >
+              {communityLinks[1].label}
+              <ArrowUpRight className="size-3.5" aria-hidden="true" />
+            </a>
🤖 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 `@src/components/site/sections/CommunityCta.tsx` around lines 49 - 68, Replace
both external GitHub `Link` elements using `communityLinks[0]` and
`communityLinks[1]` with standard `<a>` elements, preserving their hrefs,
targets, rel attributes, content, and styling; keep `Link` reserved for internal
navigation.
🤖 Prompt for all review comments with 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.

Inline comments:
In `@payload-components/source/blocks/HeroVideo/Video.tsx`:
- Around line 10-15: Remove the early `return null` from `HeroVideoPlayer`,
allowing the video element to render consistently during SSR and hydration.
Preserve the `canAutoPlay` calculation and use it solely for the video’s
`autoPlay` prop so reduced-motion users do not receive autoplay.

In `@payload-components/source/blocks/StatsProof/Component.tsx`:
- Around line 54-61: Update the metric wrapper in the metrics.map rendering to
use flex flex-col-reverse, then move the metric.label <dt> before the
metric.value <dd> in the DOM. Preserve the existing visual order so the value
remains displayed above the label while restoring valid <dl> semantics.

In `@src/lib/component-source-groups.ts`:
- Line 8: Update the dirName helper to explicitly handle titles without a slash,
returning the correct root-directory identifier instead of calling slice with
-1; preserve the existing parent-directory extraction for titles that contain
'/'.

In `@tools/payload-components/smoke/fresh-payload-repo.ts`:
- Around line 588-591: Update the manifest schema for sampleContent to require
explicit null placeholders for every optional upload field, so omitted upload
slots are rejected rather than silently skipped. Preserve the existing traversal
behavior in valueNeedsSmokeMedia and addSmokeUploadReferences, and add schema
tests covering both accepted null placeholders and rejected omitted upload
fields.

---

Nitpick comments:
In `@src/components/site/demos/FeatureAccordionDemo.tsx`:
- Around line 28-35: Move the featureDemoIcons map and its Lucide icon imports
from FeatureAccordionDemo.tsx into a dedicated shared module. Update
src/components/site/demos/FeatureAccordionDemo.tsx#L28-L35 to import or
re-export the map, and change imports at
src/components/site/demos/FeatureCardsMediaDemo.tsx#L9-L9 and
src/components/site/demos/FeatureIconGridDemo.tsx#L11-L11 to use the new shared
module directly.

In `@src/components/site/GitHubMark.tsx`:
- Around line 1-21: Replace the custom SVG implementation in GitHubMark with the
existing Github icon imported from lucide-react, while preserving the GitHubMark
export name and SVGProps-compatible component API for all downstream usages.

In `@src/components/site/sections/CommunityCta.tsx`:
- Around line 49-68: Replace both external GitHub `Link` elements using
`communityLinks[0]` and `communityLinks[1]` with standard `<a>` elements,
preserving their hrefs, targets, rel attributes, content, and styling; keep
`Link` reserved for internal navigation.

In `@src/lib/demo-content.ts`:
- Around line 98-108: Update ContactRoutingFormDemoContent.formLabels from
string[] to a tuple type requiring exactly five ordered strings, preserving the
documented name/email/organization/phone/message sequence and matching the
slice(0, 4) and formLabels[4] usage in ContactRoutingFormDemo.

In `@tools/payload-components/utils.ts`:
- Around line 60-63: Update the EPERM handling in
signalProcessTree/isProcessTreeAlive to retain the current non-throwing behavior
while emitting a console.warn that includes relevant process or group context.
Keep ESRCH silent and preserve the existing handling for all other error codes.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a0026d14-8529-49ea-8f49-cc37b1cfe7a7

📥 Commits

Reviewing files that changed from the base of the PR and between 1a856e8 and 1f389a0.

⛔ Files ignored due to path filters (132)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
  • public/docs/admin/feature-grid-fields.png is excluded by !**/*.png
  • public/docs/admin/feature-grid-picker.png is excluded by !**/*.png
  • public/favicon.svg is excluded by !**/*.svg
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-call-to-action-boxed-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-call-to-action-boxed-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-call-to-action-centered-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-call-to-action-centered-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-call-to-action-signup-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-call-to-action-signup-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-comparator-table-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-comparator-table-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-contact-routing-form-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-contact-routing-form-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-columns-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-columns-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-community-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-community-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-feature-media-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-feature-media-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-feature-split-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-feature-split-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-image-frame-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-image-lead-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-image-lead-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-list-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-list-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-list-columns-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-list-columns-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-list-icons-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-list-icons-chromium-linux.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/components-visual.e2e.spec.ts-snapshots/component-content-rows-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-rows-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-showcase-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-showcase-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-split-rows-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-split-rows-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-stats-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-content-stats-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-embed-basic-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-embed-basic-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-faq-accordion-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-faq-accordion-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-faq-card-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-faq-card-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-faq-grid-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-faq-grid-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-faq-grouped-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-faq-grouped-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-faq-icons-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-faq-icons-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-faq-split-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-faq-split-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-feature-accordion-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-feature-accordion-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-feature-bento-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-feature-bento-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-feature-cards-media-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-feature-cards-media-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-feature-grid-basic-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-feature-grid-basic-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-feature-icon-grid-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-feature-icon-grid-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-feature-split-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-feature-split-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-feature-steps-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-feature-steps-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-hero-basic-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-hero-basic-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-hero-product-tilt-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-hero-product-tilt-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-hero-video-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-hero-video-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-integration-cluster-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-integration-cluster-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-integration-connect-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-integration-connect-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-integration-grid-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-integration-grid-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-integration-list-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-integration-list-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-integration-marquee-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-integration-marquee-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-integration-orbit-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-integration-orbit-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-integration-split-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-integration-split-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-integration-testimonial-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-integration-testimonial-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-logo-cloud-grid-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-logo-cloud-grid-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-logo-cloud-hover-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-logo-cloud-hover-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-logo-cloud-inline-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-logo-cloud-inline-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-logo-cloud-inline-wrap-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-logo-cloud-inline-wrap-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-logo-cloud-marquee-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-logo-cloud-marquee-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-pricing-cards-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-pricing-cards-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-pricing-cards-cta-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-pricing-cards-cta-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-pricing-cards-muted-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-pricing-cards-muted-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-pricing-enterprise-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-pricing-enterprise-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-pricing-split-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-pricing-split-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-stats-proof-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-stats-proof-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-team-grid-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-team-roster-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-team-roster-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-testimonials-bento-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-testimonials-bento-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-testimonials-grid-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-testimonials-grid-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-testimonials-quote-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-testimonials-quote-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-testimonials-rating-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-testimonials-rating-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-testimonials-spotlight-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-testimonials-spotlight-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-testimonials-wall-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-testimonials-wall-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/frontend.e2e.spec.ts-snapshots/landing-home-desktop-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/frontend.e2e.spec.ts-snapshots/landing-home-desktop-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/frontend.e2e.spec.ts-snapshots/landing-home-mobile-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/frontend.e2e.spec.ts-snapshots/landing-home-mobile-chromium-linux.png is excluded by !**/*.png
📒 Files selected for processing (90)
  • .github/dependabot.yml
  • README.md
  • content/blog/anatomy-of-an-install.mdx
  • content/docs/components/contact-routing-form.mdx
  • content/docs/components/feature-accordion.mdx
  • content/docs/components/feature-cards-media.mdx
  • content/docs/components/feature-icon-grid.mdx
  • content/docs/components/hero-basic.mdx
  • content/docs/components/hero-product-tilt.mdx
  • content/docs/components/hero-video.mdx
  • content/docs/components/meta.json
  • content/docs/components/stats-proof.mdx
  • content/docs/installation.mdx
  • content/docs/shadcn-vs-payload-components.mdx
  • docs/superpowers/plans/2026-07-14-landing-hero-editorial-compression.md
  • docs/superpowers/plans/2026-07-15-curated-tailark-ports.md
  • docs/superpowers/specs/2026-07-14-landing-hero-editorial-compression-design.md
  • docs/superpowers/specs/2026-07-15-curated-tailark-ports-design.md
  • package.json
  • payload-components/PROVENANCE.md
  • payload-components/manifests/contact-routing-form.json
  • payload-components/manifests/feature-accordion.json
  • payload-components/manifests/feature-cards-media.json
  • payload-components/manifests/feature-icon-grid.json
  • payload-components/manifests/hero-product-tilt.json
  • payload-components/manifests/hero-video.json
  • payload-components/manifests/stats-proof.json
  • payload-components/registry.json
  • payload-components/source/blocks/ContactRoutingForm/Component.tsx
  • payload-components/source/blocks/ContactRoutingForm/config.ts
  • payload-components/source/blocks/FeatureAccordion/Component.tsx
  • payload-components/source/blocks/FeatureAccordion/config.ts
  • payload-components/source/blocks/FeatureCardsMedia/Component.tsx
  • payload-components/source/blocks/FeatureCardsMedia/config.ts
  • payload-components/source/blocks/FeatureIconGrid/Component.tsx
  • payload-components/source/blocks/FeatureIconGrid/config.ts
  • payload-components/source/blocks/HeroProductTilt/Component.tsx
  • payload-components/source/blocks/HeroProductTilt/config.ts
  • payload-components/source/blocks/HeroVideo/Component.tsx
  • payload-components/source/blocks/HeroVideo/Video.tsx
  • payload-components/source/blocks/HeroVideo/config.ts
  • payload-components/source/blocks/StatsProof/Component.tsx
  • payload-components/source/blocks/StatsProof/config.ts
  • payload-components/source/blocks/shared/contactUrls.ts
  • payload-components/source/blocks/shared/featureIcons.ts
  • playwright.config.ts
  • src/app/docs/layout.tsx
  • src/app/globals.css
  • src/components/mdx.tsx
  • src/components/site/CommandCopyButton.tsx
  • src/components/site/CommandCopyController.tsx
  • src/components/site/ComponentCodeViewer.tsx
  • src/components/site/Faq.tsx
  • src/components/site/GitHubMark.tsx
  • src/components/site/HeroInstallReplay.tsx
  • src/components/site/HeroProductFrame.tsx
  • src/components/site/RunnableCommand.tsx
  • src/components/site/SiteFooter.tsx
  • src/components/site/SiteHeader.tsx
  • src/components/site/demos/ContactRoutingFormDemo.tsx
  • src/components/site/demos/FeatureAccordionDemo.tsx
  • src/components/site/demos/FeatureCardsMediaDemo.tsx
  • src/components/site/demos/FeatureIconGridDemo.tsx
  • src/components/site/demos/HeroProductTiltDemo.tsx
  • src/components/site/demos/HeroVideoDemo.tsx
  • src/components/site/demos/StatsProofDemo.tsx
  • src/components/site/demos/registry.ts
  • src/components/site/sections/CommunityCta.tsx
  • src/components/site/sections/HeroSection.tsx
  • src/lib/component-page-tree.tsx
  • src/lib/component-source-groups.ts
  • src/lib/demo-content.ts
  • src/lib/site.ts
  • tests/e2e/frontend.e2e.spec.ts
  • tests/int/component-source-groups.int.spec.ts
  • tests/int/curated-tailark-ports.int.spec.ts
  • tests/int/dependabot-config.int.spec.ts
  • tests/int/e2e-runner.int.spec.ts
  • tests/int/fresh-payload-smoke.int.spec.ts
  • tests/int/fumadocs-site.int.spec.ts
  • tests/int/payload-components-fixture.ts
  • tests/int/payload-components-security.int.spec.ts
  • tests/int/payload-components.int.spec.ts
  • tests/int/public-registry.int.spec.ts
  • tests/int/subprocess.int.spec.ts
  • tests/int/visual-standards.int.spec.ts
  • tools/payload-components/cli.ts
  • tools/payload-components/smoke/fresh-payload-repo.ts
  • tools/payload-components/utils.ts
  • tools/run-e2e.ts
💤 Files with no reviewable changes (2)
  • tests/int/visual-standards.int.spec.ts
  • src/app/globals.css

Comment thread src/lib/component-source-groups.ts Resolved
Ducksss and others added 4 commits July 20, 2026 01:14
Summary:
- keep HeroVideo markup hydration-stable while honoring reduced motion
- restore valid StatsProof term-description order without visual changes
- group root-level component source files under a single directory
- add regression coverage for all three corrected contracts

Rationale:
- prevent client-side hydration recovery for normal-motion visitors
- preserve semantic HTML, demo fidelity, and stable source navigation
- keep optional upload fallbacks out of the required-media smoke contract

Tests:
- pnpm test:release
Co-authored-by: Ducksss <[email protected]>
Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
Refresh actions/setup-node, Tailwind CSS/PostCSS, @types/mdx, Geist, lucide-react, and @xyflow/react together with a coherent pnpm lockfile.
Document the Payload 3 generated-types failure mode, recovery commands, CI guidance, and a cross-platform package script, with site regression coverage.
Add opt-in draft demo seed generation with strict install preconditions, private ownership state, crash-safe operation journals, exact-ID reuse, typed and validated Payload layouts, upload hydration, documentation, and comprehensive command/runtime/fresh-project coverage.
@tin-computer
tin-computer Bot enabled auto-merge (squash) July 20, 2026 13:34
tin-computer Bot and others added 2 commits July 20, 2026 20:36
Improve catalog metadata, heading, family description, installation guidance, structured data, and browser coverage while preserving the community-owned footer.
@Ducksss
Ducksss force-pushed the PinZheng/promote-dev-to-main-2026-07-19 branch from 4b6810f to 1e8b150 Compare July 20, 2026 13:37
@Ducksss
Ducksss merged commit 2d8f045 into main Jul 20, 2026
14 checks passed
@Ducksss
Ducksss deleted the PinZheng/promote-dev-to-main-2026-07-19 branch July 30, 2026 09:09
Ducksss added a commit that referenced this pull request Aug 9, 2026
Narrows #439 to the two changes that are pure gain and carry no
rendering cost: homeMetadataTitle and homeMetadataDescription, which
live in <head> only.

Reverts heroHeadlinePrimary, heroSubheadline, and heroEyebrow to their
dev values, and restores both Linux landing baselines.

Why:

- The H1 lost its verb. "Install Payload blocks / wired, not pasted."
  states what the product does; "Payload Components: / wired, not
  pasted." only parses if you already know the brand. After the
  metadata change the brand is already in the title, description and
  domain, so the H1 was the fifth repetition, not the first.
- heroSubheadline dropped "For Payload CMS developers," — the audience
  clarifier added deliberately in #285.
- heroEyebrow renders as a sized pill above the H1, so keeping it would
  have required re-minting baselines on BOTH platforms. Only the Linux
  pair was refreshed here, and every runner is ubuntu-latest, so a stale
  darwin baseline is invisible to CI and fails the next local macOS run.

The hero now renders byte-identically to dev, so no baseline re-mint is
needed on either platform, and README.md:34 plus brand-guide/page.tsx
stay accurate.

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

This branch was successfully deployed

2 active deployments
Preview – payload-components-97bf — 1e8b1503 Deployed Jul 20, 2026 by vercel[bot]
Preview – payload-components — 1e8b1503 Deployed Jul 20, 2026 by vercel[bot]
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