feat: just getting better and better
Some checks failed
Backend CI/CD / build_and_deploy (push) Has been cancelled
Frontend CI/CD / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-05-04 21:34:38 -04:00
parent 664eb07201
commit b7379cf823
45 changed files with 1411 additions and 11114 deletions

View File

@@ -0,0 +1,46 @@
# 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
- [x] Workspace creation no longer accepts or sends the URL key.
- [x] Workspace responses no longer include the URL key.
- [x] The current EF model no longer contains the workspace URL key column or index.
- [x] The new-workspace page no longer references the URL key.
- [x] OpenAPI and frontend schema artifacts are regenerated.
## Validation Commands
```bash
dotnet build backend/Socialize.slnx
dotnet test backend/Socialize.slnx
cd frontend
npm run build
```