-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New: Added support for _canShowCorrectness #197
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
PR comment updated to include latest commits: example, readme and schemas updated. Globals |
PR updated to include default prefix text added for the correct options. |
+1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working as expected
🎉 This PR is included in version 7.5.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
part of adaptlearning/adapt_framework#3597
Allows option
_canShowCorrectness
instead of_canShowModelAnswer
, to replace the associated toggle button and display correctness directly on the component.New
_canShowCorrectness
_canShowCorrectness true
.show-correctness
widget class appended for consistency with other question components. Note, there's no associated styling currently.correctAnswerPrefix
andcorrectAnswersPrefix
added to support both single and multiple correct answers. For now this just exists in course_globals
but could later add a component level override if needed. Or move these to Core if shared across question components. Prefix is optional.Requires
ref adaptlearning/adapt-contrib-core#582