We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45461f6 commit e494011Copy full SHA for e494011
ark/webapp/routes.py
@@ -772,13 +772,12 @@ async def api_create_project(
772
if active:
773
raise HTTPException(400, "You already have an active project. Wait for it to finish.")
774
775
- # Generate project ID: uuid prefix + slug from title/idea
+ # Generate project ID: full UUID
776
+ project_id = str(uuid.uuid4())
777
slug = _slugify(title or idea[:60] or "project")
- project_id = str(uuid.uuid4())[:8] + "-" + slug
778
779
# Auto-generate title from idea if not provided
780
if not title and idea:
781
- # Use first sentence or first 100 chars of idea as initial title
782
first_sentence = idea.split('.')[0].strip()
783
title = first_sentence[:100] if first_sentence else idea[:100]
784
0 commit comments