Skip to content

[ImgBot] Optimize images - #390

Closed
imgbot[bot] wants to merge 35 commits into
mainfrom
imgbot
Closed

imgbot[bot] wants to merge 35 commits into
mainfrom
imgbot

Conversation

@imgbot

@imgbot imgbot Bot commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Beep boop. Your images are optimized!

Your image file size has been reduced by 22% 🎉

Details
File Before After Percent reduction
/public/blog/copying-is-not-installing/figure-01-copy-vs-install.svg 8.65kb 6.36kb 26.52%
/public/blog/shadcn-registry-for-payload-cms/figure-01-registry-delivery.svg 8.74kb 6.44kb 26.31%
/public/blog/build-saas-homepage/figure-01-page-blueprint.svg 9.36kb 6.99kb 25.28%
/public/blog/payload-components-doctor/figure-01-doctor-report.svg 8.20kb 6.15kb 25.03%
/public/blog/idempotent-code-installer/figure-01-convergence-state.svg 10.88kb 8.25kb 24.25%
/public/blog/motion-without-performance-cost/figure-01-motion-timeline.svg 10.40kb 7.94kb 23.67%
/public/blog/demo-twins/figure-01-architecture-mirror.svg 10.57kb 8.08kb 23.57%
/public/blog/how-renderblocks-works/figure-01-renderer-dispatch.svg 11.05kb 8.45kb 23.54%
/public/blog/shared-fields-across-component-families/figure-01-shared-fields.svg 9.96kb 7.63kb 23.40%
/public/blog/text-anchors-vs-ast/figure-01-scoped-diff.svg 9.54kb 7.33kb 23.18%
/public/blog/payload-types-and-import-map/figure-01-generation-pipelines.svg 10.96kb 8.45kb 22.92%
/public/blog/hello/figure-01-origin-story.svg 9.77kb 7.53kb 22.89%
/public/blog/component-variants-without-prop-explosion/figure-01-family-vs-matrix.svg 10.54kb 8.17kb 22.49%
/public/blog/build-payload-blog-frontend/figure-01-editorial-architecture.svg 11.12kb 8.63kb 22.43%
/public/blog/accessible-faq-blocks/figure-01-faq-anatomy.svg 12.04kb 9.35kb 22.34%
/public/blog/production-ready-payload-block-config/figure-01-config-anatomy.svg 10.05kb 7.84kb 22.02%
/public/blog/visual-regression-component-registry/figure-01-regression-pipeline.svg 12.36kb 9.64kb 22.02%
/public/blog/type-safe-block-rendering/figure-01-type-safe-rendering.svg 10.54kb 8.28kb 21.51%
/public/blog/payload-block-not-rendering/figure-01-debug-tree.svg 13.90kb 10.94kb 21.30%
/public/blog/reproducible-shadcn-registry/figure-01-deterministic-build.svg 12.41kb 9.78kb 21.17%
/public/blog/what-is-a-payload-cms-block/figure-01-block-lifecycle.svg 12.95kb 10.22kb 21.12%
/public/blog/manifest-wiring-contract/figure-01-manifest-layers.svg 11.36kb 8.96kb 21.05%
/public/blog/open-source-provenance/figure-01-provenance-chain.svg 10.48kb 8.27kb 21.03%
/public/blog/anatomy-of-an-install/figure-01-five-stage-pipeline.svg 13.20kb 10.51kb 20.40%
/public/blog/contribute-payload-component/figure-01-contribution-workflow.svg 11.90kb 9.49kb 20.21%
/public/blog/safe-links-forms-embeds/figure-01-trust-boundary.svg 13.02kb 10.64kb 18.27%
/public/favicon.svg 0.33kb 0.33kb 0.29%
Total : 284.29kb 220.65kb 22.39%

📝 docs | :octocat: repo | 🙋🏾 issues | 🏪 marketplace

~Imgbot - Part of Optimole family

@imgbot
imgbot Bot requested a review from Ducksss as a code owner July 27, 2026 17:41
@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

Deployment failed with the following error:

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

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

@vercel

vercel Bot commented Jul 29, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
payload-components Error Error Jul 29, 2026 11:50am
payload-components-97bf Error Error Jul 29, 2026 11:50am

Ducksss and others added 24 commits July 29, 2026 11:50
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]>
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
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]>
)

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]>
…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]>
…#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>
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]>
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>
… install-boundary section, full-width FAQ (#207)

* frontend(feat): graphics-forward landing redesign — node maps, merged install-boundary section, full-width FAQ

Replace the word-heavy landing with a graphics-led narrative:
- New graphics/ primitives: WiringNodeMap (unwired/wired/boundary states,
  reads wiringLedger.rows) and PreviewSurface (framed live demo-twin).
- Merge the duplicate Tax + Wiring beats into one "install boundary" section
  ("A block isn't live until it's wired.") with a single boundary node map +
  the shadcn-vs-payload-components ledger; delete TaxSection.
- Clarify the hero install replay: clean terminal copy, relabeled output
  ("The block, rendered" / "Files the install wrote"), remove arbitrary traces.
- StackBand → support-matrix pill row; Workflow → vertical timeline + live
  feature-split preview; FAQ → full width with readable answer measure +
  dogfood caption; Community decluttered (releases moved to footer).
- Cut word-heavy copy in site.ts; add .wire-draw-scroll util (reduced-motion
  safe). Regenerate darwin landing baselines (linux via CI visual-baselines).

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

* test(chore): mint darwin landing baselines for the redesign

The landing layout changed (merged install-boundary section, full-width FAQ,
workflow timeline). Regenerate the darwin landing-home snapshots so local macOS
runs compare cleanly; linux baselines are minted by the visual-baselines CI
workflow.

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

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ro-interactions (#211)

- HeroInstallReplay: auto-replay the install choreography when the frame
  re-enters the viewport (IntersectionObserver). Plays once on load, replays
  on a fresh re-entry, idle while sitting still or off-screen, and disabled
  under prefers-reduced-motion — a perf-safe "product loop", not an always-on
  hero animation.
- Add a .hover-lift utility (transform + shadow, transition only) and apply it
  to the framed preview surface and the maintainer-note card for tactile
  micro-interactions.

Layers on top of the existing scroll-reveal + wire-draw scroll animations.
No visual-baseline change: every effect is hover-only or reduced-motion-off,
so the reduced-motion snapshots are untouched.

Co-authored-by: Claude Opus 4.8 <[email protected]>
* seo: improve homepage search snippets

* test: align homepage route title expectation

* seo: keep brand homepage title, complete OG/Twitter card

Next does not inherit nested openGraph/twitter fields across route
segments, so the new page-level metadata override silently dropped
og:type, og:site_name, og:locale and twitter:card that the homepage
previously inherited from the root layout. Re-declare them (matching
every sibling page) so the homepage keeps its large-image Twitter card
and complete Open Graph metadata.

Keep the homepage <title> on the established brand string
"Payload Components — fully-wired blocks for Payload CMS".

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

---------

Co-authored-by: Ducksss <[email protected]>
Co-authored-by: Chai Pin Zheng <[email protected]>
Co-authored-by: Claude Opus 4.8 <[email protected]>
A Get Started page bridging install → admin → live: shows the block already in the Payload admin picker after `add`, with captured admin screenshots (picker + fields) and the live component preview. Also prints a post-install "next steps" hint in the CLI pointing to the admin and the walkthrough.

Co-authored-by: Claude Opus 4.8 <[email protected]>
tin-computer Bot and others added 11 commits July 29, 2026 11:50
* site: derive installable and upcoming component counts from catalog data (#131)

Instead of hard-coding '58 installable' and '8 in development' in site copy,
compute the counts from componentEntries and upcomingComponents. The derived
values sit right after the arrays so they can never drift from what the
catalog actually ships.

- Add installablePageCount and upcomingPostCount exports
- componentsIntro now uses a template literal with derived counts
- componentFamilies.pages.countLabel and .posts.countLabel derive from data
- about page intro uses the derived counts instead of hard-coded text
- Existing fumadocs-site.int.spec.ts already asserts against derived values

Closes #131

* test: align catalog count assertions

* feat(site): link upcoming components to request issues

* test: tolerate homepage snapshot renderer drift

* site: keep dev's short catalog intro while deriving the count

#202 carried #200's older base, which reverted dev's deliberately
shortened componentsIntro to the verbose "no skeletons … full
contract" form. Restore dev's short sentence and keep the derived
${installablePageCount} count (the point of the contribution).

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

* test: refresh catalog carry-over homepage baselines

---------

Co-authored-by: highoncomputers <[email protected]>
Co-authored-by: Ducksss <[email protected]>
Co-authored-by: sanmaxdev <[email protected]>
Co-authored-by: Chai Pin Zheng <[email protected]>
Co-authored-by: Claude Opus 4.8 <[email protected]>
…dary (#241)

Progressively enhance the static WiringNodeMap into an interactive
@xyflow/react graph on motion-enabled desktop: flowing emerald edges,
draggable nodes, hover-to-trace-file spotlight, click-to-pin, CSS-3D tilt,
and a staggered scroll-in reveal. SSR, mobile, and reduced-motion keep the
static map, so crawlers, the geo/llms contract, the axe a11y gate, and the
visual baselines are all unchanged.

- New WiringFlow (motion-gated enhancer, lazy ssr:false), WiringFlowCanvas
  (the graph; pane is aria-hidden with an sr-only content mirror,
  node/edge focus disabled), and wiring-nodes (cards shared with the static
  map so both render identically).
- @xyflow/react added as a devDependency (Next bundles it at build; the
  published CLI still ships only ajv+semver).

Co-authored-by: Claude Opus 4.8 <[email protected]>
…nance ledger (#248)

Re-implemented blocks derived from tailark/blocks (MIT) now carry consistent
attribution, and a new payload-components/PROVENANCE.md records the upstream
item + pinned SHA per derived component after a full drift audit.

- testimonials (6) + pricing (5): source comment + docs footer made consistent
- newly verified derivations attributed: call-to-action-boxed, comparator-grid,
  comparator-table, team-roster
- README acknowledges tailark/blocks; contributing.mdx documents the convention
- audited vs upstream 8eadeb3 — re-implementations, not copies; nothing removed
  or renamed upstream, so no code drift to follow

Co-authored-by: Claude Opus 4.8 <[email protected]>
* ci(fix): make release gates exhaustive and bounded

Summary:
- Lint installable source and run E2E against a production build.
- Shard fresh consumer smoke across every registry-backed component.
- Bound subprocesses and guard package publishing from release to npm.

Rationale:
- Remove silent coverage gaps and network-sensitive default tests.
- Reject untrusted tags, non-main commits, and incomplete release gates.

Tests:
- E2E_PORT=3192 pnpm test:release
- pnpm test:pack
- pnpm install --frozen-lockfile

* ci(security): validate release tags before checkout

Summary:
- Run the publish guard from protected main before candidate checkout.
- Read candidate versions from tag objects and verify peeled ancestry.
- Pin the trusted workflow order with real Git-backed test coverage.

Rationale:
- Prevent off-main tags from replacing the guard or running lifecycle code.

Tests:
- release-gate.int.spec.ts (8 passed)
- pnpm lint
- pnpm exec tsc --noEmit
- package-publish.yml YAML parse

* backend(fix): harden component install verification

Summary:
- retain exact Bun lockfile identity in project recovery metadata
- share manifest and registry dependency plans across add and doctor
- repair missing UI dependencies and verify anchored Payload fragments

Rationale:
- prevent healthy state from masking deleted shadcn UI dependencies
- reject commented or unrelated fragment matches during recovery
- preserve idempotent installs without changing public or state schemas

Tests:
- pnpm lint
- pnpm exec tsc --noEmit
- pnpm run test:int
- pnpm build:cli
- pnpm test:pack

* frontend(fix): repair responsive component previews

* frontend(fix): complete responsive preview coverage

* frontend(test): cover responsive component visuals

* frontend(test): strengthen responsive assertions

* frontend(test): prove mobile wiring wrapping

* fullstack(fix): align site metadata and product copy

Add shared blog metadata and sitemap coverage, defer catalog query updates, and align documentation and catalog copy with the actual install pipeline.

* fullstack(fix): centralize site version and pipeline data

* fullstack(test): prove product consistency contracts

Add focused contracts for blog metadata, catalog search behavior, and registry copy. Bind catalog input to local state and remove stale sample-content wording.

* fullstack(test): complete product contract coverage

* fullstack(test): verify catalog search behavior

* fullstack(fix): stabilize catalog search synchronization

* fullstack(fix): remove stale catalog counts

* fullstack(chore): remove stale count exports

* chore: remove internal review artifact

* fix(test): close final release gate regressions

* fix(test): stabilize final release assertions

* fix(build): make package metadata import runtime-safe

* fix(test): stabilize responsive release checks

* fix(test): prove responsive release readiness

* fix(preview): guarantee iframe height synchronization

* fix(preview): recover missed iframe load synchronization

* test(visual): update comparator card baselines

* test(visual): refresh landing reduced-motion baselines

* backend(fix): support nested payload layout blocks

Recognize the current Payload website template's layout field while keeping admin block arrays out of fragment verification. This keeps fresh consumer installs compatible without weakening the anchor boundary.\n\nTests: pnpm exec vitest run --config ./vitest.config.mts tests/int/payload-components-fragment.int.spec.ts

* backend(fix): detect current payload layout field

Inspect the unmasked type literal when distinguishing the real blocks field from admin configuration. This keeps comment-aware matching while supporting the current Payload starter shape.\n\nTests: pnpm exec vitest run --config ./vitest.config.mts tests/int/payload-components-fragment.int.spec.ts

* backend(fix): support generic Pages collection configs

Match Payload's typed Pages collection declaration when locating the layout field, preserving the existing anchor-scoped fragment checks.\n\nTests: pnpm exec vitest run --config ./vitest.config.mts tests/int/payload-components-fragment.int.spec.ts

* backend(fix): bound pricing block database names

Give pricing plan arrays stable short database names so the full registry consumer can initialize Payload without exceeding PostgreSQL's identifier limit.\n\nTests: fragment integration suite passed; fresh consumer build exposed and verified the remaining identifier boundary.

* ci(fix): close pre-merge gate regressions

Summary:
- accept pnpm argument separators in the fresh-smoke shard runner
- provision Bun wherever Bun lockfile integration tests execute
- preserve in-progress catalog queries across filter updates
- source hero component version copy from its manifest

Rationale:
- restore required GitHub checks without weakening their coverage
- prevent filter races and public component-version drift

Tests:
- pnpm lint
- pnpm source:build
- pnpm exec tsc --noEmit
- pnpm run test:int (111 passed, 1 skipped)
- focused catalog Playwright regression (1 passed)

* ci(fix): install bun within allowed action policy

Summary:
- install a pinned Bun CLI from npm in verification and publish jobs
- avoid an unapproved third-party setup action

Rationale:
- keep Bun lockfile integration coverage compatible with repository policy
- prevent workflow startup failures before required jobs execute

Tests:
- release-gate and fresh-smoke integration tests (15 passed)
- workflow YAML parse
- git diff --check

* ci(fix): isolate smoke registry environment

Summary:
- keep the smoke registry override out of shadcn's REGISTRY_URL variable
- assert the four-shard and Bun gate environment in integration tests

Rationale:
- prevent an empty workflow input from corrupting shadcn dependency URLs
- keep local registry smoke deterministic on GitHub runners

Tests:
- release-gate integration tests (8 passed)
- workflow YAML parse
- git diff --check

* ci(fix): pack before consumer scaffolding

Summary:
- build the local package tarball before create-payload-app runs

Rationale:
- prevent nested pnpm scaffolding from corrupting root executable shims
- keep every smoke shard testing the same deterministic artifact

Tests:
- release-gate and fresh-smoke integration tests (15 passed)
- pnpm lint
- pnpm exec tsc --noEmit
- git diff --check

* ci(fix): pack before external smoke tooling

Summary:
- build the local package tarball before direct shadcn and Payload tooling
- pass the immutable artifact into the fresh consumer stage

Rationale:
- prevent nested pnpm commands from corrupting root executable shims
- keep every smoke shard testing the same deterministic artifact

Tests:
- release-gate and fresh-smoke integration tests (15 passed)
- pnpm lint
- pnpm exec tsc --noEmit
- git diff --check

* backend(fix): bound all block database identifiers

Summary:
- assign every shipped block a short unique PostgreSQL database name
- remove redundant nested pricing array database overrides
- enforce the identifier contract across all registry manifests

Rationale:
- prevent Payload-generated enum names from exceeding PostgreSQL limits
- avoid custom nested-array mappings that break Drizzle writes

Tests:
- pnpm lint
- pnpm test:registry (58 items)
- pnpm run test:int (112 passed, 1 skipped)
- pnpm exec tsc --noEmit
- git diff --check

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

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

* ci(fix): terminate completed fresh smoke seeds

Summary:
- terminate the generated one-shot seed script after all Payload writes finish
- add an integration regression for database handles keeping the process alive

Rationale:
- Payload keeps its initialized database adapter open after a successful seed
- explicit completion prevents every fresh-consumer shard from timing out

Tests:
- pnpm exec vitest run tests/int/fresh-payload-smoke.int.spec.ts
- pnpm exec vitest run tests/int/release-gate.int.spec.ts
- pnpm lint
- pnpm exec tsc --noEmit
- git diff --check

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Summary:
- Centralize the hero CTA shine and twinkle colors in brand tokens.
- Guard the effect against future absolute color-channel drift.

Rationale:
- Clear the final promotion review issue without visual changes.

Tests:
- pnpm test:release
- CodeRabbit CLI review: 0 issues
- GitHub pr-gate and four fresh-smoke shards
Summary:
- centralize blog copy and align mobile active navigation
- hydrate every missing upload representation in fresh smoke seeds
- keep family navigation final across attributed component docs
- strengthen regression coverage for all reviewed contracts

Rationale:
- resolve every valid finding from the definitive promotion review
- keep the production promotion atomic and evidence-backed

Tests:
- pnpm test:release
- CodeRabbit full remediation review: 0 findings
- GitHub Registry Verification pr-gate
- Vercel deployment previews
Summary:
- Update Darwin desktop and mobile landing screenshots.
- Record the approved hero hierarchy and scale visually.

Rationale:
- The hero refinement intentionally changes full-page geometry.
- Reviewed baselines keep later visual drift detectable.

Tests:
- E2E_PORT=3238 pnpm test:release
- in-app Browser desktop and mobile QA
* frontend(fix): focus landing calls to action

Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>

* copy(hero): name Payload CMS developers

Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>

* tests(style): refresh primary CTA baselines

Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>

* tests(style): refresh audience hero baselines

Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>

* frontend(fix): harden install CTA presentation

Summary:
- remove the unrelated Tin promotional footer attribution
- clarify the Payload CMS developer audience in the hero copy
- use the correct brand foreground token and disable hover transforms under
  reduced motion
- verify the custom install-copy label resets after the copied state
- refresh the intended macOS landing baselines

Rationale:
- the footer backlink was outside the PR scope and the repository's
  community-first positioning
- the CTA should remain accessible, token-driven, and motion-safe while
  preserving a clear install-first hierarchy

Tests:
- pnpm lint
- pnpm source:build
- pnpm exec tsc --noEmit
- pnpm run test:int (126 passed, 1 skipped)
- focused production frontend E2E (3 passed)

---------

Co-authored-by: Ducksss <[email protected]>
Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
Co-authored-by: Chai Pin Zheng <[email protected]>
Summary:
- add seven distinctive Tailark-derived Payload blocks
- ship complete registry, manifest, demo, docs, provenance, and test coverage
- add Darwin and Linux visual baselines for components and landing pages

Rationale:
- expand the community registry with high-value hero, feature, proof, and contact surfaces
- keep every install wired, typed, reviewable, and recoverable

Tests:
- VITEST_MAX_WORKERS=2 E2E_PORT=3142 pnpm test:release
- GitHub Registry Verification pr-gate
Summary:
- Add a symptom-led Payload block troubleshooting guide and cross-link installation docs.
- Add accessible command copy controls for MDX.
- Track only the real add command as an install action.
- Exclude unrelated attribution, raw-color, and snapshot changes.

Rationale:
- Give users factual recovery steps without polluting analytics or weakening community-owned site contracts.

Tests:
- Full local and GitHub release gates, including narrow-screen, fresh-Payload, visual, accessibility, and GEO coverage.
*Total -- 284.29kb -> 220.65kb (22.39%)

/public/blog/copying-is-not-installing/figure-01-copy-vs-install.svg -- 8.65kb -> 6.36kb (26.52%)
/public/blog/shadcn-registry-for-payload-cms/figure-01-registry-delivery.svg -- 8.74kb -> 6.44kb (26.31%)
/public/blog/build-saas-homepage/figure-01-page-blueprint.svg -- 9.36kb -> 6.99kb (25.28%)
/public/blog/payload-components-doctor/figure-01-doctor-report.svg -- 8.20kb -> 6.15kb (25.03%)
/public/blog/idempotent-code-installer/figure-01-convergence-state.svg -- 10.88kb -> 8.25kb (24.25%)
/public/blog/motion-without-performance-cost/figure-01-motion-timeline.svg -- 10.40kb -> 7.94kb (23.67%)
/public/blog/demo-twins/figure-01-architecture-mirror.svg -- 10.57kb -> 8.08kb (23.57%)
/public/blog/how-renderblocks-works/figure-01-renderer-dispatch.svg -- 11.05kb -> 8.45kb (23.54%)
/public/blog/shared-fields-across-component-families/figure-01-shared-fields.svg -- 9.96kb -> 7.63kb (23.4%)
/public/blog/text-anchors-vs-ast/figure-01-scoped-diff.svg -- 9.54kb -> 7.33kb (23.18%)
/public/blog/payload-types-and-import-map/figure-01-generation-pipelines.svg -- 10.96kb -> 8.45kb (22.92%)
/public/blog/hello/figure-01-origin-story.svg -- 9.77kb -> 7.53kb (22.89%)
/public/blog/component-variants-without-prop-explosion/figure-01-family-vs-matrix.svg -- 10.54kb -> 8.17kb (22.49%)
/public/blog/build-payload-blog-frontend/figure-01-editorial-architecture.svg -- 11.12kb -> 8.63kb (22.43%)
/public/blog/accessible-faq-blocks/figure-01-faq-anatomy.svg -- 12.04kb -> 9.35kb (22.34%)
/public/blog/production-ready-payload-block-config/figure-01-config-anatomy.svg -- 10.05kb -> 7.84kb (22.02%)
/public/blog/visual-regression-component-registry/figure-01-regression-pipeline.svg -- 12.36kb -> 9.64kb (22.02%)
/public/blog/type-safe-block-rendering/figure-01-type-safe-rendering.svg -- 10.54kb -> 8.28kb (21.51%)
/public/blog/payload-block-not-rendering/figure-01-debug-tree.svg -- 13.90kb -> 10.94kb (21.3%)
/public/blog/reproducible-shadcn-registry/figure-01-deterministic-build.svg -- 12.41kb -> 9.78kb (21.17%)
/public/blog/what-is-a-payload-cms-block/figure-01-block-lifecycle.svg -- 12.95kb -> 10.22kb (21.12%)
/public/blog/manifest-wiring-contract/figure-01-manifest-layers.svg -- 11.36kb -> 8.96kb (21.05%)
/public/blog/open-source-provenance/figure-01-provenance-chain.svg -- 10.48kb -> 8.27kb (21.03%)
/public/blog/anatomy-of-an-install/figure-01-five-stage-pipeline.svg -- 13.20kb -> 10.51kb (20.4%)
/public/blog/contribute-payload-component/figure-01-contribution-workflow.svg -- 11.90kb -> 9.49kb (20.21%)
/public/blog/safe-links-forms-embeds/figure-01-trust-boundary.svg -- 13.02kb -> 10.64kb (18.27%)
/public/favicon.svg -- 0.33kb -> 0.33kb (0.29%)

Signed-off-by: ImgBotApp <[email protected]>
@Ducksss

Ducksss commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Closing as stale — ImgBot will re-cut it. Two things should change first, because as-is this is riskier than an image-optimisation PR looks.

1. It targets main. Every other contributor flow lands on dev and is promoted. A main-targeted PR skips that path and is permanently conflict-prone — it is already CONFLICTING, and both Vercel deploys plus Analyze (actions) failed on it. This is the same config drift that caused the postcss split with Dependabot (#371 → main while #364–#368 → dev). Worth repointing ImgBot's config to dev.

2. Two of the 27 assets are gate-sensitive.

  • public/favicon.svg — the logomark. Geometry lives across several files and the mark is judged at 16/24/40/96px; an optimiser rewriting path data on a hand-tuned mark deserves a look at those sizes, not an automatic merge.
  • public/blog/what-is-a-payload-cms-block/figure-01-block-lifecycle.svg — embedded in the article blog-visual.e2e.spec.ts snapshots at both desktop and mobile. Any rendering shift moves those baselines, and the reductions here are large (~286 lines per file).

Nothing wrong with the optimisation itself, and smaller assets are worth having. It just needs to run through dev so the visual gate actually compares, and the favicon wants eyes on it.

For the record, since a stale conflicting PR makes this easy to get wrong: I initially read a 266-file / 159-non-image change here, which would have meant reverting workflows and 78 baselines. That was an artefact of computing the diff against an unavailable merge base — git show on the commit itself confirms 27 files, all images, no baselines, no workflows. The PR is clean; only its base branch and two of its targets are the problem.

@Ducksss

Ducksss commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Closing — unmergeable as-is. Flagging the detail because the bot itself did nothing wrong.

The optimization commit is clean. d2bca444 touches exactly the 27 SVGs in the description (27 insertions(+), 7212 deletions(-)), all optimized from current sources. Verified: well-formed XML, visible text and <title>/<desc> unchanged, viewBox / role="img" / aria-labelledby preserved, no dropped ids or dangling url(#…) refs.

The branch it sits on is not. 34 replayed pre-squash dev commits underneath it (c81954ac, 7b3621f8, 6208a103 — none are ancestors of dev, so they're rewritten SHAs) resurrect a pre-July tree. Since merge-base(main, imgbot) is main's own tip with zero merge commits, this is fast-forwardable and the deletions are real rather than the usual cosmetic squash-promote flag. git merge-tree --write-tree confirms the merge result has no package.json and no tools/payload-components/cli.ts.

Blast radius: 158 files deleted into main, 109 into dev — payload-components/registry.json, the whole source/blocks/ tree, add.ts / doctor.ts / project.ts, 18 component docs, package.json, pnpm-lock.yaml, README.md, AGENTS.md, and three workflows — plus ~78 stale visual baselines regressed. Retargeting to dev doesn't fix it; it only shrinks the blast radius, because the merge base falls later. The failing Vercel builds and Analyze (actions) here are that, not flakes.

Not re-landing the SVGs. The win is 63.6 KB raw but only 4.7 KB gzipped across 27 files — ~170 bytes per page view, since each post loads one figure — against collapsing 26 hand-authored diagrams with embedded CSS to single lines. Not a good trade for maintained source art.

#424 adds an .imgbotconfig excluding public/blog/**, public/favicon.svg, and tests/e2e/** so future runs skip authored art and visual baselines while still optimizing genuine raster assets.

@Ducksss
Ducksss deleted the imgbot branch August 2, 2026 18:03
Ducksss added a commit that referenced this pull request Aug 3, 2026
…lines (#424)

ImgBot PR #390 was closed as unmergeable: its branch carried 34 replayed
pre-squash dev commits that resurrected an old tree, so merging would have
deleted 158 files from main (109 from dev), including package.json,
pnpm-lock.yaml, registry.json and the CLI. ImgBot's own commit was clean.

Scope the bot so a future run has less to churn over:

- public/blog/**      the figure-01 diagrams are hand-authored SVG with
                      embedded CSS. Minifying collapses each to one line
                      for ~0.17 KB gzipped per figure, and each blog post
                      loads exactly one figure — not worth losing
                      diff-ability on maintained source art.
- public/favicon.svg  already minimal; the only available "saving" is
                      stripping its trailing newline.
- tests/e2e/**        Playwright visual-regression baselines are golden
                      captures. A bot must never re-encode them.

aggressiveCompression stays off (lossless only) and minKBReduced is raised
from the default 10 to 50 so trivial PRs are not opened.

Raster assets outside those paths (public/docs/admin screenshots) are still
optimized normally.

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

This branch had an error being deployed

2 failed deployments
Preview – payload-components-97bf — d2bca444 Deployed Jul 29, 2026 by vercel[bot]
Preview – payload-components — d2bca444 Deployed Jul 29, 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.

2 participants