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

Merged
merged 8 commits into from
Oct 8, 2024
Merged

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

This comment was marked as outdated.

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
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.

👍

@simondate simondate self-requested a review October 3, 2024 16:13
Copy link
Member

@simondate simondate left a comment

Choose a reason for hiding this comment

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

Looks good

@oliverfoster oliverfoster merged commit be2018c into master Oct 8, 2024
@oliverfoster oliverfoster deleted the issue/3597 branch October 8, 2024 09:44
github-actions bot pushed a commit that referenced this pull request Oct 8, 2024
# [7.5.0](v7.4.3...v7.5.0) (2024-10-08)

### New

* Added support for _canShowCorrectness (#224) ([be2018c](be2018c)), closes [#224](#224)
Copy link

github-actions bot commented Oct 8, 2024

🎉 This PR is included in version 7.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants