1. 21 Apr, 2022 13 commits
  2. 20 Apr, 2022 5 commits
  3. 19 Apr, 2022 17 commits
  4. 15 Apr, 2022 2 commits
  5. 14 Apr, 2022 3 commits
    • Robert Knight's avatar
      Make APIService typecheck with `noImplicitAny` · 2ac4d66f
      Robert Knight authored
       - Rewrite route metadata lookup so TS can understand it better, and to
         explicitly handle the case where an expected route is not found in
         the `/api/` response. We don't expect this to happen in normal
         usage but it would provide a more obvious error if eg. something
         intercepted the `/api/` request or a modified fork of h removes a
         route that the client needs.
      
       - Rewrite `stripInternalProperties` helper to use `Object.entries`
         rather than a `for..in` loop
      
       - Set the default type to `void` for request and response bodies (ie.
         assume no request/response body unless specified).
      
       - Adjust types and casts for APICall. To typecheck with `noImplicitAny`
         we need to cast the generic `APICall<...>` to the type for a specific
         route.
      2ac4d66f
    • Lyza Danger Gardner's avatar
      Transition `HypothesisApp` to Tailwind · 3f20c4b3
      Lyza Danger Gardner authored
      - Use `SidebarContent` component
      - Remove unused CSS
      3f20c4b3
    • Lyza Danger Gardner's avatar
      Extract `SidebarContent` presentational component · 163f3899
      Lyza Danger Gardner authored
      - Add utility for generating presentational (styling-only) components
      - Use `SidebarContent` in `TopBar`
      163f3899