Parent Issue
Part of #386
Goal
Scan the repository for any dead code, stale comments, or outdated documentation introduced or made stale by the fix in #388. Also update the default CUE template in CreateTemplateModal to use the structured namespaced/cluster output format so that the preview actually works when opened.
Acceptance Criteria
Implementation Notes
Files to review
frontend/src/components/create-template-modal.tsx — Update DEFAULT_CUE_TEMPLATE to use the structured namespaced/cluster format documented in docs/cue-template-guide.md
frontend/src/queries/deployment-templates.ts — Verify no stale comments
frontend/src/routes/_authenticated/projects/$projectName/templates/$templateName.tsx — Verify the template detail page still works correctly with the updated hook signature
Dependencies
Depends on #388 (the gating fix must be in place first).
Parent Issue
Part of #386
Goal
Scan the repository for any dead code, stale comments, or outdated documentation introduced or made stale by the fix in #388. Also update the default CUE template in
CreateTemplateModalto use the structurednamespaced/clusteroutput format so that the preview actually works when opened.Acceptance Criteria
create-template-modal.tsxuses the structured output format (produces validnamespacedoutput)make testpassesImplementation Notes
Files to review
frontend/src/components/create-template-modal.tsx— UpdateDEFAULT_CUE_TEMPLATEto use the structurednamespaced/clusterformat documented indocs/cue-template-guide.mdfrontend/src/queries/deployment-templates.ts— Verify no stale commentsfrontend/src/routes/_authenticated/projects/$projectName/templates/$templateName.tsx— Verify the template detail page still works correctly with the updated hook signatureDependencies
Depends on #388 (the gating fix must be in place first).