-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Converted tabs to spaces, indentation amends * Naming refactor * Bower, example and readme updates * Updated license and cross platform coverage
- Loading branch information
Showing
9 changed files
with
568 additions
and
539 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
{ | ||
"name": "adapt-contrib-confidenceSlider", | ||
"version": "2.2.0", | ||
"framework": ">=2.0.17", | ||
"version": "3.0.0", | ||
"framework": ">=5", | ||
"homepage": "https://github.com/adaptlearning/adapt-contrib-confidenceSlider", | ||
"issues": "https://github.com/adaptlearning/adapt-contrib-confidenceSlider/issues", | ||
"component" : "confidenceSlider", | ||
"displayName" : "Confidence Slider", | ||
"description": "A contributed two-part component that measures user confidence, using a sliding scale.", | ||
"main": "/js/adapt-contrib-confidenceSlider.js", | ||
"displayName" : "Confidence Slider", | ||
"component" : "confidenceSlider", | ||
"keywords": [ | ||
"adapt-plugin", | ||
"adapt-component" | ||
], | ||
"pluginDependencies": { | ||
"adapt-contrib-slider": ">=2.4" | ||
"adapt-contrib-slider": ">=3" | ||
}, | ||
"license": "GPLv3" | ||
"license": "GPL-3.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,75 @@ | ||
{ | ||
"_id": "c-05", | ||
"_parentId": "b-05", | ||
"_type": "component", | ||
"_component": "confidenceSlider", | ||
"_classes": "", | ||
"_layout": "full", | ||
"title": "Confidence Slider component", | ||
"displayTitle": "Confidence Slider", | ||
"body": "Question text here", | ||
"disabledBody": "You need to measure your confidence in the linked part before you can do this part.", | ||
"instruction": "", | ||
"_commentAttempts": "Can only be set to 1", | ||
"_attempts": 1, | ||
"_isResetOnRevisit": false, | ||
"_canShowFeedback": true, | ||
"_commentCanShowMarking": "If you enable _canShowMarking it will work but will always mark as correct answer", | ||
"_canShowMarking": false, | ||
"_recordInteraction": true, | ||
"_commentLinkedToId": "ONLY ADD _linkedToId PROPERTY IF THIS SLIDER LINKS TO ANOTHER", | ||
"_linkedToId": "c-03", | ||
"_showNumber": true, | ||
"_showScaleIndicator": true, | ||
"_showScale": true, | ||
"_showScaleNumbers": true, | ||
"labelStart": "incomplete", | ||
"labelEnd": "complete", | ||
"_scaleStart": 0, | ||
"_scaleEnd": 10, | ||
"_scaleStep": 1, | ||
"_buttons": { | ||
"_submit": { | ||
"buttonText": "Submit", | ||
"ariaLabel": "Submit your answer by clicking here." | ||
}, | ||
"_reset": { | ||
"buttonText": "Reset", | ||
"ariaLabel": "Reset the question by clicking here." | ||
{ | ||
"_id": "c-05", | ||
"_parentId": "b-05", | ||
"_type": "component", | ||
"_component": "confidenceSlider", | ||
"_classes": "", | ||
"_layout": "full", | ||
"title": "Confidence Slider component", | ||
"displayTitle": "Confidence Slider", | ||
"body": "Question text here", | ||
"instruction": "", | ||
"disabledBody": "You need to measure your confidence in the linked part before you can do this part.", | ||
"_commentAttempts": "Can only be set to 1", | ||
"_attempts": 1, | ||
"_shouldDisplayAttempts": false, | ||
"_canShowFeedback": true, | ||
"_commentCanShowMarking": "If you enable _canShowMarking it will work but will always mark as correct answer", | ||
"_canShowMarking": false, | ||
"_questionWeight": 1, | ||
"_recordInteraction": true, | ||
"_comment": "ONLY ADD _linkedToId PROPERTY IF THIS SLIDER LINKS TO ANOTHER", | ||
"_linkedToId": "c-05", | ||
"labelStart": "incomplete", | ||
"labelEnd": "complete", | ||
"_scaleStart": 0, | ||
"_scaleEnd": 10, | ||
"_scaleStep": 1, | ||
"_showNumber": true, | ||
"_showScaleIndicator": true, | ||
"_showScale": true, | ||
"_isResetOnRevisit": false, | ||
"_shouldStoreResponses": true, | ||
"_feedback": { | ||
"feedbackSeparator": " ", | ||
"generic": "Thanks for measuring your confidence.", | ||
"_comparison": { | ||
"lower": "Oh you like it less? That's a shame.", | ||
"same": "Well, at least you don't like it less.", | ||
"higher": "It looks like you're seeing the benefits more and more!" | ||
}, | ||
"_threshold": [ | ||
{ | ||
"_values": { | ||
"_low": 0, | ||
"_high": 5 | ||
}, | ||
"text": "So you're not that confident eh? Don't worry, you will be soon." | ||
}, | ||
{ | ||
"_values": { | ||
"_low": 6, | ||
"_high": 10 | ||
}, | ||
"text": "Feeling pretty confident huh? Let's see how you get on." | ||
} | ||
] | ||
}, | ||
"_showFeedback": { | ||
"buttonText": "Show feedback", | ||
"ariaLabel": "View the question feedback again by clicking here." | ||
} | ||
}, | ||
"_feedback": { | ||
"feedbackSeparator": " ", | ||
"generic": "Thanks for measuring your confidence.", | ||
"_comparison": { | ||
"lower": "Oh you like it less? That's a shame.", | ||
"same": "Well, at least you don't like it less.", | ||
"higher": "It looks like you're seeing the benefits more and more!" | ||
"_pageLevelProgress": { | ||
"_isEnabled": true | ||
}, | ||
"_threshold": [{ | ||
"_values": { | ||
"_low": 0, | ||
"_high": 5 | ||
"_buttons": { | ||
"_submit": { | ||
"buttonText": "Submit", | ||
"ariaLabel": "Submit your answer by clicking here." | ||
}, | ||
"text": "So you're not that confident eh? Don't worry, you will be soon." | ||
}, { | ||
"_values": { | ||
"_low": 6, | ||
"_high": 10 | ||
"_reset": { | ||
"buttonText": "Reset", | ||
"ariaLabel": "Reset the question by clicking here." | ||
}, | ||
"text": "Feeling pretty confident huh? Let's see how you get on." | ||
}] | ||
}, | ||
"_pageLevelProgress": { | ||
"_isEnabled": true | ||
}, | ||
"_shouldStoreResponses": true | ||
} | ||
"_showFeedback": { | ||
"buttonText": "Show feedback", | ||
"ariaLabel": "View the question feedback again by clicking here." | ||
} | ||
} | ||
} |
Oops, something went wrong.