Spaces:
Runtime error
Runtime error
Commit History
-
feat(labs): add instructor labs CRUD, grading, and attendance improvements for Flutter Phase 7
Marwan Hassan Sobhy## New Fields - Add allowedFileTypes and maxFileSizeMb to CreateLabDto and Lab entity - Database migration required: ALTER TABLE labs ADD COLUMN allowed_file_types VARCHAR(255) NULL, ADD COLUMN max_file_size_mb FLOAT NULL; ## New Endpoints - PATCH /api/labs/:id/instructions/:instructionId — update instruction text, orderIndex, and fileId (via UpdateInstructionDto) - DELETE /api/labs/:id/instructions/:instructionId — delete lab instruction ## Attendance Overhaul - Rewrote getAttendance() to return all enrolled students for the lab's course, not just those with existing attendance records - Queries CourseSection for sections matching the lab's courseId - Queries CourseEnrollment for enrolled students with user relations - Queries LabAttendance with user relations for existing records - Merges results: existing records for marked students, placeholders (id: null, attendanceStatus: null) for unmarked students - Injected CourseSection and CourseEnrollment repositories int…fbaa73d
-
TA Dashboard SHARING components
343821c
-
Labs - Quizzes - Assignment student Dashboard still under work
1af4e1f
-
try after off
ec7b20a
-
Clean initial commit without secrets
fd07338