Also fixed AT issue that prevented author from selecting component for score constraint.
Test that you can unlock a constraint based on score from the teacher in real time.
Set up:
In the AT, open a unit that is used for a run.
Go to advanced view for the step that you want to lock (step S1), and click on "edit constraints"
Add a constraint:
action = "Make this node not visitable"
removal conditional = "any"
Removal Criteria
-- Removal Criterial name: "score"
-- Step: choose the step that contains the component that you will be grading ("step S2")
-- Component: choose the component that you will be grading ("component S2-C")
-- Score(s): a number, like 5, or multiple numbers separated by a comma ("score X")
As a student, do some work on component S2-C, and try to go to the locked step S1. You shouldn't be able to visit the step, and see a dialog saying that you need to get a score of X on the step S2.
In the grading view, give the student the score of X for component S2-C.
In the student view, try to go to the locked step S1 again. This time, you should be able to advance.
Also fixed AT issue that prevented author from selecting component for score constraint.
Test that you can unlock a constraint based on score from the teacher in real time.
Set up:
Closes #67