lduarte1991 / hxat

Contains the currently-in-development project by HarvardX to bring the annotation tool currently living in the edX platform to a more accessible LTI implementation.
12 stars 7 forks source link

Allowing Multiple-Paged Images to be Annotated via M2 #160

Closed lduarte1991 closed 2 years ago

lduarte1991 commented 2 years ago

This update contains Hxighlighter v1.5.0 which has the feature requested.

The main chain in this PR is listening for the M2 event that says when the canvas has changed and propagating it to the necessary plugins in the system. The three critical ones are:

  1. The M2 and sidebar plugins to make sure that only things that should be drawn on screen get drawn and they change when next page is selected
  2. The catchpy plugin to make sure that the annotations are saved with the correct canvas ID so that step 1 above works
  3. The websockets plugin to make sure that when a peer makes an annotation it doesn't get drawn where it shouldn't.