Skip to content

Dashboard: rename project (name + slug) #480

Closed

Description

@unjica

Problem

The project switcher shows “Rename this project” for the legacy seed project (Default project / slug default), linking to Settings → Organization. That page only supports create and archive — there is no way to rename an existing project’s name or slug.

{current.name === LEGACY_SEEDED_PROJECT_NAME && current.slug === "default" ? (
  <p className="px-4 pb-2 text-[12px] text-muted-foreground">
    <Link
      href="/dashboard/settings/organization"
      onClick={close}
      className="text-brand hover:underline"
    >
      Rename this project
    </Link>
  </p>
) : null}

Users who follow that link (or expect rename for any project) hit a dead end.

Proposed work

  1. API — PATCH /api/meta/projects/:projectId (or equivalent) to update name and optionally slug, with OWNER/EDITOR RBAC, unique slug per org, and audit log if we log similar mutations.
  2. Dashboard — Settings → Organization: edit UI for existing projects (name + slug), not only create/archive.
  3. UX — Make the project-switcher “Rename this project” link go to a real edit surface (or remove the tease until rename ships for all projects). Prefer rename available for all projects, not only the legacy seed.

Acceptance

  • Can rename project name (and slug) from the dashboard
  • Switcher / nav reflect the new name without stale cookies issues
  • Legacy “Rename this project” link is either wired correctly or removed
  • Tests for API validation + permissions

Context

Discovered while dogfooding v1.12.x — no prior issue tracked this gap.

Activity

  1. self-assigned this
    on Jul 16, 2026
  2. added
    enhancement
    dashboard
    api
    on Jul 16, 2026
  3. unjica commented on Jul 16, 2026

    @unjica
    CollaboratorAuthor

    Implemented in PR — will link when created.

  4. unjica commented on Jul 16, 2026

    @unjica
    CollaboratorAuthor

    Tracking implementation in #481

  5. added a commit that references this issue on Jul 17, 2026
  6. unjica commented on Jul 17, 2026

    @unjica
    CollaboratorAuthor

    Shipped in #481 (feature/rename-project merged to develop).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

apidashboardenhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions