Repository navigation
config(chore): promote dev to main — privacy refinements, security advisories, SEO docs - #437
Conversation
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]>
Lands @highoncomputers' #173 onto dev. Resolves #138. Co-authored-by: highoncomputers <[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]>
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 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 `@content/docs/contributing.mdx`:
- Around line 91-105: Update content/docs/contributing.mdx lines 91-105 to
document verification_run as a conditional PostHog field for controlled
copy_install_command and primary_link_click events, and revise provenance to
include browser URL/referrer context for the marker and organic classification.
Update src/app/privacy/page.tsx line 64 so the action-event rows and disclosure
match this conditional field. Update tests/int/analytics-contract.int.spec.ts
lines 11-19 to assert the final PostHog payload separately from base trackEvent
properties, requiring verification_run without rejecting the current call
structure.
In `@content/docs/payload-blocks.mdx`:
- Line 8: The payload-blocks documentation at content/docs/payload-blocks.mdx
line 8 must state that generate:importmap is required only when a block adds or
changes a custom admin component path. Update the corresponding assertion in
tests/int/fumadocs-site.int.spec.ts line 267 to match this conditional wording.
In `@src/components/site/Logomark.tsx`:
- Around line 3-15: Update the overlap documentation in the Logomark component
comment and the corresponding brand-guide content to match the SVG geometry:
8.4-unit squares overlapping by 2.4 units, approximately 28.6% of each square’s
width. Do not change the synchronized mark geometry unless the intended design
requirement is explicitly a quarter-width overlap.
🪄 Autofix
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: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 89cc19e4-33c7-472a-80c8-d33c758ebee1
⛔ Files ignored due to path filters (15)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yamlpublic/favicon.icois excluded by!**/*.icopublic/favicon.svgis excluded by!**/*.svgtests/e2e/blog-visual.e2e.spec.ts-snapshots/blog-article-desktop-chromium-darwin.pngis excluded by!**/*.pngtests/e2e/blog-visual.e2e.spec.ts-snapshots/blog-article-desktop-chromium-linux.pngis excluded by!**/*.pngtests/e2e/blog-visual.e2e.spec.ts-snapshots/blog-article-mobile-chromium-darwin.pngis excluded by!**/*.pngtests/e2e/blog-visual.e2e.spec.ts-snapshots/blog-article-mobile-chromium-linux.pngis excluded by!**/*.pngtests/e2e/blog-visual.e2e.spec.ts-snapshots/blog-index-desktop-chromium-darwin.pngis excluded by!**/*.pngtests/e2e/blog-visual.e2e.spec.ts-snapshots/blog-index-desktop-chromium-linux.pngis excluded by!**/*.pngtests/e2e/blog-visual.e2e.spec.ts-snapshots/blog-index-mobile-chromium-darwin.pngis excluded by!**/*.pngtests/e2e/blog-visual.e2e.spec.ts-snapshots/blog-index-mobile-chromium-linux.pngis excluded by!**/*.pngtests/e2e/frontend.e2e.spec.ts-snapshots/landing-home-desktop-chromium-darwin.pngis excluded by!**/*.pngtests/e2e/frontend.e2e.spec.ts-snapshots/landing-home-desktop-chromium-linux.pngis excluded by!**/*.pngtests/e2e/frontend.e2e.spec.ts-snapshots/landing-home-mobile-chromium-darwin.pngis excluded by!**/*.pngtests/e2e/frontend.e2e.spec.ts-snapshots/landing-home-mobile-chromium-linux.pngis excluded by!**/*.png
📒 Files selected for processing (28)
.imgbotconfigREADME.mdcontent/blog/contribute-payload-component.mdxcontent/blog/manifest-wiring-contract.mdxcontent/blog/reproducible-shadcn-registry.mdxcontent/blog/shadcn-registry-for-payload-cms.mdxcontent/docs/contributing.mdxcontent/docs/installation.mdxcontent/docs/meta.jsoncontent/docs/payload-blocks.mdxcontent/docs/payload-generate-importmap.mdxpackage.jsonsrc/app/brand-guide/page.tsxsrc/app/opengraph-image.tsxsrc/app/privacy/page.tsxsrc/app/templates/[slug]/opengraph-image.tsxsrc/app/templates/opengraph-image.tsxsrc/components/site/ConsentBanner.tsxsrc/components/site/Logomark.tsxsrc/components/site/demos/DemoFitFrame.tsxsrc/components/site/graphics/ComponentWall.tsxsrc/lib/analytics.tssrc/lib/consent.tstests/e2e/frontend.e2e.spec.tstests/int/analytics-contract.int.spec.tstests/int/fumadocs-site.int.spec.tstests/int/painted-contrast.int.spec.tstests/int/visual-standards.int.spec.ts
| --- | ||
|
|
||
| A reusable Payload CMS block becomes live through one chain: define its `Block` config, register it in a collection, generate its type, map its slug to a frontend component, refresh the admin import map, then add the block to a page. Miss one handoff and the block is either absent from the editor, untyped, or invisible on the frontend. | ||
| Payload CMS blocks in v3 become live through one chain: define the `Block` config, register it in a collection, generate its type, map its slug to a frontend component, refresh the admin import map, then add the block to a page. Miss one handoff and the block is absent from the editor, untyped, or invisible on the frontend. |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Make import-map regeneration conditional.
A block without a custom admin component path does not add an import-map entry. The new import-map reference already states this condition.
content/docs/payload-blocks.mdx#L8-L8: State thatgenerate:importmapis required only when the block adds or changes a custom admin component path.tests/int/fumadocs-site.int.spec.ts#L267-L267: Update the assertion to match the conditional statement.
📍 Affects 2 files
content/docs/payload-blocks.mdx#L8-L8(this comment)tests/int/fumadocs-site.int.spec.ts#L267-L267
🤖 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 `@content/docs/payload-blocks.mdx` at line 8, The payload-blocks documentation
at content/docs/payload-blocks.mdx line 8 must state that generate:importmap is
required only when a block adds or changes a custom admin component path. Update
the corresponding assertion in tests/int/fumadocs-site.int.spec.ts line 267 to
match this conditional wording.
| /* The brand mark: two blocks keyed together on the diagonal, drawn as geometry | ||
| (not a font glyph) so it renders identically in the header, the favicon, and | ||
| the OG image. Two equal squares overlapping by a quarter of their width — | ||
| they read as separate blocks that have been fitted into one shape, which is | ||
| the whole product: blocks that arrive already wired, not pasted. The union | ||
| is deliberate; there is no seam to lose at 16px, so the silhouette survives | ||
| a browser tab. Emerald square with a `--brand-foreground` glyph via | ||
| currentColor — never recolored or gradiented. Decorative: the wordmark text | ||
| carries the accessible name, so this is aria-hidden. Five copies of this | ||
| geometry must stay in sync: public/favicon.svg, public/favicon.ico (three | ||
| BMP entries, regenerated from the SVG), and the inline MARK_SVG in | ||
| src/app/opengraph-image.tsx, src/app/templates/opengraph-image.tsx, and | ||
| src/app/templates/[slug]/opengraph-image.tsx. */ |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Align the overlap description with the SVG geometry.
Each square is 8.4 units wide. The overlap is 2.4 units, or about 28.6% of the width. This conflicts with the quarter-width claim here and in src/app/brand-guide/page.tsx.
If a quarter-width overlap is required, update all synchronized mark copies. Otherwise, revise the documentation to describe the current geometry accurately.
Also applies to: 26-27
🤖 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/Logomark.tsx` around lines 3 - 15, Update the overlap
documentation in the Logomark component comment and the corresponding
brand-guide content to match the SVG geometry: 8.4-unit squares overlapping by
2.4 units, approximately 28.6% of each square’s width. Do not change the
synchronized mark geometry unless the intended design requirement is explicitly
a quarter-width overlap.
…ory with 3 updates (#432) Bumps the documentation-tooling group with 3 updates in the / directory: [fumadocs-core](https://github.com/fuma-nama/fumadocs), [fumadocs-mdx](https://github.com/fuma-nama/fumadocs) and [fumadocs-ui](https://github.com/fuma-nama/fumadocs). Updates `fumadocs-core` from 16.13.0 to 16.14.0 - [Release notes](https://github.com/fuma-nama/fumadocs/releases) - [Commits](https://github.com/fuma-nama/fumadocs/compare/[email protected]@16.14.0) Updates `fumadocs-mdx` from 15.2.0 to 15.2.1 - [Release notes](https://github.com/fuma-nama/fumadocs/releases) - [Commits](https://github.com/fuma-nama/fumadocs/compare/[email protected]@15.2.1) Updates `fumadocs-ui` from 16.13.0 to 16.14.0 - [Release notes](https://github.com/fuma-nama/fumadocs/releases) - [Commits](https://github.com/fuma-nama/fumadocs/compare/[email protected]@16.14.0) --- updated-dependencies: - dependency-name: fumadocs-core dependency-version: 16.14.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: documentation-tooling - dependency-name: fumadocs-mdx dependency-version: 15.2.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: documentation-tooling - dependency-name: fumadocs-ui dependency-version: 16.14.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: documentation-tooling ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
b47f092 to
6996bbd
Compare
|
Refreshed the snapshot. #431 and #432 (test-tooling and documentation-tooling dependency groups) landed on Re-verified after the force-push: tree hash equals Worth noting as a standing caveat: this shape goes stale the moment anything merges to |
* seo(catalog): sharpen search metadata Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com> * seo(catalog): answer the Payload Components query Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com> --------- Co-authored-by: Ducksss <[email protected]> Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
Co-authored-by: Ducksss <[email protected]> Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
* docs(seo): answer Payload CMS CLI searches Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com> * test(seo): align installation page title Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com> * test(seo): align installation GEO assertions Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com> --------- Co-authored-by: Ducksss <[email protected]> Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
6996bbd to
3079190
Compare
|
Refreshed again. #422, #438, and #440 landed on Re-verified: tree hash equals Also worth folding into the description: the new |
ReviewReviewed the full 48-file delta rather than the 165-commit log, since the two-dot delta is what merging applies. One finding worth acting on before merge; everything else is clean.
|
#441) A new high advisory covers fast-uri < 3.1.5, and the override pinned exactly 3.1.4 — so the pin that once fixed this package is now what holds it on a vulnerable version. Repin to 3.1.5. This is the recurring failure mode with every exact-version override here: it is correct on the day it lands and silently goes stale as the advisory widens. The lockfile now resolves a single fast-uri 3.1.5 with no 3.1.4 left. Audited the rest of the block at the same time — esbuild, postcss, ws, vite, js-yaml, sharp, brace-expansion, and @babel/core all resolve at or above their pins with no open advisory against them. Verified: format:check, tsc, lint clean; 381 int tests passing. Co-authored-by: Claude Opus 5 <[email protected]>
…visories, SEO docs Promotes dev to main. Tree is identical to origin/dev; the two parents record that this supersedes both sides, which clears the squash-divergence conflicts a direct dev->main PR reports. Refreshed to include #441, which repins the fast-uri override off a now-vulnerable exact version. With it, this promote closes every open advisory rather than leaving a known high behind.
3079190 to
a008de3
Compare
|
Refreshed to include #441 ( Re-verified: tree hash equals One thing to know about #441's CI, because this PR's I verified |
…ble pins (#444) * security(deps): unstick the js-yaml and postcss overrides off vulnerable pins Both pins had gone stale the same way fast-uri did in #441: the override version that was patched when it was written now sits inside the advisory's widened range, so the pin was holding the tree ON a known vulnerable version rather than off one. js-yaml pin 4.3.0 GHSA-5p4m-2wfm-xmqj (high) >= 4.0.0, < 4.3.1 postcss pin 8.5.18 GHSA-fxqj-rqcc-2cmp (medium) <= 8.5.22 Bumps js-yaml to 4.3.1 and postcss to 8.5.23, and widens the js-yaml range key from <4.3.0 to <4.3.1 so the override still covers everything the advisory does. Both surfaced on main the moment #437 promoted, because Dependabot only reports against the default branch. They will not close until this reaches main in turn. Verified: lint, format:check, source:build, tsc --noEmit clean, and 381 int tests passing. Co-Authored-By: Claude Opus 5 <[email protected]> * security(deps): bump the postcss devDependency alongside the override #443 caught something this branch missed. postcss is declared TWICE — as a direct devDependency and as a pnpm override — and the original commit only moved the override. Dependabot raised GHSA-fxqj-rqcc-2cmp against both manifest paths for exactly that reason: one alert on pnpm-lock.yaml (the resolution) and a second on package.json (the declared devDependency range). The override already forced the tree to 8.5.23, so nothing was actually resolving vulnerable — but the declaration was still an exact pin on 8.5.18, and the package.json alert tracks the declaration. Also merges origin/dev, which has moved to 1.3.0 (#442, #447, #448, #449) since this branch was cut. Verified against current dev: lint, format:check, source:build, tsc --noEmit, test:registry all clean, and 505 int tests passing. pnpm install --frozen-lockfile passes, so the lockfile and manifest agree the way CI checks them. Co-Authored-By: Claude Opus 5 <[email protected]> --------- Co-authored-by: Claude Opus 5 <[email protected]>
Promotes
devtomain. Tree is byte-identical toorigin/dev.Scope note first, because the commit count is misleading. This branch carries 161 commits, but the real change against
mainis 43 files, only 2 of them new. Most of those 161 commits already reachedmainvia earlier promotes — the consent gate,/privacy, and the blog library are all live today. Themain...devthree-dot diff reports 665 files; that counts everything changed ondevsince the common ancestor, including filesmainalready has. The two-dot delta, which is what merging actually applies, is 43.So this is a refinement release, not a month-of-work release.
Why the branch is shaped this way
A direct
dev → mainPR reportsCONFLICTINGacross ~20 files. Those are squash-divergence artifacts — both branches hold the same content reached via different squash commits.git merge-treeconfirms a real conflict record rather than the usual cosmetic flag, so this resolves it the way previous promotes have: a commit whose tree isorigin/dev's, with bothmainanddevas parents.Verified before opening: the tree hash equals
origin/dev^{tree}, andgit diff <branch> origin/devis empty. Merging makesmainexactlydev— nothing dropped, nothing frommainresurrected.What actually changes
Privacy refinements (
consent.ts+17,analytics.ts+87,ConsentBanner.tsx+5)The gate itself is already live on
main. These close the remaining gaps:mainuseslabels.slice(-2), which sendswww.example.co.uktoco.ukand neverexample.co.uk, leaving a_gacookie alive after withdrawal. Now every parent domain is enumerated. Latent on your host —slice(-2)already yields the correct domain forwww.payload-components.xyz, so this only ever bit multi-label public suffixes.traffic_sourceas a strictorganic_search/otherenum, derived client-side from a fixed search-host list. Raw referrers, campaigns, and query strings are never sent, with a test asserting campaign text is absent from the payload.verification_runmarker on the two action events, opt-in per call site. Deliberately documented in-source as untrustworthy: the query is caller-controlled, so any visitor can set it.Security
ip-addressadvisories clear.mainis on 10.2.0 (vulnerable, patched at 10.2.1/10.2.2);devis on 10.4.0. They only still show open because Dependabot alerts track the default branch.shadcn4.15.0 → 4.16.0,vite8.1.5 → 8.2.0,@playwright/test1.62.1,motion12.43.0,@types/react-dom19.2.4.Content
content/docs/payload-generate-importmap.mdx— a command reference forpayload generate:importmap, added as its own page so the existing narrative article stays intact.contributing.mdxdocuments the two consent tiers and the rule for adding a provider: the test is not whether the data feels sensitive, it is whether it writes to the device.Brand and assets
Logomark,
favicon.svg/.ico, the OG image routes, and the brand guide. Plus.imgbotconfig, which scopes ImgBot away from hand-authored art and visual baselines — the config gap behind the stale ImgBot PR closed as #390.Baselines
Eight re-minted snapshots (blog index/article and landing, darwin + linux) reflecting the footer and logomark changes.
Verification
Run locally against this exact tree:
format:check,tsc, andlintall clean;test:int380 passing, 1 skipped.Some install specs time out under parallel load on this machine — four failed on one run, a different one on the next, each passing in isolation (29/29, 17/17). They shell out to
shadcnandpayload. Not regressions: CI passed all fourfresh-payload-smokeshards on the shadcn 4.16.0 bump, which is the check that proves the CLI still installs into a clean Payload repo.After merging
Confirm the production deploy actually ran. Vercel hit build rate limits repeatedly during this work, and its failure mode is that
mainlands correct while the live site keeps serving the previous build.Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Style