Repository navigation
fix: register new table templates in build test, sandbox routes, and docsite lock - #7156
Conversation
The comparison table template (#6251) correctly matches "a pricing page with three plans and a comparison table" — the request literally describes a comparison matrix. Two independent blind labelers both chose table-comparison as the best start. Updates the test expectation from table-page to table-comparison. The test's purpose ("starts a page the words describe from its template") is unchanged; table-comparison is now the template those words describe.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
Adds table-collapsible and table-comparison to the sandbox static-route manifest (next-export-routes.json, +2 routes) and refreshes the docsite ShadCN route lock (routes.lock.json, +2 entries). No old route changed.
PR Analysis Report📚 Storybook Preview🧪 Sandbox PreviewNo new or modified components detected. Bundle Size SummaryNo component packages changed. Accessibility AuditStatus: No accessibility violations detected. Visual Regression24 of 436 shot(s) changed. A change here is a question, not a failure: check whether the after is the
and 4 more. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
There was a problem hiding this comment.
Thanks — this completes the registration for the two table templates that already landed. The build test now expects the Comparison Table for a pricing-page request, the sandbox route list gains both template deep links, and the registry route lock gains the missing Collapsible Table entry.
I verified each piece at this revision: the build suite passes with the new expectation (the matcher already names the comparison template for those words, and that template is marked ready), the sandbox route contract passes against the expanded 775-route list, and the docsite generator's exact route-lock comparison passes with the new entry, so no existing route or lock entry has changed.
One reading note: the branch is behind its base, so a plain two-dot diff makes it look as though the compact template summary is being removed. The pull request's own file list contains only these three files, and merging will not remove that summary — refreshing the branch before merge will clear up the picture.
[Automated review]
There was a problem hiding this comment.
Approving. This adds only the three missing pieces for the two new table templates, each one matches what its generator or check expects, and the checks those templates broke on main pass on this head.
- Route lock: after a full package build, the registry generator with
UPDATE_SHADCN_ROUTE_LOCK=1rewrites the lock byte for byte as it is here, and the generator's check passes without it.template-table-comparisonwas already locked, sotemplate-table-collapsibleis the only new entry. Main fails this check with "Generated ShadCN names or routes changed". - Sandbox routes: main's sandbox build fails with exactly
extra /templates/table-collapsible/, /templates/table-comparison/. These are the two routes added here, in sorted order with no duplicates (775 routes). The export check requires an exact match, and build-sandbox passes on this head. - Build test:
buildnow pickstable-comparisonfor "a pricing page with three plans and a comparison table", and that template describes itself as a comparison matrix and pricing table. With the oldtable-pageexpectation the test fails with exactly that result, and the whole file passes 46 of 46 with the new one. - Nothing else changes: no template, keyword or runtime code. The commits since this branched off touch none of these files, and it merges cleanly onto current main.
[Automated review]
Fixes three CI failures caused by the table-collapsible (#6065) and table-comparison (#6251) template merges landing on a September CI base.
Changes
build.test.mjs — test expectation
table-page→table-comparisonfor "a pricing page with three plans and a comparison table". Two independent blind reviewers both chosetable-comparisonas the best start.next-export-routes.json — adds 2 sandbox static routes (
/templates/table-collapsible/,/templates/table-comparison/), 773 → 775.routes.lock.json — adds 1 ShadCN registry entry (
template-table-collapsible, +5 lines);template-table-comparisonwas already in the lock from feat(templates): add the model comparison page template #6251.One-line test change, two manifest updates. No template code, no keywords, no page.tsx.