docs: adds workspace-invites feature and tasks
This commit is contained in:
42
docs/TASKS/workspace-invites/004-invite-management-polish.md
Normal file
42
docs/TASKS/workspace-invites/004-invite-management-polish.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# Task: Invite Management Polish
|
||||
|
||||
## Goal
|
||||
|
||||
Make workspace invite management complete for managers after acceptance exists.
|
||||
|
||||
## Feature Spec
|
||||
|
||||
- `docs/FEATURES/workspace-invites.md`
|
||||
|
||||
## Scope
|
||||
|
||||
- Show invite statuses in workspace settings.
|
||||
- Add manager actions to cancel and resend pending invites.
|
||||
- Hide or disable actions for accepted, cancelled, and expired invites.
|
||||
- Decide whether the default list shows all invites or only active pending invites.
|
||||
- Ensure accepted users appear in the active members list after acceptance.
|
||||
- Update OpenAPI and frontend API usage after backend contract changes.
|
||||
|
||||
## Constraints
|
||||
|
||||
- Keep workspace settings within repository layout conventions.
|
||||
- Avoid broad member-management refactors.
|
||||
|
||||
## Likely Files
|
||||
|
||||
- `backend/src/Socialize.Api/Modules/Workspaces/Handlers/GetWorkspaceInvites.cs`
|
||||
- `backend/src/Socialize.Api/Modules/Workspaces/Handlers/CancelWorkspaceInvite.cs`
|
||||
- `frontend/src/features/workspaces/views/WorkspaceSettingsView.vue`
|
||||
- `frontend/src/features/workspaces/stores/workspaceStore.js`
|
||||
- `shared/openapi/openapi.json`
|
||||
- `frontend/src/api/schema.d.ts`
|
||||
|
||||
## Validation
|
||||
|
||||
```bash
|
||||
dotnet build backend/Socialize.slnx
|
||||
dotnet test backend/Socialize.slnx
|
||||
./scripts/update-openapi.sh
|
||||
cd frontend
|
||||
npm run build
|
||||
```
|
||||
Reference in New Issue
Block a user