1. 08 Jun, 2021 3 commits
    • Robert Knight's avatar
      Improve `initialState` definitions in store modules · 12a1dc4e
      Robert Knight authored
      Convert the `initialState` functions in store modules to `const` values
      for modules where the state is static (ie. does not depend on
      `settings`) and add better type documentation.
      
      Most references to the state are not currently type-checked, but they
      will be in future. In the interim this serves as useful documentation
      for humans.
      12a1dc4e
    • Lyza Danger Gardner's avatar
      f5833aeb
    • Robert Knight's avatar
      Always use current `document.baseURI` in `HTMLMetadata` · 4349ffff
      Robert Knight authored
      `HTMLMetadata` read `document.baseURI` only once in the constructor,
      risking issues to the cached value becoming stale. `document.baseURI` is
      available in all supported browsers and is easily mocked where needed in
      tests, so just always read the current value when needed.
      
      Also remove a `normalizeURI` test seam that was unused. If we did want
      to mock this in future we'd use the `$imports` object as we do in other
      tests.
      4349ffff
  2. 07 Jun, 2021 26 commits
  3. 02 Jun, 2021 1 commit
  4. 01 Jun, 2021 1 commit
  5. 31 May, 2021 9 commits