Rubric feedback (#9)

* add feedbackPrompt to selector

* create info popover component and radio criterion

* update criterion container to use new component instead

* remove unused components

* update rubric feedback to use gradeState

* update to test for bound method

* update info popover and the test

* implement review criterion

* remove gradeStatus from rubric feedback and criterion feedback

* use gradeStatus to show review criterion

* update selector testing naming
This commit is contained in:
leangseu-edx
2021-10-08 14:41:09 -04:00
committed by GitHub
parent da410f8423
commit 02b29830cf
24 changed files with 1443 additions and 175 deletions

View File

@@ -71,6 +71,12 @@ rubric.hasConfig = rubricConfigSelector(config => config !== undefined);
*/
rubric.feedbackConfig = rubricConfigSelector(config => config.feedback);
/**
* Return the criteria feedbase prompt
* @return {string} - criteria feedback prompt
*/
rubric.feedbackPrompt = rubricConfigSelector(config => config.feedbackPrompt);
/**
* Returns a list of rubric criterion config objects for the ORA
* @return {obj[]} - array of criterion config objects

View File

@@ -12,6 +12,7 @@ export const type = 'individual';
const rubricConfig = {
feedback: 'optional',
feedbackPrompt: 'Grader-facing prompt for submission-level feedback',
criteria: [
{
name: 'firstCriterion',