CSC/ECE 517 Fall 2014/OSS E1450 cxm: Difference between revisions
(Created page with "==E1450: UI change for assignment view== == Background Information== === What is Expertiza? === === JavaScript === ==Project Description== == Design Patterns == == Code Mod...") |
|||
Line 8: | Line 8: | ||
==Project Description== | ==Project Description== | ||
Classes involved: controllers/assignment_controller.rb (488 lines), views/assignment/edit.html.erb (55 lines) in production branch (not in master branch) | |||
What it does: Change UI to support varying rubric feature (allow instructors to specify different review rubrics for different review rounds) | |||
What needs to be done: | |||
This project requires JavaScript knowledge. All the backend code has been finished by the contact person. | |||
A checkbox “Review rubrics vary by round” should be added to the “General” tab in the view of creating/editing assignment | |||
No corresponding field in “assignments” table is necessary | |||
We can tell if this checkbox should be checked by checking “assignments_questionnaires” table by current assignment_id. if there is no record with a non-null value in “used_in_round” field, this assignment is not using this feature and the checkbox should not be checked. (if one assignment has 2 rounds but they are using the same set of rubrics, for each type of rubric there should be only one entry with “used_in_round” field null)R | |||
4 checkboxes “Review rubrics vary by round” should be added on the “rubrics” tab | |||
each one denotes for each type of rubric (review, metareview, author feedback and teammate review) for which the instructor wants to use different rubrics | |||
again, no corresponding DB field is necessary | |||
if the checkbox on the “General” tab is selected, on the “rubrics” tab, the “Review rubrics vary by round” checkbox for “review” will be selected automatically | |||
There should be a editable “deadline name” for each due date on “due date” panel if this type of review is specified to be “varying by rounds” in the “rubrics” tab (the input should be recorded in deadline_name field in due_dates table) | |||
Another “description URL” text box should be editable when this type of review is specified to be “varying by rounds” in the “rubrics” tab (the input should be recorded in description_url field in due_dates table) | |||
A drop-down box which help instructor to select review rubric should be added for a review round when this type of review is specified to be “varying by rounds” in the “rubrics” tab (the input should be recorded in assignments_questionnaires table) | |||
There are no tests for the code. Create appropriate functional and integration tests. | |||
== Design Patterns == | == Design Patterns == |
Revision as of 04:21, 29 October 2014
E1450: UI change for assignment view
Background Information
What is Expertiza?
JavaScript
Project Description
Classes involved: controllers/assignment_controller.rb (488 lines), views/assignment/edit.html.erb (55 lines) in production branch (not in master branch) What it does: Change UI to support varying rubric feature (allow instructors to specify different review rubrics for different review rounds) What needs to be done: This project requires JavaScript knowledge. All the backend code has been finished by the contact person. A checkbox “Review rubrics vary by round” should be added to the “General” tab in the view of creating/editing assignment No corresponding field in “assignments” table is necessary We can tell if this checkbox should be checked by checking “assignments_questionnaires” table by current assignment_id. if there is no record with a non-null value in “used_in_round” field, this assignment is not using this feature and the checkbox should not be checked. (if one assignment has 2 rounds but they are using the same set of rubrics, for each type of rubric there should be only one entry with “used_in_round” field null)R 4 checkboxes “Review rubrics vary by round” should be added on the “rubrics” tab each one denotes for each type of rubric (review, metareview, author feedback and teammate review) for which the instructor wants to use different rubrics again, no corresponding DB field is necessary if the checkbox on the “General” tab is selected, on the “rubrics” tab, the “Review rubrics vary by round” checkbox for “review” will be selected automatically There should be a editable “deadline name” for each due date on “due date” panel if this type of review is specified to be “varying by rounds” in the “rubrics” tab (the input should be recorded in deadline_name field in due_dates table) Another “description URL” text box should be editable when this type of review is specified to be “varying by rounds” in the “rubrics” tab (the input should be recorded in description_url field in due_dates table) A drop-down box which help instructor to select review rubric should be added for a review round when this type of review is specified to be “varying by rounds” in the “rubrics” tab (the input should be recorded in assignments_questionnaires table) There are no tests for the code. Create appropriate functional and integration tests.