Assign Diff Tags to Individual Assignments
closes EGG-472 flag=assign_to_differentiation_tags This adds necessary UI changes to allow users to create overrides involving Differentiation tags on individual assignments Test Plan: - Enable the following feature flags: - Account Level -> Assign to Differentiation Tags - Course Level -> Differentiation Tags - Account Setting -> Allow Assign to Differentiation Tags - Go to a course and create a non-collaborative group set - This can be done via Graphiql using the 'createGroupSet' mutation - Make sure to add groups to the groupset when creating them - createGroupCount: 3 - Create an Assignment - On that assignment's page - Click the "Assign To" button - Add an override for a differentiation tag - Click save - Reopen the "Assign To" tray and verify that the override persisted - Go to the Modules page - Add the new assignment to a module - Select the kebab menu on the assignment - Select "Assign To" - Verify that the override for the Differentiation Tag is shown in the tray Change-Id: Id4dfdc108a9018cbe44e81cbaf64f9d18332bc58 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/369478 Tested-by:Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by:
Chrystal Langston <chrystal.langston@instructure.com> QA-Review: Chrystal Langston <chrystal.langston@instructure.com> Product-Review: Sam Garza <sam.garza@instructure.com>
Showing
- app/controllers/assignments_controller.rb 4 additions, 1 deletionapp/controllers/assignments_controller.rb
- app/controllers/discussion_topics_controller.rb 9 additions, 0 deletionsapp/controllers/discussion_topics_controller.rb
- app/controllers/quizzes/quizzes_controller.rb 8 additions, 0 deletionsapp/controllers/quizzes/quizzes_controller.rb
- app/controllers/wiki_pages_controller.rb 5 additions, 0 deletionsapp/controllers/wiki_pages_controller.rb
- spec/controllers/assignments_controller_spec.rb 30 additions, 6 deletionsspec/controllers/assignments_controller_spec.rb
- spec/controllers/discussion_topics_controller_spec.rb 52 additions, 0 deletionsspec/controllers/discussion_topics_controller_spec.rb
- spec/controllers/quizzes/quizzes_controller_spec.rb 45 additions, 0 deletionsspec/controllers/quizzes/quizzes_controller_spec.rb
- spec/controllers/wiki_pages_controller_spec.rb 25 additions, 0 deletionsspec/controllers/wiki_pages_controller_spec.rb
- spec/selenium/context_modules/selective_release/module_selective_release_item_assign_to_spec.rb 51 additions, 0 deletions...e_release/module_selective_release_item_assign_to_spec.rb
- ui/shared/context-modules/differentiated-modules/react/Item/ItemAssignToCard.tsx 1 addition, 1 deletion...es/differentiated-modules/react/Item/ItemAssignToCard.tsx
- ui/shared/context-modules/differentiated-modules/react/Item/ItemAssignToTrayContent.tsx 34 additions, 9 deletions...erentiated-modules/react/Item/ItemAssignToTrayContent.tsx
- ui/shared/context-modules/differentiated-modules/utils/__tests__/assignToHelper.test.ts 53 additions, 14 deletions...erentiated-modules/utils/__tests__/assignToHelper.test.ts
- ui/shared/context-modules/differentiated-modules/utils/assignToHelper.ts 215 additions, 125 deletions...xt-modules/differentiated-modules/utils/assignToHelper.ts
- ui/shared/context-modules/differentiated-modules/utils/hooks/queryFn.ts 5 additions, 5 deletions...ext-modules/differentiated-modules/utils/hooks/queryFn.ts
Loading
Please register or sign in to comment