Skip to content
Snippets Groups Projects
  1. Apr 07, 2022
    • Claire's avatar
      Fix older items possibly disappearing on timeline updates (#17980) · 1b91359a
      Claire authored
      In some rare cases, when receiving statuses out of order from the streaming
      API then polling from the REST API, it was possible for the
      `expandNormalizedTimeline` function to remove older items from the timeline.
      
      This commit ensures that any item from the replaced slice that is older
      than the oldest item retrieved from the API gets added back to the replaced
      slice.
      1b91359a
  2. Apr 06, 2022
  3. Apr 05, 2022
  4. Apr 04, 2022
    • CommanderRoot's avatar
      Replace deprecated String.prototype.substr() (#17949) · 0ec695e0
      CommanderRoot authored
      
      * Replace deprecated String.prototype.substr()
      
      .substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
      
      * Change String.prototype.substring() to String.prototype.slice()
      
      .substring() and .slice() work very similary but .slice() is a bit faster and stricter
      
      * Add ESLint rule to forbid usage of .substr and .substring
      
      .substr() is deprecated and .substring() is very similar to .slice() so better to use .slice() at all times
      
      Signed-off-by: default avatarTobias Speicher <rootcommander@gmail.com>
      0ec695e0
  5. Apr 03, 2022
  6. Apr 01, 2022
  7. Mar 31, 2022
  8. Mar 30, 2022
  9. Mar 29, 2022
Loading