Commit f3724d8
refactor: slash-and-burn Poll BuiltIn XBlock
Removes the built-in Poll XBlock implementation and all associated assets
now that the extracted `xblocks_contrib.poll.PollBlock` is the default
(USE_EXTRACTED_POLL_QUESTION_BLOCK has been True since extraction).
- Remove USE_EXTRACTED_POLL_QUESTION_BLOCK toggle from common.py
- Remove poll_question entrypoint from pyproject.toml
- Delete xmodule/poll_block.py (built-in class + shim)
- Delete xmodule/js/src/poll/ (JS assets)
- Delete lms/templates/poll.html
- Delete xmodule/static/css-builtin-blocks/PollBlockDisplay.css
- Remove PollBlockDisplay/PollBlockEditor webpack entries
- Delete xmodule/tests/test_poll.py (covered by xblocks-contrib)
Closes openedx/public-engineering#533
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent eac4c66 commit f3724d8
11 files changed
Lines changed: 1 addition & 977 deletions
File tree
- lms/templates
- openedx/envs
- xmodule
- js/src/poll
- static/css-builtin-blocks
- tests
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2077 | 2077 | | |
2078 | 2078 | | |
2079 | 2079 | | |
2080 | | - | |
2081 | | - | |
2082 | | - | |
2083 | | - | |
2084 | | - | |
2085 | | - | |
2086 | | - | |
2087 | | - | |
2088 | 2080 | | |
2089 | 2081 | | |
2090 | 2082 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 53 | | |
61 | 54 | | |
62 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
| 424 | + | |
442 | 425 | | |
443 | 426 | | |
444 | 427 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments