1. 02 Nov, 2022 3 commits
  2. 01 Nov, 2022 1 commit
    • Lyza Danger Gardner's avatar
      Add `$cluster` client property to annotation objects · 2d25a77e
      Lyza Danger Gardner authored
      This property is set when an annotation object is initialized in:
      
      * annotator: In `guest`, when a user creates a new annotation or highlight
        via the adder controls
      * sidebar: In the `annotations` store module when annotation objects are
        initialized before being added to the store
      
      This property is communicated between the sidebar and the annotator when
      exchanging annotation data. In the annotator, the value of this property
      is used to set an additional CSS class on drawn anchor highlights
      (`<hypothesis-highlight>` `span`s).
      
      The presence of this CSS class will allow subsequent differentiated styling
      for highlight clusters.
      2d25a77e
  3. 31 Oct, 2022 9 commits
  4. 28 Oct, 2022 9 commits
  5. 27 Oct, 2022 1 commit
    • Robert Knight's avatar
      Send frame identifier for guests as part of connection setup · d72c4b1d
      Robert Knight authored
      Guest frames pass an identifier for their associated browser frame to the
      sidebar. The sidebar in turn uses this identifier as a key to refer to different
      guests in various places. This identifier used to be sent as part of the
      `documentInfoChanged` message after a guest <-> sidebar connection is
      established, rather than as part of the initial connection metadata. As a result
      the sidebar had to invent a temporary ID for the new guest, which was used until
      it learned the real ID.
      
      This commit simplifies the picture by adding a `sourceId` attribute to frame
      connection setup messages. This replaces the `frameIdentifier` in the
      `documentInfoChanged` message, and allows the sidebar to know the final ID of
      the guest as soon as it connects.
      d72c4b1d
  6. 26 Oct, 2022 10 commits
  7. 25 Oct, 2022 7 commits