Skip to content

templates: add block install actions to template recipes - #349

Merged
Ducksss merged 1 commit into
devfrom
templates/recipe-install-actions-dev
Jul 27, 2026
Merged

Ducksss merged 1 commit into
devfrom
templates/recipe-install-actions-dev

Conversation

@Ducksss

@Ducksss Ducksss commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Re-lands the useful parts of #346, with its undisclosed self-promotion stripped.

Kept

  • Per-recipe block install actions on template detail pages (src/app/templates/[slug]/page.tsx)
  • Template registry additions + templates e2e and int coverage

Dropped

Why this needed hardening

#346 rendered the swatch as an inline SVG fill="#66DC9D" rather than the Tailwind bg-[#66DC9D] class used in #337/#341 — a form the original guard string would not have matched. The restored guard now asserts on a bare 66DC9D, covering both.

This is the third proposal of this backlink (see #337 → #338, #341 → #348).

Verified locally: tsc clean, fumadocs-site + template-showcases int specs 81/81.

🤖 Generated with Claude Code

Re-lands #346's template recipe work without its undisclosed self-promotion.

Kept: per-recipe block install actions on template detail pages, the registry
additions, and the templates e2e + int coverage.

Dropped: the 'Growth by Tin' backlink to https://tin.computer added to
SiteFooter as an inline SVG swatch, and the rewrite of the 'community-owned'
guard test (which #346 both inverted and renamed to '...the footer credit
quiet'). Footer and guard restored to dev state.

Note the swatch was moved from a Tailwind bg-[#66DC9D] class to an SVG
fill="#66DC9D", which evades the original guard string; the restored guard now
matches a bare '66DC9D' to cover both forms.

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

vercel Bot commented Jul 27, 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 Jul 27, 2026 5:43am
payload-components-97bf Ready Ready Preview, Comment Jul 27, 2026 5:43am

Copilot AI review requested due to automatic review settings July 27, 2026 05:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 14c61b96-c0e3-42ac-8054-f7223e12dc9a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch templates/recipe-install-actions-dev

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch was successfully deployed

2 active deployments
Preview – payload-components-97bf — c4cd90c0 Deployed Jul 27, 2026 by vercel[bot]
Preview – payload-components — c4cd90c0 Deployed Jul 27, 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