convert grading standards page to React code,
and add a tab for Grading Periods when MGP feature flag
is turned on.
closes CNVS-15966
test plan:
1) As an admin, visit the 'Account' home page (
for example, http://localhost:3000/accounts/1).
Go to settings and turn the feature flag on for
'Multiple Grading Periods'
2) Click on the link on the left-hand side that says
'Grading'
3) Verify that there are now 2 tabs - one for 'Grading Periods',
and one for 'Grading Schemes'. There should not be any
content in the 'Grading Periods' sectiion (this will be
added in a later ticket).
4) Click on the 'Grading Schemes' tab. Verify that the tab
is fully functional, i.e. you can create, edit, and delete
grading schemes. Follow this link to a Jing video for
more detail on what needs to be QA'd here (there is a lot).
(http://screencast.com/t/nsiCVsMjcdF).I changed the behavior
slightly from how it is portrayed in the video. Now, the
values will auto-recalculate when input is changed, as opposed
to changing when focus is lost on the input.
5) Verify when you hover over the '+' icon to add a new row to
the scheme, a line appears below the current row to show where
the new row will be inserted.
6) Verify that clicking "Add grading scheme" and then clicking
"Cancel" removes the new grading scheme, rather than resetting
the values of the scheme to default values (this behavior is
different from what was shown in the video, and was changed after
a talk with Product).
7) Check all functionality covered in the video is also accessible.
Change-Id: Iff61acf917bce297f7943ac758862fa56eed275c
Reviewed-on: https://gerrit.instructure.com/44667
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Josh Simpson <jsimpson@instructure.com>
QA-Review: Amber Taniuchi <amber@instructure.com>
Product-Review: Spencer Olson <solson@instructure.com>