Files
social-media/docs/TASKS/organizations/005-remove-workspace-url-key.md
Jonathan Bourdon b7379cf823
Some checks failed
Backend CI/CD / build_and_deploy (push) Has been cancelled
Frontend CI/CD / build_and_deploy (push) Has been cancelled
feat: just getting better and better
2026-05-04 21:34:38 -04:00

1.6 KiB

Task: Remove workspace URL key

Feature

docs/FEATURES/organizations.md

Goal

Remove the human-managed workspace URL key from the product, API, database model, frontend UI, and generated contracts.

Context

Workspaces are selected and routed by stable identifiers. The create workspace page still exposes a manual URL key field and the backend still persists a dedicated column for it.

Scope

  • Remove the URL key from workspace persistence and model configuration.
  • Remove the URL key from workspace create requests and workspace DTO responses.
  • Remove URL key validation and duplicate checks from workspace creation.
  • Remove URL key UI, preview copy, and locale strings from the new-workspace page.
  • Remove URL key display from organization workspace lists.
  • Update generated OpenAPI/schema artifacts after the backend contract change.
  • Rename any frontend-only helper that is not actually a product URL key.

Constraints

  • Keep workspace ownership under organizations intact.
  • Do not redesign workspace creation beyond removing the URL key UI.
  • Preserve existing workspace/channel behavior except for deleting the workspace URL key.

Done When

  • Workspace creation no longer accepts or sends the URL key.
  • Workspace responses no longer include the URL key.
  • The current EF model no longer contains the workspace URL key column or index.
  • The new-workspace page no longer references the URL key.
  • OpenAPI and frontend schema artifacts are regenerated.

Validation Commands

dotnet build backend/Socialize.slnx
dotnet test backend/Socialize.slnx
cd frontend
npm run build