rage / quizzes

Apache License 2.0
5 stars 5 forks source link

Multiple choices rework #782

Closed sebazai closed 3 years ago

sebazai commented 3 years ago

Currently Quizzes ver. 0.9.10 only works on Ohjelmointi-21. Latest version crashes because Ohjelmointi-21 has many quiz items in one quiz.

For Economics MOOC we want to show feedback for each answer option, this is something that we don't want in ohjelmointi-21, even though they have unlimited tries.

Fixes #781 :

To do (Comments please):

image

sebazai commented 3 years ago

image

What is the purpose of this checkbox?

If I look at Elements, this checkbox doesn't seem to be toggled and they receive only one feedback when answering a Quiz item and not a feedback for each answer option

nygrenh commented 3 years ago
enum QuizItemFeedbackDisplayPolicy {
  DisplayFeedbackOnQuizItem,
  DisplayFeedbackOnAllOptions,
}
codecov[bot] commented 3 years ago

Codecov Report

Merging #782 (92152e1) into master (9277cb2) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #782   +/-   ##
=======================================
  Coverage   92.08%   92.09%           
=======================================
  Files          63       63           
  Lines        2010     2011    +1     
  Branches      266      267    +1     
=======================================
+ Hits         1851     1852    +1     
  Misses        153      153           
  Partials        6        6           
Impacted Files Coverage Δ
packages/backendv2/src/models/quiz_item.ts 100.00% <ø> (ø)
packages/backendv2/tests/data.ts 100.00% <ø> (ø)
packages/backendv2/knexfile.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9277cb2...92152e1. Read the comment docs.