10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #1070
If a student is not enrolled in a class but submitting assignments for the class their submissions won't be seen by the staff.
This adds a view called "Un-Enrolled Submitters" which allows staff members to see any students who are submitting assignments to the course but are not enrolled.
Sorry, something went wrong.
Indicate is submission was made by a staff member in admin view
2ce9e7c
Merge remote-tracking branch 'upstream/master'
2f2d4be
List students that have submissions but are unenrolled
ba5ea40
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Nice. I have left some comments about performance - but this looks good otherwise!
(I haven't tried it locally but I will soon)
These two lines are a bit too long. I would suggest putting the queries on their own lines
Maybe you can use course.get_students here? It also does a joined load with Users - so you can just do e.user without the cost of another query
See above - you should be able to do e.user if you use enrollment objects directly
The ID isn't particularly useful (it's our database ID) Maybe their name could go here instead?
Improve performance of finding un-enrolled submitters
0cb91aa
I'm pulling in staff and lab assistants because I was getting them in the list of un-enrolled submitters. I'm assuming we don't want them in that list and that we just want students?
Because I can get the user objects from get_students(), get_staff(), and get_participants([LAB_ASSISTANT_ROLE])) I made submissions a set of user objects. Does that look like the best way to do it?
get_students()
get_staff()
get_participants([LAB_ASSISTANT_ROLE]))
submissions
Merge branch 'master' into enhancement/wrobe0709/list_unenrolled_subm…
691be4a
…issions
Sumukh Sumukh left review comments
At least 1 approving review is required to merge this pull request.
Successfully merging this pull request may close these issues.