enhancement-967: questionView model code > questionModel#981
Conversation
| '_isQuestionType': true, | ||
| '_canShowModelAnswer': true, | ||
| '_questionWeight': Adapt.config.get("_questionWeight"), | ||
| }, ComponentModel.prototype.defaults); |
There was a problem hiding this comment.
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 installandnpm installgrunt devTo test components in the new style:
adapt.jsonmcqandgmcqoptions to"enhancement-967"adapt installandnpm installgrunt dev