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:
@@ -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
|
||||
|
||||
@@ -12,6 +12,7 @@ export const type = 'individual';
|
||||
|
||||
const rubricConfig = {
|
||||
feedback: 'optional',
|
||||
feedbackPrompt: 'Grader-facing prompt for submission-level feedback',
|
||||
criteria: [
|
||||
{
|
||||
name: 'firstCriterion',
|
||||
|
||||
Reference in New Issue
Block a user