-
Improvement
-
Resolution: Fixed
-
Blocker
-
3.5
Currently the "tags" section of the edit question form will only add tags to the context that question exists in. E.g. If the question is a course category level question the tag instances will be added to the course category context. If it's a course level question then the tag instances will be added to the course context.
We need the ability to add both course context tag instances and course category context tag instances when editing a course category level question in the course context. Phew, that is confusing.
What does this mean in practice?
Background
- We have 2 teachers, t1 and t2
- We have a course (c1) that exists in a course category (cat1).
- We have a course (c2) that exists in cat1
- t1 and t2 are teachers in exactly 1 course each, c1 and c2 respectively.
- There is a question bank question (q1) that exists at the course category (cat1) level.
- The question q1 can be used by any course within cat1's context (both c1 and c2)
Use case
t1 logs in and views the question bank in c1. They change the category filter to see questions from cat1 which shows q1. They decide to edit q1.
Currently, without any changes, t1 will see a single "tags" section in the edit form. Changes here will only add tag instances to the cat1 context which make them available to all courses in belonging to cat1, i.e. c1 and c2.
However, t1 may want to add a tag instance that is specific to their course, c1, which shouldn't be visible to c2 or any other course.
In order to solve that we can add a second "tags" section to the edit form which allows for managing tag instances at the c1 context level. Both tag sections will need to be named appropriately to reflect what context they are being applied to.
Confirmations from MDL-61084
- As a teacher in a course who can edit a question from the course, I can add/modify/remove tags directly on the question, in the edit question form which will apply when the question is searched for in this course
- As a user who can edit questions outside of a course (belonging to the course category or site context), I can add/modify/remove tags directly on the question edit form, which will apply in all contexts the question can be used
- All teachers in a course can see the full list of tags either directly attached to the question from the question bank, or only attached to the question in this course
- Question tags are not specific to a single user (not private)
- Course backups should contain course level question tags
- A course restored from a backup should contain the same set of course level question tags pointing to the correct questions in all cases (same site, new site etc).
- blocks
-
MDL-61465 I should be able to filter by tags in the course and question context in the question bank
-
- Closed
-
-
MDL-61559 Add a confirmation for users when moving question between contexts will cause deletion of tag instance
-
- Open
-
-
MDL-61410 Add support for course level tags when importing and exporting question
-
- Closed
-
-
MDL-61364 Update tag modal to allow managing of question and course context level tag instances
-
- Closed
-
- Testing discovered
-
MDL-61556 Moving question categories between contexts creates multiple top level categories
-
- Closed
-
-
MDL-61557 Moving question categories from a sub category up to a parent category creates multiple top level categories
-
- Closed
-
- will help resolve
-
MDL-61084 As a teacher, I can add tag(s) to a question bank question for use in my course for organizational and search/filtering of questions.
-
- Closed
-
-
MDL-61410 Add support for course level tags when importing and exporting question
-
- Closed
-