canvas-lms/public
Adrian Packel 01e2f8d5f1 Keep section synced between SG/new gradebook
When new gradebook is enabled and the user restricts the display to a
specific section, have the selected section carry over to SpeedGrader,
and similarly in the other direction. (If a section is changed in
SpeedGrader, the change will propagate to both old and new gradebooks;
if different selections are selected in OG and NG, SpeedGrader itself
will choose depending on whether new gradebook is enabled.)

fixes GRADE-989

Test plan:
- Have a course with multiple sections and new gradebook enabled
  - At least one section should be empty (i.e., contain no students)
- Test the following:
  - When you change the selected section in new gradebook and then
    open SpeedGrader, the new section should be shown
  - Similarly, section changes in SG should be persisted in NG
  - Selecting the empty section in SG (or selecting it in NG and then
    opening SG) should display an alert indicating no students could be
    found, and reload showing all students
  - Revert to old Gradebook and check that syncing sections still works
    between SG and OG

(Note that selecting a section in new gradebook will *not* directly
update the selected section in old gradebook, and vice versa. Changing
sections in SpeedGrader, however, will update both gradebooks.)

Change-Id: I42b4558f40f3208a93bd00fd6a2224d0f954c96e
Reviewed-on: https://gerrit.instructure.com/159356
Reviewed-by: Spencer Olson <solson@instructure.com>
Reviewed-by: Gary Mei <gmei@instructure.com>
Reviewed-by: Derek Bender <djbender@instructure.com>
QA-Review: Gary Mei <gmei@instructure.com>
Tested-by: Jenkins
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-08-08 22:16:17 +00:00
..
file_removed Fix typo in public/file_removed/file_removed.pdf 2018-04-05 16:54:38 +00:00
fonts Use ui-icons instead of inst-icons for icon font 2018-05-29 20:57:04 +00:00
images Display billboard when first customizing ratings 2018-06-14 15:33:40 +00:00
javascripts Keep section synced between SG/new gradebook 2018-08-08 22:16:17 +00:00
media_record switch to the speex codec for the flash recording widget 2015-04-23 16:36:30 +00:00
partials UI created for Course Visibility Settings 2016-08-23 15:35:09 +00:00
web-app-manifest use the official android way of doing app install banners 2016-10-28 21:13:46 +00:00
422.html Initial commit. 2011-01-31 18:57:29 -07:00
500.html replace all .button(s) with .btn 2012-11-14 13:29:30 -07:00
_crossdomain.xml non-flash direct-to-s3 changes 2011-02-11 10:49:53 -07:00
apple-touch-icon.png ThemeEditor: fix 404 to default preview images 2015-08-05 22:52:58 +00:00
dimdim_welcome.html Initial commit. 2011-01-31 18:57:29 -07:00
drawing.html Initial commit. 2011-01-31 18:57:29 -07:00
enable-javascript.html change name of javascript-is-required.html to enable-javascript.html. 2012-02-16 14:28:30 -07:00
equella_cancel.html Initial commit. 2011-01-31 18:57:29 -07:00
equella_success.html Initial commit. 2011-01-31 18:57:29 -07:00
favicon.ico provide high-res, color-coded favicons 2014-06-13 22:03:14 +00:00
ie-9-is-not-supported.html send ie9 to the "not supported" page we send ie8 to 2016-05-06 19:28:52 +00:00
loading_submission.html Initial commit. 2011-01-31 18:57:29 -07:00
robots.txt Initial commit. 2011-01-31 18:57:29 -07:00
simple_response.json Initial commit. 2011-01-31 18:57:29 -07:00