MCPcopy
hub / github.com/AgentOps-AI/agentops / createProject

Function createProject

app/dashboard/components/ui/create-project-card.tsx:108–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106 });
107
108 async function createProject() {
109 if (!projectName?.trim()) {
110 toast({ title: '❌ Invalid Input', description: 'Project name cannot be empty' });
111 return;
112 }
113 if (!selectedOrgId) {
114 toast({ title: '❌ Invalid Input', description: 'Please select an organization' });
115 return;
116 }
117
118 createProjectMutation.mutate({ org_id: selectedOrgId, name: projectName.trim() });
119 }
120
121 async function updateProjectInfo() {
122 if (!projectName?.trim()) {

Callers

nothing calls this directly

Calls 1

toastFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…