See parent epic: openedx/openedx-platform#37819
Rollout Position
Step 3 of 8 — Small-medium footprint (~924 LOC core + vendored annotator.js files). Before removing, verify that xmodule/annotator_mixin.py is not used by any other remaining block.
Block Details
|
|
| Toggle |
USE_EXTRACTED_ANNOTATABLE_BLOCK in openedx/envs/common.py |
| Shim class |
_BuiltInAnnotatableBlock in xmodule/annotatable_block.py |
| Entrypoint |
annotatable = "xmodule.annotatable_block:AnnotatableBlock" in pyproject.toml |
Checklist
Pre-condition
Steps (single PR)
See parent epic: openedx/openedx-platform#37819
Rollout Position
Step 3 of 8 — Small-medium footprint (~924 LOC core + vendored annotator.js files). Before removing, verify that
xmodule/annotator_mixin.pyis not used by any other remaining block.Block Details
USE_EXTRACTED_ANNOTATABLE_BLOCKinopenedx/envs/common.py_BuiltInAnnotatableBlockinxmodule/annotatable_block.pyannotatable = "xmodule.annotatable_block:AnnotatableBlock"inpyproject.tomlChecklist
Pre-condition
xmodule/annotator_mixin.pyis not referenced by any other remaining block.Steps (single PR)
USE_EXTRACTED_ANNOTATABLE_BLOCKfromopenedx/envs/common.pyand all usages._BuiltInAnnotatableBlockclass and thefrom xblocks_contrib.annotatable import AnnotatableBlock as _ExtractedAnnotatableBlockimport fromxmodule/annotatable_block.py.annotatable = "xmodule.annotatable_block:AnnotatableBlock"frompyproject.toml.xmodule/annotatable_block.py(Python class)xmodule/annotator_mixin.py(mixin — only if no other block depends on it)xmodule/js/src/annotatable/display.js(JavaScript)common/static/js/vendor/annotator.*.jsfiles (7 vendored Annotator.js files)common/static/css/vendor/edxnotes/annotator.min.csslms/templates/annotatable.html(template)xmodule/static/css-builtin-blocks/AnnotatableBlockDisplay.cssxmodule/static/css-builtin-blocks/AnnotatableBlockEditor.cssAnnotatableBlockDisplay/AnnotatableBlockEditorinwebpack.builtinblocks.config.js