1. 13 Apr, 2021 3 commits
    • Eduardo Sanz García's avatar
      Add annotation synchronisation to the notebook · 0eba1843
      Eduardo Sanz García authored
      This PR displays a button when there are new/deleted/updated annotations
      on that the group. Clicking on the button updates the annotation thread
      with the updated annotations. Currently, the button is placed by the
      thread count.
      
      If there are filters applied in the notebook the button is not shown.
      
      To test this change make sure you update `h` to the latest version (so
      it includes https://github.com/hypothesis/h/pull/6580)
      0eba1843
    • Robert Knight's avatar
      Add a comment to explain code paths in `setHighlightsFocused` · 550eca2a
      Robert Knight authored
      This addresses PR feedback.
      550eca2a
    • Robert Knight's avatar
      Improve readability of focused PDF highlights · 599cfba3
      Robert Knight authored
      The visible part of PDF highlights are created by SVG elements which are
      multiply-blended with the PDF content to enhance legibility of
      highlighted text.  The blueish background for focused highlights was
      still being applied to the transparent text layer on top of the PDF
      which contains the `<hypothesis-highlight>` elements. This impacted the
      legibility of focused highlights.
      
      Improve the readability of PDF highlights by instead modifying the fill
      color of the SVG element.
      599cfba3
  2. 12 Apr, 2021 15 commits
  3. 09 Apr, 2021 10 commits
  4. 08 Apr, 2021 2 commits
  5. 07 Apr, 2021 7 commits
  6. 06 Apr, 2021 3 commits
    • Eduardo Sanz García's avatar
      Swap types of search options · 1e099d9b
      Eduardo Sanz García authored
      The types for `SortBy` and `SortOrder` were swapped.
      1e099d9b
    • Robert Knight's avatar
      Add space before `/>` in self-closing tag · 940db5b4
      Robert Knight authored
      This matches how Prettier formats self-closing JSX tags and makes
      expressions such as `<Widget expanded />` more readable.
      940db5b4
    • Robert Knight's avatar
      Improve JSX code formatting in dev server · 610cc5eb
      Robert Knight authored
       - Indent children by two spaces
      
       - Handle boolean props closer to how we normally set them in JSX by omitting
         them if false and including them without explicit values if true.
         This assumes that boolean props default to false. If there is a
         scenario in future where this is not the case, this behavior may need
         to be configurable.
      
       - Handle `bigint` numeric values. We have no use case for this, but
         TypeScript pointed out that it wasn't handled.
      
       - Add JSDoc comments
      610cc5eb