Add homework submission editing with enrollment quick access and clear buttons#152
Merged
Merged
Conversation
Co-authored-by: alexeygrigorev <875246+alexeygrigorev@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add functionality to edit homework submission scores
Add homework submission editing with automatic score recalculation
Jan 30, 2026
Member
|
@copilot for cadmin link from the leaderboard record: I want to use that page to edit both homework and project submissions |
Co-authored-by: alexeygrigorev <875246+alexeygrigorev@users.noreply.github.com>
Contributor
Author
Added in commit 3a00a3d. The enrollment edit page now shows tables with all homework and project submissions for the student, each with an Edit link to quickly jump to submission editing. Screenshots:
|
Copilot
AI
changed the title
Add homework submission editing with automatic score recalculation
Add homework submission editing with enrollment quick access and clear buttons
Jan 30, 2026
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.
Adds ability to edit homework submission answers and learning in public links. Mirrors existing project submission edit functionality. Includes quick access from enrollment pages and one-click clear buttons for learning in public data.
Changes
Backend
homework_submission_editview at/cadmin/<course>/<homework>/submissions/<id>/editupdate_score()to recalculate questions/FAQ/learning-in-public scoresupdate_leaderboard()only when total score changesenrollment_editview to display homework and project submissions with edit linksFrontend
Tests
Screenshots
Submissions List
Edit Form with Clear Button
After Clearing Learning in Public Links
Enrollment Edit with Submission Quick Access
From the enrollment/leaderboard management page, staff can now view and edit all homework and project submissions for a student in one place.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.