PollBlock Extraction
Task update
@kdmccormick @feanil cc: @irtazaakram
During our initial spike run, we extracted the poll XBlock separately and copied all of its dependencies into a new repository.
Later on we discovered that the XBlock support for Studio is unavailable and found another excellent poll XBlock that is installed in the dev stack by default. This alternative XBlock appears to be widely used by the Open edX community.
Given this, shouldn't we deprecate the poll XBlock currently in the edX platform since it lacks Studio support? We're curious if any clients are actively using it.
References: https://github.com/openedx/edx-platform/issues/32827 https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/latest/exercises_tools/poll.html
@farhan Good question. OpenCraft's poll block is not a drop-in replacement for the old poll_question block in edx-platform. If we deprecated and removed poll_question, then it would break compatibility with older courses that use it. Unfortunately, given the nature of the project, we do not have a sure way of knowing who is using poll_question, so must assume that somebody is still using it and continue supporting it.
The same is true for the lti and discussion blocks. They have been replaced by lti_consumer and in-unit discussions, but we must continue to support the old versions. I've updated the wiki page to make note of this.
PR link https://github.com/openedx/xblocks-contrib/pull/11
Closing and marking this ticket as done as all extracted code has been merged into xblocks-contrib repo and we have created a new story to track the enabling of Extracted Xblocks.
https://github.com/openedx/edx-platform/issues/37254