1. 02 Aug, 2022 4 commits
    • Robert Knight's avatar
      Send content banner data to all guests · 86e20797
      Robert Knight authored
      Even though this data is only used by (or at least, we expect it to only be used
      by) the main guest, we can get it there faster if we send the data to all
      guests. This avoids the need to wait for the `documentInfoChanged` event to be
      sent by the guest to the sidebar, in order for the sidebar to know whether a
      guest is the main one or not. In the context of PDFs, this event is only sent
      once the full PDF has been loaded.
      
      If in future we do need to distinguish between main and non-main guests when
      sending this event, it would be better to rework the guest <-> sidebar
      connection protocol so that the sidebar can know immediately whether a guest is
      the main one or a sub-frame, without having to wait for `documentInfoChanged`.
      
      As a bonus, sending the data to all guests simplifies some tests.
      86e20797
    • Robert Knight's avatar
      Transmit content info banner data from sidebar to main guest · fa912dcb
      Robert Knight authored
      When data for the content info banner has been received by the sidebar and added
      to the store, send it to the main guest in a `showContentInfo` call. The guest
      then calls the integration's `showContentInfo` method to actually display the
      data to the user, in a location that is appropriate for the content type.
      fa912dcb
    • Robert Knight's avatar
      Allow LMS app to trigger display of content info banner in client · cc770347
      Robert Knight authored
      Add an embedder RPC handler that will allow the LMS frontend to pass
      metadata about the current content to the client, for display by the
      ContentInfoBanner component in the main guest frame.
      cc770347
    • Robert Knight's avatar
      72c5253b
  2. 01 Aug, 2022 10 commits
  3. 28 Jul, 2022 1 commit
  4. 25 Jul, 2022 15 commits
  5. 20 Jul, 2022 2 commits
  6. 19 Jul, 2022 1 commit
  7. 18 Jul, 2022 7 commits