-
Notifications
You must be signed in to change notification settings - Fork 248
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
enhancement-967: questionView model code > questionModel #981
Conversation
'_isQuestionType': true | ||
'_isQuestionType': true, | ||
'_canShowModelAnswer': true, | ||
'_questionWeight': Adapt.config.get("_questionWeight"), | ||
}, ComponentModel.prototype.defaults); |
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.
Maybe add _shouldDisplayAttempts
here?
+1 |
Tutor uses Notify to display feedback. It displays the component title at the top. It would be nice to be able to replace this with text of the author's choosing. If the feedback model could be changed to something like this:
Then each of the three functions, Granted having “final” as the primary “correct” value appears strange at first. But the parallelism with “_incorrect” and “_partlyCorrect” is probably better than _correct.correct. And maybe we go further and include _correct.notFinal. Who knows when someone might find a use case for it. |
+1 |
2 similar comments
+1 |
+1 |
#967
Work done:
Outcome:
Next:
i'll do a pr for mcq and gmcq in this style before the end of the dayenhancement-967: divided into model and view adapt-contrib-gmcq#95
enhancement-967: divided into model and view adapt-contrib-mcq#120
To test backwards compatibility:
adapt install
andnpm install
grunt dev
To test components in the new style:
adapt.json
mcq
andgmcq
options to"enhancement-967"
adapt install
andnpm install
grunt dev