• Robert Knight's avatar
    Save context metadata provided by LMS app with new annotations · 4fe2f5bf
    Robert Knight authored
    When the embedder frame (eg. our LMS app) provides context metadata to be saved
    with annotations via the `annotationMetadata` config property, save that with
    new annotations in the `metadata` field.
    
    We add this information only when an annotation is created, and not on
    subsequent edits, because the main use case in the LMS context is to record the
    assignment where the annotation was created. If the user edits that annotation
    subsequently in another assignment, we don't want it to be "moved" by updating
    the `metadata` field.
    
    Part of https://github.com/hypothesis/lms/issues/5698
    4fe2f5bf
Name
Last commit
Last update
..
annotator Loading commit data...
boot Loading commit data...
images/icons Loading commit data...
shared Loading commit data...
sidebar Loading commit data...
styles Loading commit data...
test-util Loading commit data...
types Loading commit data...
karma.config.js Loading commit data...
tsconfig.json Loading commit data...