canvas-lms/ui/shared/assignments
Sarah Gerard 0555b50d36 Ensure card state stays consistent in AssignToContent
there were a few bugs where the state of the cards was not
being consistent. Especially with empty cards - in particular
empty cards disappearing when editing other cards. There was
also a bug where 'everyone' would get added back after saving
overrides with dates on them. This is also fixed.

closes LX-1984
flag=selective_release_edit_page

test plan:
- create a new classic quiz. Change the 'everyone' card to be
  assigned to a student and add a date to it. Save and then
  check the assign to cards - ensure that the override saved
  properly and 'everyone' is no longer assigned.
- repeat with an assignment
- with a new or existing assignment, add a new card and keep it
  empty. Mess around with other cards - adding and deleting cards,
  changing assignees, dates, etc.
- Ensure that in all cases, changing one card does not affect
  another. Empty cards should not disappear.
- Overall just click around and try to mess with the cards in any
  ways you can think of - the cards should stay consistent with
  whatever changes you make.

Change-Id: Ib498a238bc76b752f2c0f044b0bc9492fb133b5f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/355305
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Robin Kuss <rkuss@instructure.com>
QA-Review: Robin Kuss <rkuss@instructure.com>
Product-Review: Sarah Gerard <sarah.gerard@instructure.com>
2024-08-19 20:34:20 +00:00
..
__tests__ replace some QUnit specs with Jest 2024-06-18 21:54:49 +00:00
backbone Ensure card state stays consistent in AssignToContent 2024-08-19 20:34:20 +00:00
graphql fix rubric ui e2e first pass bugs 2024-05-31 17:36:09 +00:00
jquery update codebase to use .prop() over .attr() 2024-02-26 20:14:43 +00:00
jst fix errant self-closing tags in handlebars files 2024-03-07 16:35:01 +00:00
react restore Karma/QUnit tests and re-enable partitioning 2024-06-12 17:06:03 +00:00
TurnitinSettings.js decaf TurnitinSettings.coffee 2023-04-19 21:02:54 +00:00
VeriCiteSettings.js decaf ui/shared (5) 2023-04-18 14:10:48 +00:00
assignment-categories.js replace EVAL use of underscore shim with lodash (2) 2024-01-03 04:51:52 +00:00
package.json Correct and add some folder owners 2023-12-11 17:23:30 +00:00