You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LMS backend is going to generate an opaque set of metadata to store alongside annotations.
To communicate that to the H's service in the LMS context the LMS backend is going to expose a config option to the LMS front end which should be used by the client to finally pass it to the H's server.
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 hypothesis/lms#5698
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 hypothesis/lms#5698
The LMS backend is going to generate an opaque set of metadata to store alongside annotations.
To communicate that to the H's service in the LMS context the LMS backend is going to expose a config option to the LMS front end which should be used by the client to finally pass it to the H's server.
Based on:
hypothesis/h#8175
hypothesis/h#8182
#5697
#5697 defines a new client configuration options which includes includes an opaque dictionary with LMS specific data.
That dictionary should be forwarded to H's API as the
metadata
key in the API, following the changes made in hypothesis/h#8175The text was updated successfully, but these errors were encountered: