1. 07 Jun, 2022 2 commits
  2. 31 May, 2022 11 commits
  3. 23 May, 2022 14 commits
  4. 19 May, 2022 4 commits
  5. 18 May, 2022 4 commits
  6. 17 May, 2022 1 commit
  7. 16 May, 2022 4 commits
    • Lyza Danger Gardner's avatar
    • Robert Knight's avatar
      Remove some comments that are liable to get out of date · 739efa8b
      Robert Knight authored
      Avoid having too many comments about how the UI works in non-UI code.
      739efa8b
    • Robert Knight's avatar
      BinaryOpFilter => BooleanOpFilter · 38f90299
      Robert Knight authored
      The name `BinaryOpFilter` was wrong because the filter can take any
      number of sub-filters. Also the 'AND' and 'OR' combinators, in the
      context of search engines, are normally described as boolean operators.
      38f90299
    • Robert Knight's avatar
      Refactor annotation filtering to improve typing and documentation · d4d8c0bf
      Robert Knight authored
      Replace the loosely typed `Checker` interface in `view-filter.js`, which
      used `any` for field values, with a `Matcher` interface which is
      parametrized by the type of parsed query terms/field values. In order to
      do this it was necessary to make normalization of query terms/field
      values part of the `Matcher` interface.
      
      In the process, some additional simplifications/clean-up has been done:
      
       - Remove the `autofalse` check. This was a very minor optimization and many of
         these functions were broken in the sense that they could never return false,
         in order to short-circuit filtering, given the current types of `Annotation`
         object fields.
      
       - Fix a very minor bug where user query terms that contained a suffix
         of the username followed by a prefix of the display name could match.
         The query term should be tested against the username and display name
         separately.
      
       - Eliminate unused `field` argument to TermFilter constructor
      d4d8c0bf