feat: add reset option to the Randomized Content Block - #28624
feat: add reset option to the Randomized Content Block#28624tinuademargaret wants to merge 3 commits into
Conversation
|
Thanks for the pull request, @tinumide! I've created OSPR-6013 to keep track of it in JIRA, where we prioritize reviews. Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
|
@tinumide Thank you for your contribution. Let me kick the checks off. |
a1003e2 to
46252f8
Compare
Agrendalath
left a comment
There was a problem hiding this comment.
@tinumide, please address the remaining comment and squash the commits into one with a meaningful description.
👍
- I tested this: tested that it's possible to reset and reshuffle selected children of the RCB
- I read through the code
- I checked for accessibility issues: n/a
- Includes documentation: n/a
- I made sure any change in configuration variables is reflected in the corresponding client's
configuration-securerepository: n/a
58273b8 to
a93a031
Compare
|
@giovannicimolin, can we add this to the OSPR list? It might need a product review. |
|
@Agrendalath Done, I've added this to the OSPR list. |
6426866 to
f33bdbb
Compare
Agrendalath
left a comment
There was a problem hiding this comment.
@tinumide, we need these two small changes. Please squash commits after addressing them and rebase this on the master branch to ensure that the CI works correctly.
f01cbcc to
6aa10e9
Compare
5a01e8b to
5e88115
Compare
|
Your PR has finished running tests. There were no failures. |
This adds a reset option to a Randomized Content Block (LibraryContentBlock) to allow an OpenEdx user to reset questions in a Randomized Content Block. This is achieved by adding a `Reset Problems` button to the UI of a vertical with randomized content, and a reset handler to process the request.
35c9244 to
4626db5
Compare
|
@tinumide Can you please sign https://openedx.org/cla? Without it we, unfortunately, cannot review and merge your code. |
|
@natabene, Tinuade is no longer working with OpenCraft. We will recreate this PR and link it for reference. |
|
@Agrendalath I see, thanks for clarifying. Do you want me to close this PR? |
|
@tinumide Even though your pull request wasn’t merged, please take a moment to answer a two question survey so we can improve your experience in the future. |
Description
This adds a reset option to the randomized content block. This way students can prepare themselves for exams by answering a series of questions at random from a pre-determined set (something similar to flashcards).
We have been doing it with Python scripts within the CAPA blocks - questions and answers were included directly in the script and the reset button was changing the seed used for determining the question set. This PR introduces a similar functionality by using built-in Open edX features, thus making it more user-friendly and available for less technical course authoring teams.
Supporting information
BB-4659
A video showing this feature.
Testing instructions
tinumide/add_reset_to_randomized_content_blockonedx-platform.Show Reset Buttonoption toTrue.Reset Problemsbutton on the bottom left part of the Randomized Content Block.