See parent epic: openedx/openedx-platform#37819
Rollout Position
Step 6 of 8 — The XBlock file itself is small (310 LOC), but extra smoke testing is warranted: the extracted Discussion toggle was previously reverted before being re-enabled (feat: enable extracted discussion xblock followed by a prior revert). The lms/djangoapps/discussion/ Django app (34K LOC) is out of scope and is not being removed.
Block Details
|
|
| Toggle |
USE_EXTRACTED_DISCUSSION_BLOCK in openedx/envs/common.py |
| Shim class |
_BuiltInDiscussionXBlock in xmodule/discussion_block.py |
| Entrypoint |
discussion = "xmodule.discussion_block:DiscussionXBlock" in pyproject.toml |
Checklist
Pre-condition
Steps (single PR)
Scope Notes
Out of scope for this issue:
lms/djangoapps/discussion/ — the full discussion forum Django app (89 files, 34K LOC). This is a separate service that remains in edx-platform regardless of this XBlock removal.
See parent epic: openedx/openedx-platform#37819
Rollout Position
Step 6 of 8 — The XBlock file itself is small (310 LOC), but extra smoke testing is warranted: the extracted Discussion toggle was previously reverted before being re-enabled (
feat: enable extracted discussion xblockfollowed by a prior revert). Thelms/djangoapps/discussion/Django app (34K LOC) is out of scope and is not being removed.Block Details
USE_EXTRACTED_DISCUSSION_BLOCKinopenedx/envs/common.py_BuiltInDiscussionXBlockinxmodule/discussion_block.pydiscussion = "xmodule.discussion_block:DiscussionXBlock"inpyproject.tomlChecklist
Pre-condition
Steps (single PR)
USE_EXTRACTED_DISCUSSION_BLOCKfromopenedx/envs/common.pyand all usages._BuiltInDiscussionXBlockclass and thefrom xblocks_contrib.discussion import DiscussionXBlock as _ExtractedDiscussionXBlockimport fromxmodule/discussion_block.py.discussion = "xmodule.discussion_block:DiscussionXBlock"frompyproject.toml.xmodule/discussion_block.py(Python class)xmodule/js/src/discussion/display.js(JavaScript)Scope Notes
Out of scope for this issue:
lms/djangoapps/discussion/— the full discussion forum Django app (89 files, 34K LOC). This is a separate service that remains in edx-platform regardless of this XBlock removal.