From a86e67d3d93c1afdd0610af67f70e1879af1de01 Mon Sep 17 00:00:00 2001 From: Jeremy Ruppel Date: Thu, 30 Jul 2026 10:46:40 -0400 Subject: [PATCH] fix(site/src/modules/templates/TemplateExampleCard): point Use template to builder (#27663) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Updates the "Use template" button on `TemplateExampleCard` to link to the template builder instead of the legacy create flow. - `/templates/new?exampleId=${example.id}` → `/templates/new/builder?base=${example.id}` This affects everywhere the card is rendered: the Templates page empty state and the Starter Templates gallery page. ## Notes The "View all starter templates" button in the empty state keeps its existing `templateBuilderEnabled` conditional (unchanged). --- _This PR was generated by Coder Agents on behalf of @jeremyruppel._ --- .../templates/TemplateExampleCard/TemplateExampleCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/modules/templates/TemplateExampleCard/TemplateExampleCard.tsx b/site/src/modules/templates/TemplateExampleCard/TemplateExampleCard.tsx index 6a21549401..b401f71ff9 100644 --- a/site/src/modules/templates/TemplateExampleCard/TemplateExampleCard.tsx +++ b/site/src/modules/templates/TemplateExampleCard/TemplateExampleCard.tsx @@ -64,7 +64,7 @@ export const TemplateExampleCard: FC = ({