Skip to content

release: promote dev to main — Footer and Stats families, actionable CLI errors (v1.4.0) - #473

Merged
Ducksss merged 185 commits into
mainfrom
release/promote-v1.4.0
Aug 15, 2026
Merged

Ducksss merged 185 commits into
mainfrom
release/promote-v1.4.0

Conversation

@Ducksss

@Ducksss Ducksss commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Promotes dev to main at v1.4.0. The branch tip's tree is byte-identical to origin/dev — git diff release/promote-v1.4.0 origin/dev is empty — so merging this makes main exactly dev, nothing more.

What ships

PR
#452 Footer family + three Stats variants — footer-columns, footer-simple, footer-centered, stats-grid, stats-card, stats-inline. Catalog 67 → 73.
#457 CLI anchor failures now carry the repair — a drifted consumer file gets the file path, what was missing, and the exact lines to paste, instead of a bare anchor name.
#470 Route-overflow e2e split (closes #108) — one test per route, so a slow route can't push the matrix past the per-test timeout and failures name the route. Ported from #463 with the contributor's authorship.
#453 Contributor onramp: good-first-issue paths and a focused-checks table.
#439 Homepage <title> now names the brand.
#465, #471 Dev-tooling bumps: Next 16.3.0, vite 8.2.1, fumadocs, @types/react, shadcn 4.16.2.
#472 Version bump to 1.4.0.

Diff shape

76 files, +3,581 / −602. Zero deletions. 46 added, 30 modified. Worth stating explicitly because promote diffs here are hard to eyeball: main and dev diverge through squash promotes, so git log main..dev reports 182 "commits" that are mostly replayed history, not new work. The file diff is the honest measure, and it matches exactly what landed on dev this cycle.

The two landing-page baselines are updated for both platforms (-chromium-darwin.png and -chromium-linux.png), per the paired-mint rule in CONTRIBUTING.

Why 1.4.0

Minor, not patch: six new installable components is new capability, and nothing existing breaks. npm's published latest was 1.3.1 and package.json matched it — the publish workflow exit-0s silently on a version that already exists, so a release cut from that line would have published nothing while reporting success. 1.4.0 is strictly above published latest.

Note that publishing is triggered by a GitHub Release, not by this merge. Merging this promotes the code; cutting the release is a separate deliberate step.

Verification

dev was verified at HEAD before this branch was cut: pnpm install --frozen-lockfile ✓, tsc --noEmit ✓, lint ✓, test:int 518 passed ✓, test:registry 73 items with reproducible artifacts ✓. Every constituent PR passed release-gate and all four fresh-payload-smoke shards.

Two things reviewers should expect

  • CodeQL may flag "Incomplete URL substring sanitization" at component-docs.int.spec.ts:25. It is a known false positive on promote PRs — test doc-linting over trusted local .mdx, not URL sanitization — surfaced by the size of the squash-divergence diff. The real Analyze job passes and main has no open alerts.
  • fresh-payload-smoke is currently flaky for reasons unrelated to any of this. It failed on three separate PRs this cycle, on three different shards, each passing on rerun with no code change. The trace roots in the scaffolded starter's own turbopack build, not this repo — that job installs its fixture's dependencies unpinned from npm at run time, so upstream drift reds a required check with no repo change. Worth pinning the fixture separately.

Merge with --squash --admin: this repo bans merge commits.

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 12 commits August 9, 2026 23:18
Patch for two bugs that shipped in 1.3.0 and made `init --scaffold` unusable:
the base renderer corrupted itself on the first `add` (both braces on one line,
so the patcher wrote entries above the declaration), and it stopped typechecking
the moment a block was installed into it.

npm's published `latest` is 1.3.0 and package.json matched it, so this bumps
strictly above what is actually published — the publish workflow exit-0s silently
on a version that already exists.

Patch, not minor: no command, flag, or output shape changed. The only behavioural
difference is that `init --scaffold` now stops when shadcn init leaves no
components.json instead of reporting success on a project that cannot install.

Co-authored-by: Claude Opus 5 <[email protected]>
…461)

v1.3.0 shipped a starter base that could not compile. Nothing caught it
because nothing could: `payload-components/source` is excluded from tsc and
this repo has no `payload` dependency, so no local gate ever looked at the
bytes being installed. The bugs surfaced only when the bare smoke scenario
was added — a seven-minute run needing network and a database.

Add an int spec that closes the fast half of that gap:

- parse every `.ts`/`.tsx` under `payload-components/source` (162 files,
  enumerated so new ones are covered on sight)
- apply real manifest fragments from two components to the shipped
  `RenderBlocks.tsx` and `Pages/index.ts`, then re-parse the result and
  assert the entries landed inside the structures they belong to
- typecheck the renderer with a populated block map, using a real TS
  program (React is its only import, so it resolves here)

Verified by reverting each fix in turn: the same-line-object patcher bug
fails the patch check, and the `never`-typed block lookup fails the
typecheck. Both reproduce in milliseconds instead of only in the smoke.

The bare smoke stays the full proof — it compiles inside a real Payload
app. This is the check that runs on every save.

Co-authored-by: Claude Opus 5 <[email protected]>
AGENTS.md described the directory submission as a to-do — fork, append the
entry, open the PR — but it merged upstream in shadcn-ui/ui#11006 on
2026-06-24 and the entry has been live in `apps/v4/registry/directory.json`
since. Anyone following the section would have opened a duplicate PR.

Record what is actually true, plus the two things that are not obvious from
the live entry:

- upstream stores the five fields verbatim, so it is a copy and not a feed;
  changing the homepage, description, or logomark needs another upstream PR
- the `logo` there is still the retired `P` mark. The logomark became two
  keyed blocks on 2026-07-31, after that PR merged, so the directory page
  shows a dead mark

Also settles the open question the section carried: `logo` is not required
by their schema, but all 267 entries have one, so it is required in practice.

Co-authored-by: Claude Opus 5 <[email protected]>
* feat(components): add the Footer family and three Stats variants

Ports the two largest tailark/blocks families we had not covered.

Stats already existed as a category with one variant (stats-proof), so this
adds three siblings rather than a new family: stats-grid (rule-topped number
grid), stats-card (divided equal-column panel), and stats-inline (value-leads-
the-sentence rows). stats-split was dropped from the plan — it would have
duplicated stats-proof's split-narrative layout.

Footer is a genuinely new category, placed last in the curated catalog order as
the chrome that closes a layout rather than fills it: footer-columns (brand plus
labelled link columns), footer-simple (compact brand/links row), and
footer-centered (centred stack with a legal-links rule).

Notes:
- Extracts shared/statsFields.ts and refactors StatsProof onto it (0.2.0 ->
  0.3.0), so the family shares one base per the variants model. Field shape and
  stored data are unchanged.
- Adds shared/footerUrls.ts: footers are almost entirely a link surface and
  React does not sanitize href, so link hrefs are restricted to same-origin
  paths, HTTPS, mailto:, and tel: in both the admin validator and at render.
- Link groups are labelled <nav> regions rather than headings, which avoids
  inventing an h2/h3 level a footer does not have.
- No social-icon variant: lucide v1 removed the brand marks.
- Footers are the first items with no shadcn UI dependency; they declare an
  explicit empty registryDependencies so the public-registry parity assert
  still matches.

Darwin visual baselines minted for the six new components; the landing
baselines move because the catalog teaser gains a Footer family card. Linux
baselines still need the visual-baselines workflow.

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

* test(chore): mint Linux visual baselines (components-visual frontend) (#454)

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

* test(components): pin the new catalog categories, tag the PROVENANCE fence

Two review findings from the footer/stats family add:

- catalogDescription gained "stats" and "footers", but the ordered regex in
  fumadocs-site.int.spec.ts did not require either, so removing one from the
  copy would not have failed the gate. Both are now pinned in order.
- The upstream-URL fence in PROVENANCE.md had no language identifier
  (markdownlint MD040).

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>
* fix(cli): make fragment anchor failures carry the repair

Closes #121.

When a consumer project's RenderBlocks.tsx or Pages/index.ts has drifted
from the shape the text patcher expects, the install stops and the user
has to finish the wiring by hand. The errors named the anchor and nothing
else, so doing that meant reading the CLI source to work out which file
was meant and what was supposed to go in it.

Both files' four failure paths now report the resolved host path, what
was missing, and the exact lines the install would have written. The path
comes from hostFiles rather than the canonical constant, so a non-starter
layout is told about its own file.

insertLineBeforeAnchor takes the enriched message as an optional
callback: localizeBlockConfigSource patches a file this CLI wrote itself,
where the bare anchor message is already precise, so it keeps it.

Regenerates the how-renderblocks-works blog figure, which embeds a live
11-line excerpt of applyRenderBlocksFragment as provenance evidence.

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

* fix(cli): do not tell the user to re-add an import they already have

Review caught the repair listing the block import unconditionally. When a
file already carries the import but its blockComponents object or layout
blocks list is unreadable, the message told the user to add it again, so
pasting the repair produced a duplicate import — in the one message whose
whole purpose is being safe to paste.

Presence is decided against the source as it exists on disk, not the
in-memory patched copy: nothing is written when a fragment fails, so an
import this run would have inserted is still absent for the user.

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

---------

Co-authored-by: Claude Opus 5 <[email protected]>
…470)

The route-overflow e2e test walked ~24 routes sequentially in one Playwright test, so one slow navigation could push the whole matrix over the per-test timeout even though each route passed alone; splitting it into one test per route (named by path) keeps every route covered while isolating failures and timeouts to the specific route.

Co-authored-by: Harshvardhan <[email protected]>
* docs: give new contributors a first-issue path and focused checks

Closes #100 and #101.

README pointed newcomers at CONTRIBUTING, the CoC, SECURITY, and the
roadmap, but nothing told them which open work was actually approachable.
Add label searches rather than issue numbers so the lists stay accurate
as issues land.

CONTRIBUTING told contributors to "run the focused checks that match your
change" and then listed all seven commands, which is the opposite of
focused. Add a table mapping the four common change types to the smallest
checks that still cover them, and keep the full list intact below it as
the broader suite. Every command named already exists in package.json; no
new scripts.

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

* docs: correct two focused-check rows that would push a red PR

Review of the table caught two rows prescribing checks that do not cover
their own change type.

The CLI row said `pnpm test:install`, which runs four specs — but more
than thirty int specs import tools/payload-components. The very next PR
in this series touched only project.ts and turned blog-visual-system,
fragment, and target-detection red, none of which test:install runs. A
contributor following that row would have gone green locally and red on
CI, which is the failure this table exists to prevent.

The Site UI row omitted test:int, but fumadocs-site.int.spec.ts imports
SiteFooter and asserts on its rendered output, and the catalog count pins
live there too.

Both now run test:int, with a note on why it appears three times and what
test:install is actually good for.

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

* docs: correct the test:int row count in the focused-checks table

`pnpm run test:int` appears in all four rows of the table, not three.
Replace the hedge with the actual figures: 32 of the 46 int specs import
the CLI, which is the reason the suite is unavoidable whatever you
touched.

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

---------

Co-authored-by: Claude Opus 5 <[email protected]>
The homepage is src/app/page.tsx, the same route segment as the root
layout, so the '%s | Payload Components' template never applies to it.
The homepage was therefore the one page on the site whose <title> never
said "Payload Components" — the exact page most likely to be the target
of that query.

Lead with the brand, keep the head term verbatim ("Payload CMS blocks"),
and keep the differentiator last, so the front of the string is what
survives SERP truncation.

Leaves homeMetadataDescription alone. The variant proposed alongside this
change opened with the same eleven words as siteDescription, which would
have made the homepage description a near-duplicate of the site-wide
fallback and dropped its leading imperative verb.

Co-authored-by: Chai Pin Zheng <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]>
Bumps the next-react group with 2 updates: [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) and [next](https://github.com/vercel/next.js).


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

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

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-version: 16.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: next-react
- dependency-name: next
  dependency-version: 16.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: next-react
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Combines the five Dependabot dev-dependency PRs (#465 landed separately;
this carries #466, #467, #468, #469) into a single lockfile regeneration:

  vite           8.2.0  -> 8.2.1
  fumadocs-core  16.14.0 -> 16.14.1
  fumadocs-mdx   15.2.1  -> 15.2.2
  fumadocs-ui    16.14.0 -> 16.14.1
  @types/react   19.2.17 -> 19.2.18
  shadcn         4.16.0  -> 4.16.2

Merging them one at a time would have conflicted each remaining PR on
pnpm-lock.yaml and forced four sequential Dependabot rebase-and-rerun
cycles. One regenerated lockfile costs one CI cycle instead.

Verified together: tsc --noEmit, lint, test:int (518 passed), and
test:registry (73 items, artifacts reproducible — the check that would
catch a shadcn output change).

Co-authored-by: Claude Opus 5 <[email protected]>
Minor, not patch: this line ships six new installable components — the
Footer family (columns, simple, centered) and three Stats variants (grid,
card, inline) — taking the catalog from 67 to 73. New capability, no
breaking change to any existing command, flag, or block.

npm's published `latest` is 1.3.1 and package.json matched it, so this
bumps strictly above what is actually published. The publish workflow
exit-0s silently on a version that already exists, which would have made
the release for this line a no-op.

Co-authored-by: Claude Opus 5 <[email protected]>
…CLI errors (v1.4.0)

Snapshot promote: this commit's tree is byte-identical to origin/dev.
Copilot AI lite review requested due to automatic review settings August 13, 2026 18:41
@vercel

vercel Bot commented Aug 13, 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 Aug 13, 2026 6:46pm
payload-components-97bf Ready Ready Preview Aug 13, 2026 6:46pm

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 Aug 13, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@Ducksss, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 46 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: fdf60c85-0606-4456-93f8-869c5dc53dbb

📥 Commits

Reviewing files that changed from the base of the PR and between e518f6b and cbf0d7f.

⛔ Files ignored due to path filters (18)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
  • public/blog/how-renderblocks-works/figure-01-renderer-dispatch.svg is excluded by !**/*.svg
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-footer-centered-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-footer-centered-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-footer-columns-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-footer-columns-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-footer-simple-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-footer-simple-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-stats-card-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-stats-card-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-stats-grid-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-stats-grid-chromium-linux.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-stats-inline-chromium-darwin.png is excluded by !**/*.png
  • tests/e2e/components-visual.e2e.spec.ts-snapshots/component-stats-inline-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 (58)
  • AGENTS.md
  • CONTRIBUTING.md
  • README.md
  • content/docs/components/footer-centered.mdx
  • content/docs/components/footer-columns.mdx
  • content/docs/components/footer-simple.mdx
  • content/docs/components/meta.json
  • content/docs/components/stats-card.mdx
  • content/docs/components/stats-grid.mdx
  • content/docs/components/stats-inline.mdx
  • content/docs/components/stats-proof.mdx
  • package.json
  • payload-components/PROVENANCE.md
  • payload-components/manifests/footer-centered.json
  • payload-components/manifests/footer-columns.json
  • payload-components/manifests/footer-simple.json
  • payload-components/manifests/stats-card.json
  • payload-components/manifests/stats-grid.json
  • payload-components/manifests/stats-inline.json
  • payload-components/manifests/stats-proof.json
  • payload-components/registry.json
  • payload-components/source/blocks/FooterCentered/Component.tsx
  • payload-components/source/blocks/FooterCentered/config.ts
  • payload-components/source/blocks/FooterColumns/Component.tsx
  • payload-components/source/blocks/FooterColumns/config.ts
  • payload-components/source/blocks/FooterSimple/Component.tsx
  • payload-components/source/blocks/FooterSimple/config.ts
  • payload-components/source/blocks/StatsCard/Component.tsx
  • payload-components/source/blocks/StatsCard/config.ts
  • payload-components/source/blocks/StatsGrid/Component.tsx
  • payload-components/source/blocks/StatsGrid/config.ts
  • payload-components/source/blocks/StatsInline/Component.tsx
  • payload-components/source/blocks/StatsInline/config.ts
  • payload-components/source/blocks/StatsProof/config.ts
  • payload-components/source/blocks/shared/footerFields.ts
  • payload-components/source/blocks/shared/footerUrls.ts
  • payload-components/source/blocks/shared/statsFields.ts
  • src/components/site/CatalogFamilyTeaser.tsx
  • src/components/site/demos/FooterCenteredDemo.tsx
  • src/components/site/demos/FooterColumnsDemo.tsx
  • src/components/site/demos/FooterSimpleDemo.tsx
  • src/components/site/demos/StatsCardDemo.tsx
  • src/components/site/demos/StatsGridDemo.tsx
  • src/components/site/demos/StatsInlineDemo.tsx
  • src/components/site/demos/registry.ts
  • src/lib/component-page-tree.tsx
  • src/lib/demo-content.ts
  • src/lib/site.ts
  • tests/e2e/frontend.e2e.spec.ts
  • tests/int/curated-tailark-ports.int.spec.ts
  • tests/int/fumadocs-site.int.spec.ts
  • tests/int/payload-components-assertions.ts
  • tests/int/payload-components-fragment.int.spec.ts
  • tests/int/payload-components-source-compiles.int.spec.ts
  • tests/int/payload-components-target-detection.int.spec.ts
  • tests/int/payload-components.int.spec.ts
  • tools/payload-components/cli.ts
  • tools/payload-components/project.ts

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
Ducksss merged commit d5c2df4 into main Aug 15, 2026
15 checks passed
@Ducksss
Ducksss deleted the release/promote-v1.4.0 branch August 15, 2026 15:53
Ducksss added a commit that referenced this pull request Aug 15, 2026
GitHub fires a closing keyword only when the commit carrying it lands on
the default branch. Feature work here is squashed onto dev and squashed
again on promote, so a "Closes #123" written on a feature PR never
reaches main — the issue stays open with no signal that anything went
wrong.

v1.4.0 demonstrated both halves: #473 wrote "(closes #108)" in its table
and #108 closed on merge, while #100, #101, and #121 shipped in the same
release without a keyword on the promote and had to be closed by hand.

Document the promote body as the one place a keyword works.

Co-authored-by: Claude Opus 5 <[email protected]>
Ducksss added a commit that referenced this pull request Aug 30, 2026
* ci: require closing keywords in a promote PR body

#475 documented that closing keywords belong in the promote body, because a
keyword on a feature PR is squashed away before it reaches main and never
fires. Nothing enforced it, so a cycle could leak resolved issues the way
v1.4.0 did.

A `base: main` PR whose body carries neither a closing keyword nor the line
"No issues closed this cycle." now fails.

Its own workflow rather than a job in Registry Verification, because it has to
re-run on `edited`: a maintainer adding keywords in response to a red check
must be able to turn it green without pushing a commit. Adding `edited` to
Registry Verification's trigger would re-run the full release gate, including
four ~90-minute fresh-consumer shards, on every description tweak.

The body reaches the script through the environment, never interpolated into
`run:` — a PR description is untrusted input and would otherwise be a shell
injection vector. Plain bash, so the ref-exact Actions allowlist needs no new
entry, and no checkout or extra permissions.

Accepts either a keyword or the opt-out line, so a pure dependency-bump
promote is not forced to claim it closed something. The matcher is permissive
about separators and accepts #123, owner/repo#123, and full issue URLs; a bare
"#452" in a table row does not count.

This checks presence, not completeness — verified against #473's real body,
which passes on its one `closes #108` while three issues from that cycle
leaked. Enumerating what a promote *should* close is the follow-up the issue
describes.

Making it block also needs the check added to main's branch protection.

Closes #477

* read the body to EOF in every grep — -q SIGPIPEs printf on large matching bodies

CodeRabbit flagged the matched-capture line (head -c inside the pipeline);
verifying that locally surfaced the same defect one step earlier: grep -Eiq
exits at the first match, printf takes SIGPIPE writing the rest, and under
pipefail the whole condition reads false — so an oversized body WITH a valid
keyword would fail the check. GitHub caps bodies at 65536 characters, which
multibyte text pushes past the 64KiB pipe buffer, so this is reachable.

Both greps now consume the body to EOF (-o for capture, -c for the opt-out
count) with truncation applied after capture, outside the pipeline. Also
scoped the AGENTS.md sentence per review: commit messages landing on main
also fire keywords; the promote body is the reviewable place.

Verified against the full 13-case matrix from the PR body plus three
oversized-body cases (matching, non-matching, early match + padding):
16/16. YAML parses; prettier clean.

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

---------

Co-authored-by: Claude Fable 5 <[email protected]>

This branch was successfully deployed

2 active deployments
Preview – payload-components — cbf0d7f8 Deployed Aug 13, 2026 by vercel[bot]
Preview – payload-components-97bf — cbf0d7f8 Deployed Aug 13, 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.

tests: split the route overflow e2e matrix to avoid suite-level timeout flakes

3 participants