• Lyza Danger Gardner's avatar
    Do not link to documents for third-party annotations · 0aa62e16
    Lyza Danger Gardner authored
    - Refactor `ShowDocumentInfo`: don't link to documents for third-party
      annotations. This is a possibly-temporary measure to prevent linking
      to documents that are not directly accessible, e.g. in an LMS context.
    - Remove unnecessary forwarding of `showDocumentInfo` through several
      components.
    - Centralize some logic in `AnnotationHeader` and make `ShowDocumentInfo`
      a dumb component.
    0aa62e16
Annotation.js 4.21 KB