Skip to content
Snippets Groups Projects
  1. Dec 23, 2019
  2. Dec 22, 2019
  3. Dec 19, 2019
    • Sasha Sorokin's avatar
      Use different strings on exports page (#12569) · 902c6bed
      Sasha Sorokin authored
      Currently the page re-uses strings from other contexts which doesn't fit
      very well - strings incorrectly lowercase-d and pluralized, when they
      don't need to be, because it's a table.
      
      This commit changes page to re-use accounts.posts_tab_heading for toots,
      and admin.accounts for "Following" and "Follows". This all should look
      more aesthetically pleasing.
      902c6bed
    • ThibG's avatar
      Fix manual scrolling issue on Firefox/Windows (#12648) · dc0750ab
      ThibG authored
      Fixes #12607
      
      `will-change: transform` apparently makes manual scrolling impossible on
      Firefox/Windows. While this should probably be considered a Firefox bug,
      `will-change: transform` seem like a very aggressive performance hint that
      may possibly make the browser consume more resources than needed, especially
      in multiple-column mode.
      
      This was originally added to improve scrolling performances on mobile, but
      I think this isn't necessary anymore, because of the two following reasons:
      - `contain: paint` (which is implied by `contain: strict`, which we apply
        whenever the browser supports grids) should have similar effects
      - in single-column mode, the scrolling container is the root element, which
        I believe is optimized in at least Chromium
      
      Keep in mind that I have not been able to make in-depth benchmarks, and
      especially not been able to try on mobile, so performances should probably
      be investigated further…
      dc0750ab
  4. Dec 18, 2019
  5. Dec 17, 2019
  6. Dec 16, 2019
  7. Dec 13, 2019
  8. Dec 12, 2019
    • Sasha Sorokin's avatar
      Avoid using pluralize on moderation pages (#12589) · d5b7a4b1
      Sasha Sorokin authored
      Pluralize function from Rails framework does not work with other
      languages than English, moreover it does not even work properly with
      English [1]. Not that the latest applies to this context, it's just
      a sign that we best to avoid this function, especially when there are
      more reliable ways.
      
      This commit changes how reports pages generated in order to avoid usage
      of pluralize function, replacing it with default translation function,
      called with given counter. On top of that, we have to make strings
      pluralizable, so have to change locale files.
      
      [1]: https://medium.com/@anna7/b3927de2ca8e#6a60
      d5b7a4b1
Loading