canvas-lms/app/jsx/grading
Spencer Olson 2f8872d4ee show totals as percentage for weighted grading periods
Disallows showing the total grade as points in Gradebook (new and old)
and the student grades page when weighted grading periods are in use.

closes GRADE-193

Test Plan:
1. Create a course with 2 assignment groups and 2 grading periods.
   Neither the assignment groups nor the grading periods should be
   weighted.
2. Create an assignment in the first assignment group and make it due
   in the first grading period. Give a student 10/10.
3. Create an assignment in the second assignmetn group and make it due
   in the second grading period. Give a student 5/10.
4. In the Gradebook (old and new), verify you can toggle between
   showing the total as points or percentage.
5. Select "Display as Points". Verify totals show up as points.
6. In Individual Gradebook, verify there is a 'Show Totals as Points
   on Student Grade Page' option, and you can toggle it. Also verify
   the final grade for the student includes the points possible, i.e.
   41.94% (26 / 62 points). Note that Individual Gradebook will always
   show the final grade for a student as a percent followed by points
   possible, regardless of the 'Show Totals as Points on Student Grade
   Page' option.
7. Go to the Account Grading Standards page and update the Grading
   Period Set to be weighted.
8. In the Gradebook (old and new), verify the totals are shown as
   percent. Verify there is no option to toggle between points and
   percentage.
9. In Individual Gradebook, verify there is no longer a 'Show Totals as
   Points on Student Grade Page' option. Verify the final grade for the
   student does not include the points possible if 'All Grading
   Periods' is selected. Verify the final grade for the student
   includes the points possible if an individual Grading Period is
   selected.
10. Go to the student grades page for a student and verify the total
    is shown as a percent. As with the Individual Gradebook, points
    possible should not be shown next to the final grade if 'All
    Grading Periods' is selected, and they should be shown next to the
    final grade if an individual Grading Period is selected.
11. Go to the Account Grading Standards page and update the Grading
    Period Set to not be weighted.
12. In the Gradebook (old and new), verify there is an option to
    toggle between points and percentage.
13. In Individual Gradebook, verify there is a 'Show Totals as Points
    on Student Grade Page' option, and you can toggle it.
14. Go to the assignments page for the course and update the assignment
    groups to be weighted.
15. In the Gradebook (old and new), verify the totals are shown as
    percent. Verify there is no option to toggle between points and
    percentage.
16. In Individual Gradebook, verify there is not a 'Show Totals as
    Points on Student Grade Page' option. Verify the final grade for the
    student does not include the points possible (regardless of Grading
    Period selection).
17. Go to the student grades page for a student and verify the total
    is shown as a percent. As with the Individual Gradebook, points
    possible should not be shown next to the final grade (regardless of
    Grading Period selection).

Change-Id: Ic0614643edabee2f175ae701bf2593120c6db40a
Reviewed-on: https://gerrit.instructure.com/131565
Reviewed-by: Derek Bender <djbender@instructure.com>
Tested-by: Jenkins
Reviewed-by: Jeremy Neander <jneander@instructure.com>
QA-Review: KC Naegle <knaegle@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>
2017-11-06 14:31:32 +00:00
..
helpers da licença part 42 2017-04-28 21:21:27 +00:00
AccountGradingPeriod.js Upgrade React, instructure-ui and instructure-icons 2017-05-16 21:15:44 +00:00
AccountTabContainer.js Upgrade React, instructure-ui and instructure-icons 2017-05-16 21:15:44 +00:00
CourseTabContainer.js Upgrade React, instructure-ui and instructure-icons 2017-05-16 21:15:44 +00:00
EditGradingPeriodSetForm.js Upgrade React, instructure-ui and instructure-icons 2017-05-16 21:15:44 +00:00
EnrollmentTermInput.js [ci coverage] convert public/js w/ no ‘export’s to ‘import’ 2017-05-19 19:11:12 +00:00
EnrollmentTermsDropdown.js Upgrade React, instructure-ui and instructure-icons 2017-05-16 21:15:44 +00:00
GradeSummary.js show totals as percentage for weighted grading periods 2017-11-06 14:31:32 +00:00
GradingPeriodForm.js Replace react-addons-update -> immutability-helper 2017-10-02 16:32:16 +00:00
GradingPeriodSet.js [ci coverage] convert public/js w/ no ‘export’s to ‘import’ 2017-05-19 19:11:12 +00:00
GradingPeriodSetCollection.js fix a11y grading period filter polite announcement 2017-06-26 16:12:56 +00:00
LatePolicyApplicator.js apply late policy in gradezilla frontend on change 2017-08-09 17:27:05 +00:00
NewGradingPeriodSetForm.js NewGradingPeriodSetForm flashError -> FlashAlert 2017-06-26 19:01:53 +00:00
SearchGradingPeriodsField.js Upgrade React, instructure-ui and instructure-icons 2017-05-16 21:15:44 +00:00
StatusPill.js add late and missing pills 2017-06-29 17:57:04 +00:00
dataRow.js Upgrade React, instructure-ui and instructure-icons 2017-05-16 21:15:44 +00:00
gradingPeriod.js Upgrade React, instructure-ui and instructure-icons 2017-05-16 21:15:44 +00:00
gradingPeriodCollection.js Replace react-addons-update -> immutability-helper 2017-10-02 16:32:16 +00:00
gradingPeriodTemplate.js Upgrade React, instructure-ui and instructure-icons 2017-05-16 21:15:44 +00:00
gradingStandard.js Replace react-addons-update -> immutability-helper 2017-10-02 16:32:16 +00:00
gradingStandardCollection.js Replace react-addons-update -> immutability-helper 2017-10-02 16:32:16 +00:00
quizzesNextSpeedGrading.js update handling quizzes next in speed grader 2017-05-24 16:33:16 +00:00