Repository navigation
Hide "Add it, describe your changes, publish" on Classic template pages - #83
Merged
Merged
Conversation
The "Add it, describe your changes, publish" steps describe installing a template and adapting it in the app builder, which doesn't fit the product's core apps. Skip the section when the template's category is Classic. WEB3-29 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QzaqKS3yhGMtyWGRrxYW67
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
[Low impact] The change appears safe to merge. SummaryHides “Add it, describe your changes, publish” on Classic template pages.
Reviews (1) · Last reviewed commit: "Hide the how-it-works section on Classic..." · Reviewed by Greptile |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
On template detail pages (
/templates/<slug>), the "Add it, describe your changes, publish" section no longer shows on templates in the Classic category, which are the product's core apps. Those steps describe installing a template and adapting it in the app builder, and that doesn't fit the core apps. Every other template still shows the section.This is a single conditional in
src/app/templates/[slug]/page.tsx. The category match ignores case.Linear
WEB3-29
Testing
Preview: https://assembly-studio-website-git-claude-blissful-0db184-assemblycom.vercel.app
tsc --noEmitand ESLint on the changed file are clean./templates/client-onboarding-wizard) still renders the section.🤖 Generated with Claude Code
https://claude.ai/code/session_01QzaqKS3yhGMtyWGRrxYW67