-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
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
Add submission tags #1358
Add submission tags #1358
Conversation
35e04b1
to
b25bac7
Compare
- Increased padding - Implemented wrapping for tags - Changed dropdown appearance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I left comments on some things I think should be fixed before merging.
There's also some parts I'm not entirely sure about, and the whole thing with saving submission taggings by creating on-demand forms in JS, but we can take a look at that later if need be since this implementation does work.
3bc8271
to
145a783
Compare
Submission tags are created through the inspect submission UI so the form is unnecessary, as well as the associated template. Also checked submission tagging add- and delete forms to verify the tag comes from the accessed course instance.
Description
What?
Added tags to submissions and the possibility to filter using these tags.
submission_tags_demo_compressed_1.mp4
Why?
Adds a requested feature that allows teachers to more easily identify particular submissions.
How?
Added a new django model for the submissiontag and additionally a submissiontagging class which stores which submissiontags belong to which submissions. Additionally added javascript table manipulation for filtering.
Fixes #1347
Testing
Remember to add or update unit tests for new features and changes.
What type of test did you run?
Tested adding tags to multiple submissions and creating new tags. Also tried filtering with different combinations of tags.
Did you test the changes in
Think of what is affected by these changes and could become broken
Translation
Programming style
Have you updated the README or other relevant documentation?
Is it Done?
Clean up your git commit history before submitting the pull request!