1. 15 Mar, 2022 7 commits
  2. 14 Mar, 2022 10 commits
  3. 11 Mar, 2022 3 commits
  4. 10 Mar, 2022 3 commits
    • Robert Knight's avatar
      Ignore fixed-positioned content which choosing a scroll anchor · 04e8025f
      Robert Knight authored
      When choosing a scroll anchor to preserve the visible content after toggling
      side-by-side mode, ignore content in elements with `position: fixed` or
      `position: sticky` styles, since this content won't significantly shift its
      position as a result of the document content being resized.
      04e8025f
    • Robert Knight's avatar
      Increase timeout in test · 73acd7d2
      Robert Knight authored
      `waitFor` has a short default timeout of 10ms and this test sometimes
      failed in CI. Try increasing it to reduce flakiness. We might want to
      consider changing the `waitFor` default in future, although we also want
      to encourage test authors to avoid writing tests that frequently wait
      for long (> 10ms) periods of time.
      73acd7d2
    • Lyza Danger Gardner's avatar
      61be5879
  5. 09 Mar, 2022 4 commits
    • Robert Knight's avatar
    • Robert Knight's avatar
      01431523
    • Robert Knight's avatar
      Make src/annotator/ and src/boot/ typecheck with `noImplicitAny` · 08fd737c
      Robert Knight authored
       - Add missing types in src/annotator and src/boot.
      
       - Simplify the return types of some config parsing functions by
         coercing invalid values to `null` or some other default. This reduces
         complexity with the types elsewhere and also potentially avoids some
         confusing errors if invalid values are specified here.
      
       - Add type definitions for hammerjs, scroll-into-view and
         lodash.debounce. The definitions for hammerjs and scroll-into-view
         come from DefinitelyTyped. For lodash a minimal custom definition has
         been written because the @types/lodash.debounce package includes
         types for the whole of lodash.
      
         In order to use these types the `allowSyntheticDefaultImports` flag
         had to be enabled in the TS configs.
      
         A consequence of adding types for scroll-into-view is that some
         missing null checks in sidebar components were found.
      08fd737c
    • Lyza Danger Gardner's avatar
      Re-implement `.styled-text` · f090632a
      Lyza Danger Gardner authored
      Re-implement `.styled-text` in Tailwind:
      
      * Simplify as much as possible and only impose rules that directly apply
        to a block of styled text
      * Re-generate heading size scale using `type-scale.com` (previous tool
        is no longer extant)
      * Ensure that all rules operate with `em` units (proportional to
        inherited font size)
      
      A subsequent step would be to extract a styled-text reusable component.
      f090632a
  6. 08 Mar, 2022 11 commits
  7. 04 Mar, 2022 2 commits