1. 09 Aug, 2021 18 commits
  2. 06 Aug, 2021 4 commits
  3. 05 Aug, 2021 10 commits
  4. 04 Aug, 2021 6 commits
  5. 03 Aug, 2021 2 commits
    • Robert Knight's avatar
      Omit query params with `undefined` values from API calls · 71e9385e
      Robert Knight authored
      The previous version stated that it aimed to match the behavior of the
      `query-string` package but it was actually tested against Node's
      `querystring` package, which has slightly different behavior for this
      edge case. It omits parameters with `undefined` values and renders empty
      parameters for `null` values.
      
      The notebook view was calling `api.search({ uri: undefined, ... })` and
      this translated to `/api/search?uri=&...` which caused an error.
      
      Omit parameters instead in this case.
      71e9385e
    • Robert Knight's avatar
      Change serialization of nullish query parameters in API calls · 98f66222
      Robert Knight authored
      The Notebook view failed to show results because the parameters passed
      to the API search call included `{ uri: undefined }` and the logic for
      serializing parameters failed to handle this, so the search API call was
      not made.
      
      This commit makes the handling of nullish values in API method calls
      match the previous behavior and adds a test.
      98f66222