Skip to content

frontend(feat): promote Fumadocs v2 site - #55

Merged
Ducksss merged 15 commits into
mainfrom
dev
Jun 12, 2026
Merged

Ducksss merged 15 commits into
mainfrom
dev

Conversation

@Ducksss

@Ducksss Ducksss commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Summary:

  • Promote the validated dev branch as the v2 public site direction.
  • Replace the Payload-runtime marketing app with the Fumadocs docs and registry surface.
  • Keep Payload-specific code in the installable kit source and validation fixtures.

Rationale:

  • main should be the production-ready source of truth.
  • dev contains the complete v2 docs-first rewrite and is ahead of main by four commits.
  • prod currently duplicates old main and should be removed after this lands.

Validation:

  • pnpm test:release

Ducksss added 4 commits June 4, 2026 21:22
Summary:
- Replace the Payload-backed website runtime with a Fumadocs app.
- Move kit source files into payload-kits/source while preserving registry
  install targets.
- Update docs, tests, registry validation, and the CLI fixture for the new
  architecture.

Rationale:
- The v2 site should document and distribute Payload kits without booting
  Payload admin routes, collections, globals, or a database-backed app.
- Keeping Payload code in the kit source preserves the target install
  contract while making the docs site simpler to run and review.

Tests:
- pnpm test:release
Summary:
- Remove stale Payload app instructions, planning, design, marketing,
  Docker, and editor files from the repository.
- Prune unused local shadcn UI components and direct dependencies.
- Simplify CI, PR templates, docs, and ignore rules around the v2 site
  and registry workflow.

Rationale:
- The v2 repo is a Fumadocs site plus payload-kit registry tooling, not a
  Payload runtime app, so keeping old app scaffolding increases noise.
- Reducing unused UI and dependency surface keeps heavy work isolated on
  the staging path while preserving production on the current main state.

Tests:
- pnpm test:release
Summary:
- Replace stale Payload runtime and waitlist environment examples with
  Fumadocs site and optional Payload smoke-test variables.
- Rewrite contributor and security guidance around the Fumadocs docs site,
  payload-kit registry tooling, and prod/dev branch flow.
- Tighten Prettier ignores to generated outputs that exist in the v2 repo.

Rationale:
- The v2 branch no longer runs Payload CMS as the website runtime, so root
  docs and examples should not imply database, admin, or waitlist setup.
- Public contributor and security docs should match the current release model
  before v2 is merged into dev.

Tests:
- pnpm lint
- pnpm test:release
Summary:
- Replace migration-focused homepage copy with a clean docs-native product
  landing for Payload Kits.
- Redesign the kit catalog route and shared header to match the lighter
  Fumadocs-oriented direction.
- Keep AI-readable docs context explicit while updating frontend E2E
  coverage for the new surface.

Rationale:
- v2 should present Payload Kits as a registry and CLI product, not as a
  Payload CMS app migration note.
- Payload remains the target ecosystem, while the public site stays a light
  Fumadocs-powered documentation surface.

Tests:
- pnpm lint
- pnpm exec tsc --noEmit
- pnpm run test:e2e -- tests/e2e/frontend.e2e.spec.ts
- pnpm test:release
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@vercel

vercel Bot commented Jun 11, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
payload-components Ready Ready Preview, Comment Jun 12, 2026 2:31pm

Summary:
- Rename the PR verification job back to pr-gate.

Rationale:
- Branch protection still requires a pr-gate status context on main.
- Keeping the existing test:release command preserves the v2 validation
  behavior while satisfying the protected branch rule.

Tests:
- git diff --check
- pnpm test:release (run before this workflow-only fix)
Summary:
- Backfills starter-derived Fumadocs docs surfaces for per-page markdown,
  docs view controls, relative links, and Open Graph images.
- Regenerates Fumadocs source during production prebuild and updates CI
  push branches for the dev/prod branch model.
- Strengthens integration and E2E coverage around Fumadocs wiring,
  markdown negotiation, search, docs navigation, and Payload runtime
  boundaries.

Rationale:
- The repo is an existing Payload kit registry, so the starter is used as
  a reference instead of replacing the scaffold.
- Keeping the diff focused preserves registry and CLI contracts while
  giving the frontend the complete useful Fumadocs surface.

Tests:
- pnpm source:build
- pnpm exec tsc --noEmit
- pnpm exec vitest run --config ./vitest.config.mts tests/int/fumadocs-site.int.spec.ts
- pnpm run test:e2e -- tests/e2e/frontend.e2e.spec.ts
- pnpm run test:e2e -- tests/e2e/geo.e2e.spec.ts
- pnpm test:release
- Browser verification at http://localhost:3000/ and /docs on desktop
  and 390px mobile viewport
Ducksss and others added 4 commits June 12, 2026 14:29
Summary:
- Rebuild the landing around the deployed hero anatomy: two-tone clamp
  headline, layered grid/glow atmosphere, product-proof frame, stats.
- Make the kit catalog the page centerpiece: thumbnail cards for the two
  installable kits plus the in-development posts suite as coming soon.
- Keep slim receipts, workflow, social proof, and FAQ sections; cut the
  compare, bento, and per-kit example sections as bloat.
- Re-theme everything light shadcn monochrome with a single emerald
  accent; terminal surfaces stay dark as product frames.
- Parametrize frontend E2E coverage from src/lib/site.ts data.

Tests:
- pnpm lint
- pnpm exec tsc --noEmit
- E2E_PORT=3100 pnpm test:e2e
- pnpm build

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

# Conflicts:
#	src/app/docs/[[...slug]]/page.tsx
#	src/lib/site.ts
Split the kit catalog and landing grid into two named families that mirror
Payload's own content model — and the two real installMode values in the
manifests (payload-kit-required vs shadcn-native).

Page blocks (2 installable): full payload-kit wiring — collection config,
render mapping, generated types, import map.

Post components (8 in development): component-level copies for the Posts
collection, no block wiring needed.

Adds kitFamilies export and family field to kitEntries/upcomingKits.
KitGrid renders two headed groups; catalog page mirrors the grouping.
upcomingKits targets sharpened to specific slot names (Archive card,
Post header, Byline, etc.) now that the group header provides context.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
frontend(feat): group kit catalog by Payload content model (Pages/Posts split)
…nd wiring ledger

Show the product instead of abstractions, on the thesis that the wiring
is the product:

- Demo twins render the real hero-basic and feature-grid-basic kits
  inline (verbatim kit class strings, aria-hidden, no Payload deps),
  with a drift-guard int test pinning twins to their kit sources.
- The hero frame becomes an install replay: the terminal transcript
  completes and the skeleton yields to the real block materializing
  part by part, with a client-side replay control (CSS-only timeline,
  key remount).
- New wiring-ledger section promotes the shadcn-vs-payload-kit boundary
  from FAQ prose to a five-artifact comparison table.
- Catalog section becomes a full-width annotated specimen plus a dense
  index, replacing the 11-card wall; placeholder social-proof invites
  are deleted and the signed maintainer note moves into the open-source
  close.

Hero copy, section headings, and intros rewritten in site.ts; e2e
contract preserved (h1, section h2s, first Copy button, reduced-motion
terminal, overflow).

Co-Authored-By: Claude Fable 5 <[email protected]>
Ducksss and others added 2 commits June 12, 2026 17:22
The /components catalog rendered installable kits via KitCard with no
visual preview, while the landing already renders them live through the
demo twins. Close that gap by reusing the existing twins on the card.

- KitPreviewThumb: maps slug -> the landing's HeroBasicDemo /
  FeatureGridBasicDemo, dropped into a fixed-height DemoScaleFrame
  (h-44 + bottom-fade mask, the same idiom HeroProductFrame uses). The
  "Live preview" pill sits outside the masked frame so the fade never
  touches it. Unknown slugs render nothing.
- KitCard: render the band above the body; the article is now
  overflow-hidden with padding moved into a body wrapper.

Reuses dev's canonical twins rather than duplicating them, so the
class-drift guard (tests/int/demo-twins) keeps covering them. KitGrid's
posts-suite skeletons are untouched (deliberate planned-vs-real gap).

Verified: pnpm lint, tsc --noEmit, demo-twins int (3/3), and the e2e
suite (E2E_PORT=3100, 13/13) including the no-horizontal-overflow check
on /components; spot-checked desktop + 375px (0px overflow).

Co-Authored-By: Claude Fable 5 <[email protected]>
frontend(feat): add live preview band to catalog KitCard
A standalone /about route (not Fumadocs — this is brand narrative, not
reference) telling why Payload Kits exists: years of freelance Payload
work where the paste was never the problem, the four edits after it
were, and re-proving every block by hand was the real time sink.

- Left-anchored editorial layout sharing the hero's left edge; a sticky
  "receipts" rail (reused from site.ts) fills the right column so the
  story is backed by verifiable proof, not floated in whitespace.
- An intentionally unchecked checklist mirrors the landing's wiring
  ledger; the signed maintainer note anchors the close.
- Wired into header nav and the footer Project column, with e2e route
  coverage.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Ground-up visual redesign and narrative reflow on the existing
install-replay machinery (terminal, twins, wiring ledger preserved):

- Soft emerald hero bloom on white; Instrument Serif italic accent word
  per headline (next/font on <html>, --font-serif @theme token)
- Emerald wiring traces drawn from terminal into the materialized twin
- New SaaS arc: hero -> stack band -> the tax (problem) -> workflow ->
  wiring ledger + receipts -> live catalog -> FAQ -> open-source close
- Split inline page.tsx into src/components/site/sections/* behind a thin
  orchestrator; SectionHeading gains an inline serif accentWord slot
- Emerald wordmark mark in the shared header/footer

Release gate green: lint, source:build, tsc, registry, int 31/31,
e2e 13/13, build. No pricing/waitlist (MIT/free; AGENTS.md).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@Ducksss
Ducksss merged commit 8d6e3cb into main Jun 12, 2026
6 checks passed
@Ducksss
Ducksss deleted the dev branch June 12, 2026 14:42

This branch was successfully deployed

1 active deployment
Preview — a932b313 Deployed Jun 12, 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.

1 participant