slatex / sTeX-React

GNU Affero General Public License v3.0
3 stars 3 forks source link

timed learning objects #118

Open kohlhase opened 11 months ago

kohlhase commented 11 months ago

We need a functionality in the ALeA frontend that allows us to specify timespans where specific (groups of) learning objects are visible or invisible. To make this feasible we should probably restrict this functionality to learning objects that (on the sTeX side) correspond to a full file, then at each \inputref the frontend can decide of whether it actually serves the target or not depending on the time specification.

The application of this is the publication preferences of the instructors; there are at least three approaches:

Note that since the ALeA content is heavily shared, we cannot just associate the timing information with the learnin objects themselves, but this is a mapping that is a property of the top-level course. E.g. a learning object foo that is shared by two courses could be visible in course A all the time and initially hidden in course B.

I think all these could be supported by what I sketched above. The main problem to solve is a somewhat intuitive interface in which we can specify the timings of the learning objects in courses.

Jazzpirate commented 11 months ago

Note that in the long term this should be entirely covered by just adding or removing a % in front of an \inputref, assuming the lecturers can just click a button to submit the current state to ALeA

abchugh commented 10 months ago

The short-term solution would be to allow instructors to choose the last section (can some UI on the gottos page). But it would increase our dependence on the brittle section-name matching.

The code to hide notes, slides, and cards would be pretty straightforward but may need some time to implement. What else would you like to hide?