The feedback type was introduced to support rendering Activities for teachers to provide feedback to students on their work.
In order to avoid having to create copies of feedback Items so they can be used against multiple Questions in a student Activity, the feedback type allows rendering the same Item multiple times by requiring the host environment to provide an unique id
for each.
The items array in feedback activities expects objects instead of strings. These objects must contain both the reference
of the Item and an id
, which must be unique within the Activity.
{
"type": "feedback",
...
"items" : [
{
"id": "feedback_1", "reference": "mcq_feedback"
},
{
"id": "feedback_2", "reference": "mcq_feedback"
}
]
}
When using inline
rendering_type, the host environment must place the corresponding span
element where it wants the Item to be rendered, but in the data-reference
attribute the id
of the Item must be provided instead of the reference
.
<span class="learnosity-item" data-reference="feedback_1"></span>
<span class="learnosity-item" data-reference="feedback_2"></span>
Similar to submit_practice type, Feedback activities allow persisting the responses provided by calling the save public method, or via the save buttons that Learnosity's APIs can render in inline
or assess
rendering_types.
However, Feedback activities cannot be submitted for grading/reporting. The submit public method is disabled.