forked from capability-boosters-dev/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve handling of the "blank" option from group selector
closes LA-141 The empty option was added when the "New Group Category" option was converted to a button for accessibility (see OUT-57). Now I hide the selector + its label if there are no group sets. test plan: - in a course with no group sets - create an assignment - check the "group assignment" checkbox > expect the "create group set" modal to appear - dismiss it w/o creating a group > expect the "group set" label and its <select> to be hidden - click the "New Group Category" button and create a group set > expect the "group set" label and its <select> to be displayed - editing an assignment that has at least 1 group set - check the group assignment checkbox > expect the select with "Select a group catetory" item displayed > expect the other options to be the existing group sets - try to save > expect an alert that you must select a group set - select a group set > expect to be able to save - edit again > expect the group to be selected From the ticket - Create a course with at least one student who is part of a group - Create or edit a group assignments - Select the group set dropdown and see that there is an extra empty selection there - Give your group assignment a due date and save it - Edit your assignment and select the empty option from the group set dropdown and try to save - After receiving the error message, select the actual group set - Change the date from being assigned to everyone to just being assigned to the student's group specifically - Save the assignment - As the student view the assignment and notice that the due date does not display. Change-Id: I53f52f38f89bb37bd26ad0cd892570138178ad65 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/217643 Tested-by: Service Cloud Jenkins <[email protected]> Tested-by: Jenkins Reviewed-by: Carl Kibler <[email protected]> QA-Review: Carl Kibler <[email protected]> QA-Review: Jeremy Putnam <[email protected]> Product-Review: Carl Kibler <[email protected]>
- Loading branch information
Showing
3 changed files
with
78 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters