• Ahmad Amireh's avatar
    modernize canvas_quizzes · 46f8efd6
    Ahmad Amireh authored
    fixes FOO-1409
    flag  = none
    
    no more client_apps, canvas_quizzes now lives as part of canvas-lms
    proper inside app/jsx/, which makes the build leaner and leaves us with
    one less thing to reason about
    
    logical changes:
    
    - converted from AMD to ES modules
    - upgraded to recent react + react-router
    - dropped RSVP in favor of native Promises
    - used CanvasModal instead of home-grown Dialog
    - removed dead code; notifications in particular were fishy as there had
      no dependents at all and did not even show up in the graph
    - ported tests to Jest, added more unit ones and two integration ones
    - removed "config.onError" and now throws errors where appropriate
    - disabled console statements in non-dev
    
    :: test plan ::
    
    - create a (old-school) quiz containing all types of questions
    - as 3 distinct students, take the quiz and try to randomize your
      answers
    
    at this point it's helpful to have a reference to compare the screens; I
    replicated the quiz on my production sandbox for this
    
    - go to /c...
    46f8efd6
.dockerignore 696 Bytes