Parent Issue
Part of #394
Goal
Remove dead code, stale imports, and outdated references left behind after converting the Create Deployment and Create Template modals to dedicated pages.
Acceptance Criteria
Implementation Notes
Files to delete
frontend/src/components/create-template-modal.tsx
frontend/src/components/create-template-modal.test.tsx
Files to scan for stale references
frontend/src/routes/_authenticated/projects/$projectName/deployments/index.tsx — ensure all modal-related state and imports are gone
frontend/src/routes/_authenticated/projects/$projectName/templates/index.tsx — ensure CreateTemplateModal import is gone
- Any other files that import
create-template-modal
Testing approach
- Run
make test to verify nothing breaks
- Run
make generate to verify the build succeeds
- Grep for
CreateTemplateModal, create-template-modal to confirm no stale references
Dependencies
Depends on #395 (Create Template page) and #396 (Create Deployment page).
Parent Issue
Part of #394
Goal
Remove dead code, stale imports, and outdated references left behind after converting the Create Deployment and Create Template modals to dedicated pages.
Acceptance Criteria
frontend/src/components/create-template-modal.tsxis deleted (no longer used anywhere)frontend/src/components/create-template-modal.test.tsxis deletedCreateTemplateModalare removed from other filesdeployments/index.tsx(e.g.,createOpen,createName, etc.)make testmake generatesucceedsImplementation Notes
Files to delete
frontend/src/components/create-template-modal.tsxfrontend/src/components/create-template-modal.test.tsxFiles to scan for stale references
frontend/src/routes/_authenticated/projects/$projectName/deployments/index.tsx— ensure all modal-related state and imports are gonefrontend/src/routes/_authenticated/projects/$projectName/templates/index.tsx— ensure CreateTemplateModal import is gonecreate-template-modalTesting approach
make testto verify nothing breaksmake generateto verify the build succeedsCreateTemplateModal,create-template-modalto confirm no stale referencesDependencies
Depends on #395 (Create Template page) and #396 (Create Deployment page).