Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Assignment/Draft Features/Comment Banks

From MoodleDocs

Marking Checkin/Checkout

This is a proposal for an additional feature allow the use of comment banks anywhere in Moodle that supports grading.

Goals and rationale

The main goals of this feature are to :

  • Allow comment banks to be created once and then re-used anywhere in Moodle regardless of the type of grading
  • Allow comment banks to be shared

Overview

The Marking guide advanced grading form currently supports comment banks. It would be good if those comment banks could be used by other grading forms and also in areas of Moodle that are not using advanced grading.

Status

The feature is currently only a proposal

Design

This design is modelled on the sharing that is supported by the advanced grading forms.

Move comment banks to core library

Add a comment banks api in the core library folder so it can be used by any area of Moodle Add a global switch to enable/disable comment banks

Allow users to create their own comment banks

Add a menu entry in the course navigation to view/edit a users comment banks.

Add an API that can be used when grading to allow a user to select either from one of their own, or a shared comment bank (optional - allow sharing only for a category).

Selecting a shared comment bank will import it to the users comment bank (like grading forms) and allow them to edit it.

If the user has the required capability (commentbank:publish) they should be able to publish a comment bank (to a category?).

If the user has the required capability (commentbank:manage) they should be able to edit/delete shared comment banks.

Users should be able to manually import/export comment banks (csv recommended)

Capabilities

commentbank:publish - User can share a comment bank to categories where they have this capability commentbank:manage - User can edit/delete comment banks in categories where they have this capability

User Interface mockups

To be written

Database changes

To be written

Use cases

Teacher has multiple assignments with different grading forms for each

  • Teacher can access the same comment bank and add to it for each of the assignments

Admin wants to create a site wide comment bank

  • Admin creates a comment bank and then publishes it to the entire site

Faculty admin wants to create a faculty specific comment bank

  • Faculty admin creates a comment bank and publishes it to their course category

Teacher wants to share a comment bank with a colleague

  • Teacher creates a comment bank, downloads it as a csv and then emails it to their colleague
  • Colleague imports the csv comment bank