Repository navigation
feat: rename project name and slug (#480) - #481
Conversation
Add PATCH /api/meta/projects/:projectId, Settings → Organization edit forms, and wire the project switcher rename link to the real UI. Co-authored-by: Cursor <[email protected]>
Return 409 instead of silently appending a numeric suffix when an owner sets an explicit slug that another project already uses. Co-authored-by: Cursor <[email protected]>
|
Addressed Bugbot: |
Slug helpers moved to project-slug, but invite token generation still needs crypto.randomBytes. Co-authored-by: Cursor <[email protected]>
|
bugbot run |
bugbot-review was failing when api.github.com returned HTML 503 pages instead of JSON. Enable github-script retries and poll through transient errors. Co-authored-by: Cursor <[email protected]>
|
Pushed CI resilience for |
Add integration tests for OWNER rename success, EDITOR/VIEWER 403, empty/invalid name/slug, missing/deleted project 404, and slug conflicts. Co-authored-by: Cursor <[email protected]>
|
Added integration coverage for `PATCH /api/meta/projects/:projectId` in `project-rename.integration.test.ts` (same shape as workspace rename #483):
|
Keep both project and workspace rename changelog/audit entries and Settings organization page sections after merging develop. Co-authored-by: Cursor <[email protected]>
Require the parent org to be active (deleted_at null), matching create and workspace rename. Cover with an integration test. Co-authored-by: Cursor <[email protected]>
|
Fixed Bugbot finding: |
Keep rename inputs controlled so slugified values match after save, and return 409 when a concurrent unique slug update hits P2002. Co-authored-by: Cursor <[email protected]>
|
Addressed the two Bugbot findings on `74aee32`:
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 43b8013. Configure here.
ScrollToHash now listens for hashchange, and org/project switcher rename links scroll immediately when already on Organization settings. Co-authored-by: Cursor <[email protected]>
|
Fixed Bugbot Rename hash link skips scroll:
|

Summary
Implements #480.
PATCH /api/meta/projects/:projectId(OWNER) updates name and/or slug; unique slug per org excluding self; auditproject.update#rename-project-{id}for all projects (not only the legacy seed)Test plan
Made with Cursor