{project ? (
<>
@@ -410,11 +568,16 @@ export function ProjectView() {
projectId={project.id}
className="h-8 w-8"
/>
-
setDeployDialogOpen(true)}
+ disabled={isAnyLoading}
className="h-8 w-8"
- />
+ aria-label="Deploy project"
+ >
+
+
>
) : (
<>
@@ -505,6 +668,33 @@ export function ProjectView() {
open={duplicateDialogOpen}
onOpenChange={setDuplicateDialogOpen}
/>
+
+
+
+ Delete Project
+
+ Are you sure you want to delete "{project.name}"? This action cannot be undone and will permanently delete all project data including files.
+
+
+
+ Cancel
+
+ {isDeleting ? (
+ <>
+
+ Deleting...
+ >
+ ) : (
+ 'Delete Project'
+ )}
+
+
+
+
>
)}