1.6 KiB
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