phase 12
All checks were successful
CI/CD Pipeline / VM Test - backend-integration (push) Successful in 8s
CI/CD Pipeline / VM Test - full-stack (push) Successful in 7s
CI/CD Pipeline / VM Test - performance (push) Successful in 7s
CI/CD Pipeline / VM Test - security (push) Successful in 7s
CI/CD Pipeline / Backend Linting (push) Successful in 2s
CI/CD Pipeline / Frontend Linting (push) Successful in 16s
CI/CD Pipeline / Nix Flake Check (push) Successful in 38s
CI/CD Pipeline / CI Summary (push) Successful in 0s

This commit is contained in:
Danilo Reyes
2025-11-02 14:34:55 -06:00
parent 3eb3d977f9
commit e5abcced74
11 changed files with 2325 additions and 28 deletions

View File

@@ -412,29 +412,29 @@ Implementation tasks for the Reference Board Viewer, organized by user story (fu
---
## Phase 11: Z-Order & Layering (Week 8)
## Phase 11: Z-Order & Layering (Week 8) ✅ COMPLETE
**User Story:** Control image stacking order (bring to front/back)
**Independent Test Criteria:**
- [ ] Bring to front moves image to top layer
- [ ] Send to back moves image to bottom
- [ ] Forward/backward moves one layer
- [ ] Z-order persists
- [X] Bring to front moves image to top layer
- [X] Send to back moves image to bottom
- [X] Forward/backward moves one layer
- [X] Z-order persists
**Frontend Tasks:**
- [ ] T155 [US5] Implement bring to front in frontend/src/lib/canvas/operations/z-order.ts
- [ ] T156 [P] [US5] Implement send to back in frontend/src/lib/canvas/operations/z-order.ts
- [ ] T157 [P] [US5] Implement bring forward/send backward in frontend/src/lib/canvas/operations/z-order.ts
- [ ] T158 [US5] Add Z-order keyboard shortcuts in frontend/src/lib/canvas/keyboard.ts
- [ ] T159 [US5] Sync Z-order changes to backend
- [ ] T160 [P] [US5] Write Z-order tests in frontend/tests/canvas/z-order.test.ts
- [X] T155 [US5] Implement bring to front in frontend/src/lib/canvas/operations/z-order.ts
- [X] T156 [P] [US5] Implement send to back in frontend/src/lib/canvas/operations/z-order.ts
- [X] T157 [P] [US5] Implement bring forward/send backward in frontend/src/lib/canvas/operations/z-order.ts
- [X] T158 [US5] Add Z-order keyboard shortcuts in frontend/src/lib/canvas/keyboard.ts
- [X] T159 [US5] Sync Z-order changes to backend
- [X] T160 [P] [US5] Write Z-order tests in frontend/tests/canvas/z-order.test.ts
**Backend Tasks:**
- [ ] T161 [US5] Update Z-order field in position update endpoint backend/app/api/images.py
- [ ] T162 [P] [US5] Write Z-order persistence tests in backend/tests/api/test_z_order.py
- [X] T161 [US5] Update Z-order field in position update endpoint backend/app/api/images.py
- [X] T162 [P] [US5] Write Z-order persistence tests in backend/tests/api/test_z_order.py
**Deliverables:**
- Full layering control
@@ -443,28 +443,28 @@ Implementation tasks for the Reference Board Viewer, organized by user story (fu
---
## Phase 12: Alignment & Distribution (FR6 - High) (Week 10)
## Phase 12: Alignment & Distribution (FR6 - High) (Week 10) ✅ COMPLETE
**User Story:** Users must be able to precisely align and distribute images
**Independent Test Criteria:**
- [ ] Align top/bottom/left/right works
- [ ] Center horizontal/vertical works
- [ ] Distribute horizontal/vertical creates equal spacing
- [ ] Snap-to-grid assists alignment
- [ ] Grid size configurable
- [X] Align top/bottom/left/right works
- [X] Center horizontal/vertical works
- [X] Distribute horizontal/vertical creates equal spacing
- [X] Snap-to-grid assists alignment
- [X] Grid size configurable
**Frontend Tasks:**
- [ ] T163 [US9] Implement align top/bottom in frontend/src/lib/canvas/operations/align.ts
- [ ] T164 [P] [US9] Implement align left/right in frontend/src/lib/canvas/operations/align.ts
- [ ] T165 [P] [US9] Implement center horizontal/vertical in frontend/src/lib/canvas/operations/align.ts
- [ ] T166 [US9] Implement distribute horizontal in frontend/src/lib/canvas/operations/distribute.ts
- [ ] T167 [P] [US9] Implement distribute vertical in frontend/src/lib/canvas/operations/distribute.ts
- [ ] T168 [US9] Implement snap-to-grid in frontend/src/lib/canvas/grid.ts
- [ ] T169 [P] [US9] Create grid settings UI in frontend/src/lib/components/canvas/GridSettings.svelte
- [ ] T170 [P] [US9] Create alignment toolbar in frontend/src/lib/components/canvas/AlignmentToolbar.svelte
- [ ] T171 [P] [US9] Write alignment calculation tests in frontend/tests/canvas/align.test.ts
- [X] T163 [US9] Implement align top/bottom in frontend/src/lib/canvas/operations/align.ts
- [X] T164 [P] [US9] Implement align left/right in frontend/src/lib/canvas/operations/align.ts
- [X] T165 [P] [US9] Implement center horizontal/vertical in frontend/src/lib/canvas/operations/align.ts
- [X] T166 [US9] Implement distribute horizontal in frontend/src/lib/canvas/operations/distribute.ts
- [X] T167 [P] [US9] Implement distribute vertical in frontend/src/lib/canvas/operations/distribute.ts
- [X] T168 [US9] Implement snap-to-grid in frontend/src/lib/canvas/grid.ts
- [X] T169 [P] [US9] Create grid settings UI in frontend/src/lib/components/canvas/GridSettings.svelte
- [X] T170 [P] [US9] Create alignment toolbar in frontend/src/lib/components/canvas/AlignmentToolbar.svelte
- [X] T171 [P] [US9] Write alignment calculation tests in frontend/tests/canvas/align.test.ts
**Deliverables:**
- All alignment commands work