Skip to content
Snippets Groups Projects
  1. Jul 08, 2019
  2. Jul 07, 2019
  3. Jul 06, 2019
  4. Jul 05, 2019
  5. Jul 02, 2019
  6. Jul 01, 2019
  7. Jun 30, 2019
  8. Jun 29, 2019
    • ThibG's avatar
      Optimize makeGetStatus (#11211) · f895bf19
      ThibG authored
      * Optimize makeGetStatus
      
      Because `ImmutableList.filter` always returns a new object and `createSelector`
      memoizes based on object identity, the selector returned by `makeGetStatus`
      would *always* execute.
      
      To avoid that, we wrap `getFilters` into a new memoizer that memoizes based on
      deep equality, thus returning the same object as long as the filters haven't
      changed, allowing the memoization of `makeGetStatus` to work.
      
      Furthermore, we memoize the compiled regexs instead of recomputing them each
      time the selector is called.
      
      * Fix memoized result being cleared too often
      
      * Make notifications use memoized getFiltersRegex
      f895bf19
    • ThibG's avatar
      When sending a toot, ensure a CW is only set if the CW field is visible (#11206) · ccc7fe3e
      ThibG authored
      In some occasions, such as the browser or a browser extension auto-filling
      the existing but disabled/hidden CW field, a CW can be set without the user
      knowing.
      ccc7fe3e
    • ThibG's avatar
Loading