apluslms / a-plus

A+ frontend portal - A+ LMS documentation:
https://apluslms.github.io/
Other
66 stars 73 forks source link

Add submission tags #1358

Closed mikaelGusse closed 4 months ago

mikaelGusse commented 5 months ago

Description

What?

Added tags to submissions and the possibility to filter using these tags.

https://github.com/apluslms/a-plus/assets/159019283/adc4545d-72d3-4c62-90bb-817a303c28f5

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!