From 1ae1a06682ad8577b304c831785cc7f1c50e763f Mon Sep 17 00:00:00 2001 From: Universe Date: Fri, 11 Oct 2024 23:59:40 +0900 Subject: [PATCH] project dots action --- apps/forms/scaffolds/workspace/sidebar.tsx | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/apps/forms/scaffolds/workspace/sidebar.tsx b/apps/forms/scaffolds/workspace/sidebar.tsx index 5291c5097..df8c89d56 100644 --- a/apps/forms/scaffolds/workspace/sidebar.tsx +++ b/apps/forms/scaffolds/workspace/sidebar.tsx @@ -26,6 +26,12 @@ import { SidebarHeader, SidebarMenuLink, } from "@/components/sidebar"; +import { + DropdownMenu, + DropdownMenuContent, + DropdownMenuItem, + DropdownMenuTrigger, +} from "@/components/ui/dropdown-menu"; import { CreateNewProjectDialog } from "./new-project-dialog"; import { ResourceTypeIcon } from "@/components/resource-type-icon"; import { useWorkspace } from "./workspace"; @@ -114,6 +120,35 @@ export function WorkspaceSidebar() { className="inline align-middle me-2 w-4 h-4" /> {p.name} + + + + + + + + + { + // TODO: + alert("not implemented"); + }} + > + + Rename + + { + // TODO: + alert("not implemented"); + }} + > + + Delete + + + +