1. 23 Jul, 2020 3 commits
    • Lyza Danger Gardner's avatar
      Remove `RootThread` service · dcd6a55c
      Lyza Danger Gardner authored
      This functionality is now handled by a util
      dcd6a55c
    • Lyza Danger Gardner's avatar
      Restructure root-thread building · ddcad97d
      Lyza Danger Gardner authored
      * Establish a `root-thread` utility that is pure and takes its state
        as a single argument; wrap with `memoize` and export
      * Create a memoized rootSelector in the `selection` module that composes
        the state needed by the `root-thead` utility
      * The `useRootThread` hook uses the selector and the `root-thread` util
      ddcad97d
    • Lyza Danger Gardner's avatar
      Add `useRootThread` hook · bcd4f9b5
      Lyza Danger Gardner authored
      Refactor root-thread usage by UI components to be via a preact hook
      bcd4f9b5
  2. 22 Jul, 2020 2 commits
    • Kyle Keating's avatar
      Improve typechecking for several components and their dependencies · e76b5470
      Kyle Keating authored
      - TagList
      - TagEditor
      - MarkdownEditor
      - Excerpt
      - AutocompleteList
      - AnnotationBody
      e76b5470
    • Kyle Keating's avatar
      Improve typechecking for Stores (#2347) · 6c76613c
      Kyle Keating authored
      Add SidebarStore type. This is an aggregation of the base ReduxStore + each one of our stores baked in. The fist store added here is simply the Activity store (as a first example)
      
      There are some assumptions when making store types:
      
      1. It is assumed they are transformed in `createStore` where the selectors and actions are flattened.
      
      2. Some meta data (namely, the init method, namespace and update method) are refactored or removed.
      
      These transformations are implied through the typing which explicitly ignores these methods and structure of the raw store before the transformation in create-store.
      6c76613c
  3. 21 Jul, 2020 17 commits
  4. 20 Jul, 2020 18 commits