1. 30 Jun, 2020 1 commit
  2. 26 Jun, 2020 5 commits
    • Robert Knight's avatar
      Typecheck src/sidebar/services · 9f809959
      Robert Knight authored
      Enable minimal typechecking for src/sidebar/services. Note that most
      service factories are missing parameter documentation, so their usage is
      not checked.
      
       - Fix up JSDoc errors and omissions in `src/sidebar/services`
       - Add types for the `tiny-emitter` npm module. The module does ship
         with its own types, but doesn't specify the types for the default
         export
       - Add additional properties to `Annotation`, `Group` and `Profile` API objects
      9f809959
    • Robert Knight's avatar
      Merge pull request #2280 from hypothesis/typecheck-annotator-util · 748479d7
      Robert Knight authored
      Typecheck `src/annotator/{config, util}` and `src/sidebar/*.js`
      748479d7
    • Robert Knight's avatar
      Merge pull request #2273 from hypothesis/simplify-since-parsing · e9f4f9ba
      Robert Knight authored
      Simplify `since:<time>` filter query parsing and remove `result:<term>` parsing
      e9f4f9ba
    • Robert Knight's avatar
      Typecheck `src/annotator/{config, util}` and `src/sidebar/*.js` · a1ae89ee
      Robert Knight authored
      Enable typechecking for the following directories:
      
       - src/annotator/config
       - src/annotator/util
       - src/sidebar (excluding `ga.js`, `icons.js` and `index.js`)
      
      Many functions in these directories are still not annotated, but this
      will be added over time. `ga.js` was excluded because it deals with
      globals added by Google Analytics. `icons.js` was excluded because TS
      doesn't know how to handle `require('.../some-icon.svg')`. `index.js`
      was excluded because that imports (and thus triggers checking for) every
      other file in the sidebar app. It will need to be enabled last.
      a1ae89ee
    • Robert Knight's avatar
      Remove `result:<term>` parsing · 0f219517
      Robert Knight authored
      There were no tests for this and this field is not used in the code that
      consumes the output of filter query parsing (`view-filter.js` and
      `stream-filter.js`).
      0f219517
  3. 25 Jun, 2020 23 commits
  4. 24 Jun, 2020 8 commits
  5. 23 Jun, 2020 3 commits