Skip to content

site: carry catalog contribution fixes - #202

Merged
Ducksss merged 8 commits into
devfrom
codex/carry-catalog-contribution-prs
Jun 30, 2026
Merged

Ducksss merged 8 commits into
devfrom
codex/carry-catalog-contribution-prs

Conversation

@tin-computer

@tin-computer tin-computer Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Verification

  • corepack pnpm exec eslint src/app/about/page.tsx src/lib/site.ts src/components/site/ComponentCatalogBrowser.tsx src/components/site/ComponentGrid.tsx tests/e2e/frontend.e2e.spec.ts tests/int/fumadocs-site.int.spec.ts
  • corepack pnpm exec vitest run --config ./vitest.config.mts tests/int/fumadocs-site.int.spec.ts
  • PATH="/tmp/pnpm-shim:$PATH" corepack pnpm exec playwright test tests/e2e/frontend.e2e.spec.ts -g "links upcoming components" --reporter=list
  • PATH="/tmp/pnpm-shim:$PATH" corepack pnpm build

Notes

@tin-computer
tin-computer Bot requested a review from Ducksss as a code owner June 23, 2026 23:40
@vercel

vercel Bot commented Jun 23, 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 30, 2026 1:01am
payload-components-97bf Ready Ready Preview, Comment Jun 30, 2026 1:01am

highoncomputers and others added 3 commits June 25, 2026 02:05
…ata (#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
@tin-computer
tin-computer Bot force-pushed the codex/carry-catalog-contribution-prs branch from b753cdd to 634f9bb Compare June 25, 2026 02:21
@vercel

vercel Bot commented Jun 25, 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

…ntribution-prs

# Conflicts:
#	src/app/about/page.tsx
#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]>
imgbot Bot pushed a commit that referenced this pull request Jul 20, 2026
* 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]>