Repository navigation
Conversation
kdmccormick
left a comment
There was a problem hiding this comment.
Nice approach.
Rather than going through .scope_ids, can you use the usage_key and context_key helper attributes defined here? https://github.com/openedx/XBlock/blob/v5.3.0/xblock/core.py#L422-L446 .
The .scope_ids field is technically correct to use, but it's honestly just verbose and hard for developers to understand. The usage_key and context_key were added a couple years ago specifically to make it nicer for developers. My bad for not clarifying that earlier.
I've updated the XModuleMixin and CourseOverview classes to follow the same pattern: openedx/openedx-platform#37845. Do you mind reviewing that PR?
22b71fc to
9a0ff81
Compare
a5dc6ac to
e78be4e
Compare
|
Closing as we have decided to do it in seperate PR's per block. |
Ticket: #125
openedx-platformtest cases PRDetails can be found here:
#125 (comment)