Dashboard Block (OC-560) #3
Merged
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.
Rebased version of open-craft/xblock-mentoring#10 .
Description: This is a new "Dashboard" XBlock needed for the upcoming Data Wise course. It provides a nice way to summarize a user's self-assessment results.
You configure it like this, by pasting in the

url_names of some Problem Builder ("Mentoring") blocks:And it will then look like this (after a student has submitted their answers):

Also, if you configure some fancy rules like this:

You can get a visual summary like this, that reflects the average value of each step. It can use the same color rules to color in the images:

Sandbox: http://sandbox3.opencraft.com:18010/container/i4x://BradenX/DWD/vertical/67f9498331e94553aeab1f5a8cfd5c8e