Problem Builder: Add instance-wide option to hide global feedback and results for Long Answer blocks #104
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces an instance-wide option to hide global feedback and results (correct/incorrect) icons for Long Answer blocks in Problem Builder. When this option is enabled (and there are some attempts left), students will still receive global and per-question feedback after providing answers and submitting the containing block, but that feedback will not be visible when they return to the block.
cf. MCKIN-3858
Screenshots: LMS
Default settings:
Feedback hidden:
Screenshots: Apros
Default settings:
Feedback hidden:
Test instructions
Create a subsection with two units and add a Problem Builder block to each one.
Add a long answer, MCQ, Rating, MRQ, and Slider to one of the Problem Builder blocks.
Publish the units.
In LMS/Apros, provide answers to all questions and click "Submit".
Navigate to the other unit, then come back to the first unit. Observe that Problem Builder shows global and per-question feedback for all questions.
In
lms.env.json, enable the new option by modifying theXBLOCK_SETTINGSformentoring:Restart LMS/Apros and reload the page showing the first unit. Observe that Problem Builder does not show global feedback and results for the Long Answer are hidden.