openedx / modular-learning

3 stars 1 forks source link

[Tagging] Discovery: Copying tags when a block is copied #165

Closed bradenmacdonald closed 8 months ago

bradenmacdonald commented 9 months ago

"As a content author, when I copy an XBlock, I expect its tags to be copied too"

When an XBlock is:

  1. Imported from a Library (v2) into a Course
  2. Copied and Pasted directly (within a course or between courses)
  3. Copied and Pasted as part of a larger Unit (within a course or between courses)
  4. Duplicated using the "Duplicate" menu action in Studio ...then the new copy of the XBlock should have the same tags as the original.

"As a content author, when I export and import a library, I expect its components' tags to be preserved"

"As a content author, when I export and import a course, I expect its components' tags to be preserved"

Acceptance criteria:

  1. Determine what is necessary to implement the above, and flag any potential issues around tag/taxonomy permissions.

e.g. How to represent tags in OLX? Should we give taxonomies UUIDs or URL IDs ?

Notes:

  1. Taxonomies should not be exported along with the course/library. Just the tag values (and the taxonomy ID?). On import, the tags should be matched back with the taxonomy.