Repository navigation
Trim templates gallery density - #494
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
The title reads as cosmetic, but this removes internal navigation and the tests that guarded it. Worth making explicit before review. Removed from
It also deletes the comment at the top of Note that a sibling PR from this branch series (#490) is adding internal links to Either keep the two links (density can be trimmed without removing navigation) or state in the PR body why they should go, and update the contract comment instead of deleting it. |
ee9949a to
81d4a53
Compare
|
Resolved the navigation-contract review. The 134-line section stays removed, but a compact starting-point row now keeps |
Ducksss
left a comment
There was a problem hiding this comment.
Reviewed the full diff. The 134-line explainer removal is a real density win and stays. Restored in 9fe07fb: the card's documented second action (full preview, with its gallery-source analytics event), the official Payload website template referral as a compact third link, and the e2e pins for both. tsc/lint/prettier/template-showcases.int all green locally.
Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
…their pins The density win here is the removed 134-line explainer section, and that stays removed. But three things it took with it were page contract, not density: - the card's second action. The gallery card's documented contract is poster-led with exactly two actions — detail page, or raw full preview. Dropping 'Open full preview' also dropped the template_preview_open (source: gallery) analytics event, i.e. the funnel that tells us whether anyone uses previews from the gallery at all. - the outbound referral to Payload's official website template. Pointing people with no project at the official starter instead of at us is part of the honest-positioning stance; it now lives as a third link in the compact starting-point row. - the e2e assertions guarding both destinations. Verified: tsc, eslint, prettier clean; template-showcases.int 114/114. Co-Authored-By: Claude Fable 5 <[email protected]> Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
a79ef41 to
7e63897
Compare
Why
/templateswas the highest-density audited page. This trim keeps the gallery focused without removing intentional internal navigation.What changed
templatesDescription/componentsand/docs/installationChecks
pnpm source:buildtsc --noEmittests/int/template-showcases.int.spec.ts: 114 passedgit diff --checkVisual baselines
This still changes rendered output. Both Linux and Darwin template baselines must be minted together before merge. This environment cannot mint Darwin.
This PR is review-only and targets
dev.