Linh – Fixed educator Task Submissions Backend Fixes + Add studentId + Late Detection#1934
Open
linh2020 wants to merge 4 commits intodevelopmentfrom
Open
Linh – Fixed educator Task Submissions Backend Fixes + Add studentId + Late Detection#1934linh2020 wants to merge 4 commits intodevelopmentfrom
linh2020 wants to merge 4 commits intodevelopmentfrom
Conversation
ea4a010 to
5440c6c
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
This PR fixes the Educator Task Submissions backend flow for #1934 and adds missing support requested in review:
studentIdfiltering support from query paramsRelated PRS (if any):
This backend PR is related to the frontend PR#4486
Main changes explained:
statusstudent_id(mapped tostudentId)course_id(mapped to lesson plan/course)latewhencompletedAt > dueAtoverduewhen due date passed and task not submittedsubmissions→ completed submissionspending submissions→ assigned/pending setstudent_name,task,submission_link,status,submitted_atHow to test:
Checkout this backend branch.
Start app and login as Educator/Admin user.
Navigate to Educator task submissions view (
/educator/task-submissionspage in UI flow).Verify:
course,status, andstudentworksScreenshots or videos of changes:
Note:
Include the information the reviewers need to know.