SlateFoundation / slate-cbl

http://slatefoundation.github.io/slate-cbl/
MIT License
7 stars 7 forks source link

feat: Filter unshared tasks out of clone list and task library [SCHOOL-202, SCHOOL-208] #710

Closed BillClinton closed 2 years ago

BillClinton commented 2 years ago

Closes: SCHOOL-202

The clone menu and task library both currently show all tasks regardless of whether they had their “shared” option checked or not.

Filter non-shared tasks out of both the clone menu and task library

Add fixture data as needed so we have a set of shared and non-shared tasks with corresponding titles, and extend existing automated tests for the teacher tasks dashboard and task library to verify that the clone task menu and the task library both exclude unshared tasks and include shared ones.

Bonus: add an “include unshared” option to the task library’s advanced menu. It is fine for any teacher with access to the task library to be able to browse unshared tasks.