Skip to content
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 #224

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

oliverfoster
Copy link
Member

@oliverfoster oliverfoster commented Sep 10, 2024

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.

image

New

  • Added support for _canShowCorrectness

requires
ref adaptlearning/adapt-contrib-core#582
ref adaptlearning/adapt-contrib-vanilla#527

Copy link
Contributor

@kirsty-hames kirsty-hames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works as expected thanks. Please see comment raised regarding consistency of selector naming/nesting.

less/mcq.less Outdated Show resolved Hide resolved
Copy link
Contributor

@kirsty-hames kirsty-hames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works as expected thanks

Copy link
Contributor

@joe-allen-89 joe-allen-89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All working and much nicer than toggle buttons 👍

@oliverfoster
Copy link
Member Author

Needs schemas, readme and example.json for _canShowCorrectness.

kirsty-hames

This comment was marked as resolved.

@kirsty-hames

This comment was marked as resolved.

...change isn't specific to _canShowModelAnswer functionality and will also apply to other question components
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Reviewing
Development

Successfully merging this pull request may close these issues.

3 participants