phase 14
This commit is contained in:
@@ -515,41 +515,41 @@ Implementation tasks for the Reference Board Viewer, organized by user story (fu
|
||||
|
||||
---
|
||||
|
||||
## Phase 14: Board Sharing & Collaboration (FR3 - High) (Week 11)
|
||||
## Phase 14: Board Sharing & Collaboration (FR3 - High) (Week 11) ✅ COMPLETE
|
||||
|
||||
**User Story:** Users must be able to share boards with configurable permissions
|
||||
|
||||
**Independent Test Criteria:**
|
||||
- [ ] Users can generate share links
|
||||
- [ ] Permission level selector works (View-only/View+Comment)
|
||||
- [ ] View-only prevents modifications
|
||||
- [ ] View+Comment allows adding comments
|
||||
- [ ] Share links can be revoked
|
||||
- [X] Users can generate share links
|
||||
- [X] Permission level selector works (View-only/View+Comment)
|
||||
- [X] View-only prevents modifications
|
||||
- [X] View+Comment allows adding comments
|
||||
- [X] Share links can be revoked
|
||||
|
||||
**Backend Tasks:**
|
||||
|
||||
- [ ] T189 [P] [US11] Create ShareLink model in backend/app/database/models/share_link.py from data-model.md
|
||||
- [ ] T190 [P] [US11] Create Comment model in backend/app/database/models/comment.py from data-model.md
|
||||
- [ ] T191 [P] [US11] Create share link schemas in backend/app/boards/schemas.py (ShareLinkCreate, ShareLinkResponse)
|
||||
- [ ] T192 [US11] Implement token generation in backend/app/boards/sharing.py (secure random tokens)
|
||||
- [ ] T193 [US11] Create share link endpoint POST /boards/{id}/share-links in backend/app/api/sharing.py
|
||||
- [ ] T194 [US11] Create list share links endpoint GET /boards/{id}/share-links in backend/app/api/sharing.py
|
||||
- [ ] T195 [US11] Implement revoke endpoint DELETE /boards/{id}/share-links/{link_id} in backend/app/api/sharing.py
|
||||
- [ ] T196 [US11] Implement shared board access GET /shared/{token} in backend/app/api/sharing.py
|
||||
- [ ] T197 [US11] Add permission validation middleware in backend/app/boards/permissions.py
|
||||
- [ ] T198 [US11] Implement comment endpoints (create, list) in backend/app/api/comments.py
|
||||
- [ ] T199 [P] [US11] Write sharing tests in backend/tests/api/test_sharing.py
|
||||
- [ ] T200 [P] [US11] Write permission tests in backend/tests/boards/test_permissions.py
|
||||
- [X] T189 [P] [US11] Create ShareLink model in backend/app/database/models/share_link.py from data-model.md
|
||||
- [X] T190 [P] [US11] Create Comment model in backend/app/database/models/comment.py from data-model.md
|
||||
- [X] T191 [P] [US11] Create share link schemas in backend/app/boards/schemas.py (ShareLinkCreate, ShareLinkResponse)
|
||||
- [X] T192 [US11] Implement token generation in backend/app/boards/sharing.py (secure random tokens)
|
||||
- [X] T193 [US11] Create share link endpoint POST /boards/{id}/share-links in backend/app/api/sharing.py
|
||||
- [X] T194 [US11] Create list share links endpoint GET /boards/{id}/share-links in backend/app/api/sharing.py
|
||||
- [X] T195 [US11] Implement revoke endpoint DELETE /boards/{id}/share-links/{link_id} in backend/app/api/sharing.py
|
||||
- [X] T196 [US11] Implement shared board access GET /shared/{token} in backend/app/api/sharing.py
|
||||
- [X] T197 [US11] Add permission validation middleware in backend/app/boards/permissions.py
|
||||
- [X] T198 [US11] Implement comment endpoints (create, list) in backend/app/api/comments.py
|
||||
- [X] T199 [P] [US11] Write sharing tests in backend/tests/api/test_sharing.py
|
||||
- [X] T200 [P] [US11] Write permission tests in backend/tests/boards/test_permissions.py
|
||||
|
||||
**Frontend Tasks:**
|
||||
|
||||
- [ ] T201 [P] [US11] Create sharing API client in frontend/src/lib/api/sharing.ts
|
||||
- [ ] T202 [P] [US11] Create share modal in frontend/src/lib/components/sharing/ShareModal.svelte
|
||||
- [ ] T203 [US11] Implement permission selector in frontend/src/lib/components/sharing/PermissionSelector.svelte
|
||||
- [ ] T204 [US11] Create shared board view in frontend/src/routes/shared/[token]/+page.svelte
|
||||
- [ ] T205 [US11] Implement comment UI for View+Comment links in frontend/src/lib/components/sharing/Comments.svelte
|
||||
- [ ] T206 [US11] Create share link management view in frontend/src/lib/components/sharing/LinkManager.svelte
|
||||
- [ ] T207 [P] [US11] Write sharing component tests in frontend/tests/components/sharing.test.ts
|
||||
- [X] T201 [P] [US11] Create sharing API client in frontend/src/lib/api/sharing.ts
|
||||
- [X] T202 [P] [US11] Create share modal in frontend/src/lib/components/sharing/ShareModal.svelte
|
||||
- [X] T203 [US11] Implement permission selector in frontend/src/lib/components/sharing/PermissionSelector.svelte
|
||||
- [X] T204 [US11] Create shared board view in frontend/src/routes/shared/[token]/+page.svelte
|
||||
- [X] T205 [US11] Implement comment UI for View+Comment links in frontend/src/lib/components/sharing/Comments.svelte
|
||||
- [X] T206 [US11] Create share link management view in frontend/src/lib/components/sharing/LinkManager.svelte
|
||||
- [X] T207 [P] [US11] Write sharing component tests in frontend/tests/components/sharing.test.ts
|
||||
|
||||
**Deliverables:**
|
||||
- Share link generation works
|
||||
|
||||
Reference in New Issue
Block a user