edx-platform icon indicating copy to clipboard operation
edx-platform copied to clipboard

PollBlock Extraction

Open farhan opened this issue 1 year ago • 2 comments

Parent Ticket

farhan avatar May 22 '24 10:05 farhan

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 avatar Jun 05 '24 10:06 farhan

@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.

kdmccormick avatar Jun 05 '24 17:06 kdmccormick

PR link https://github.com/openedx/xblocks-contrib/pull/11

salman2013 avatar Apr 04 '25 09:04 salman2013

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

salman2013 avatar Aug 21 '25 12:08 salman2013