[Modules] In the requirements, add the option "Mark as done" for Files

Problem statement:

Our students find the requirements feature in modules very useful. It allows them to keep track of what is done and to be better organized, For most items (Page, assignments, quiz), there are several options for the items to be marked as done. However, for the files and video, it’s marked as done as soon as it is opened. A student could accidentally open a file (by clicking next) or just decide that it’s too long and want to come back later, and the file would be checked. There is no possibility to decide or reset the check mark. Even for the teacher, it makes the information less relevant, since a student could just quickly look at all the files.

Proposed solution:

When setting the requirerments in a module, add the option "Mark as done" for the files and external content instead to just "View the item", similar to the option in Pages Assignements.

User role(s):

instructor,student