Description
Add status lifecycle for problems (open → in-progress → resolved → archived).
Current Issue
- Problems are just "active" or "inactive"
- No way to mark problem as solved
Proposed Statuses
enum ProblemStatus {
OPEN = 'OPEN', // Accepting solutions
IN_PROGRESS = 'IN_PROGRESS', // Solution being implemented
RESOLVED = 'RESOLVED', // Problem solved
ARCHIVED = 'ARCHIVED' // No longer relevant
}
Acceptance Criteria
Files to Change
src/mesh-nodes/entities/mesh-node.entity.ts
src/mesh-nodes/dto/update-status.dto.ts
src/mesh-nodes/mesh-nodes.service.ts
ETA: 6 hours
Description
Add status lifecycle for problems (open → in-progress → resolved → archived).
Current Issue
Proposed Statuses
Acceptance Criteria
statusfield to MeshNode/api/v1/mesh-nodes/:id/status(owner only)/api/v1/mesh-nodes?status=OPENFiles to Change
src/mesh-nodes/entities/mesh-node.entity.tssrc/mesh-nodes/dto/update-status.dto.tssrc/mesh-nodes/mesh-nodes.service.tsETA: 6 hours