openedx / edx-platform

The Open edX LMS & Studio, powering education sites around the world!
https://openedx.org
GNU Affero General Public License v3.0
7.47k stars 3.89k forks source link

PollBlock Extraction #34839

Open farhan opened 6 months ago

farhan commented 6 months ago

Parent Ticket

farhan commented 5 months ago

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

kdmccormick commented 5 months ago

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