diff --git a/src-web/components/WorkspaceActionsDropdown.tsx b/src-web/components/WorkspaceActionsDropdown.tsx index 769cb913..19115ef3 100644 --- a/src-web/components/WorkspaceActionsDropdown.tsx +++ b/src-web/components/WorkspaceActionsDropdown.tsx @@ -78,7 +78,16 @@ export const WorkspaceActionsDropdown = memo(function WorkspaceDropdown({ classN { label: 'Create Workspace', leftSlot: , - onSelect: () => createWorkspace.mutate({ name: 'Workspace' }), + onSelect: async () => { + const name = await prompt({ + name: 'name', + label: 'Name', + defaultValue: '', + description: 'Enter a name for the new workspace', + title: 'Create Workspace', + }); + createWorkspace.mutate({ name }); + }, }, ]; }, [