1. 07 Dec, 2021 3 commits
    • Robert Knight's avatar
      Serve boot script with correct mime type · 251410ca
      Robert Knight authored
      It was previously served as text/html, which caused warnings in some
      contexts.
      251410ca
    • Robert Knight's avatar
      Modernize browser check logic · 7173bde9
      Robert Knight authored
      Update the representative feature tests to check for Shadow DOM v1 and CSS grid.
      
      This avoids loading the client in browsers that are definitely too old.
      7173bde9
    • Lyza Danger Gardner's avatar
      Fully un-set user-focus filter when empty user is passed · 791c4bf2
      Lyza Danger Gardner authored
      Fix a UI confusion by fully un-setting the user-focus filter if a
      empty user value is provided to the `changeFocusModeUser` RPC method.
      
      This prevents a confusing half-set user-focus filter from sticking
      around when an instructor returns to viewing all users in grading mode
      after focusing on one or more students.
      791c4bf2
  2. 06 Dec, 2021 12 commits
  3. 03 Dec, 2021 5 commits
  4. 02 Dec, 2021 9 commits
  5. 01 Dec, 2021 5 commits
  6. 30 Nov, 2021 2 commits
  7. 29 Nov, 2021 4 commits
    • Robert Knight's avatar
      Call PortProvider.listen sooner · 8983aba1
      Robert Knight authored
      Call `listen` immediately after creating the PortProvider, before
      creating the sidebar.
      
      This will allow us to rule out the possibility that the sidebar sometimes fails
      to connect to the PortProvider because an error occurred in the annotator code
      after creating the sidebar iframe but before calling `PortProvider.listen`,
      resulting in the PortProvider listener not being created.
      8983aba1
    • Robert Knight's avatar
      Remove document_url metadata from Sentry reports · 62e9ea2e
      Robert Knight authored
      This has been replaced by the `hostURL` value in the `host_config`
      metadata, which comes from the `#config` fragment. The `hostURL` value
      should always contain the full URL, whereas `document_url` gets
      truncated to the origin in many browsers. Also the term `hostURL` more
      accurately reflects what the value is, since it may be different than
      the document for which the client is displaying annotations.
      62e9ea2e
    • Robert Knight's avatar
      Add client version and host URL to config passed to sidebar app · 4b36eaf9
      Robert Knight authored
       - Add the client version to the config so that we can rule out problems
         in the sidebar app because caused by a mismatch between the version
         of the client used in the annotator and the version used in the
         sidebar app.
      
       - Add the host URL to the config so that we can tell in Sentry reports
         which page embedded the client. Sentry reports currently have
         `document_url` metadata that is set using `document.referrer` in the
         sidebar app, but this gets truncated to the origin in some browsers.
      4b36eaf9
    • Robert Knight's avatar
      Do not copy nullish values in app config · 8e47fb13
      Robert Knight authored
      These are ignored by the sidebar app anyway, and they add noise to
      Sentry reports and logs.
      8e47fb13