1. 26 Jul, 2021 1 commit
  2. 21 Jul, 2021 1 commit
  3. 09 Jul, 2021 2 commits
    • Lukas Eipert's avatar
      Update localTimeAgo to accept Arrays and NodeList · a12a9ee4
      Lukas Eipert authored
      There are not that many uses of `localTimeAgo`, but we can move from
      jQuery to native DOM selection.
      a12a9ee4
    • Lukas Eipert's avatar
      Remove timeago methods exposed on window object · 304f28cb
      Lukas Eipert authored
      We currently expose `window.timeago` and `window.gl.utils.localTimeAgo`.
      As far as I can tell, they are not used like that anymore and any part
      of the code base that still uses it like that should move to direct
      imports.
      
      This was actually the _last_ instance of a JavaScript file setting up a
      `window.gl` side-effect. Unfortunately this breaks a lot of tests.
      Therefore we add the `window.gl` sideeffect to our jest set up. And in
      order to be 100% sure that we do not break production, we add the
      sideeffect to main.js as well.
      304f28cb
  4. 25 Jun, 2021 1 commit
  5. 15 Jun, 2021 1 commit
  6. 10 Jun, 2021 1 commit
  7. 08 Jun, 2021 1 commit
  8. 17 May, 2021 1 commit
  9. 14 Apr, 2021 1 commit
  10. 23 Mar, 2021 2 commits
  11. 14 Mar, 2021 1 commit
  12. 15 Feb, 2021 2 commits
  13. 14 Feb, 2021 1 commit
  14. 05 Feb, 2021 1 commit
  15. 01 Feb, 2021 1 commit
  16. 23 Dec, 2020 1 commit
  17. 22 Dec, 2020 1 commit
  18. 08 Dec, 2020 1 commit
  19. 02 Dec, 2020 1 commit
    • Tim Zallmann's avatar
      Replaced all jquery fade functions · 95adeb66
      Tim Zallmann authored
      Both fadeIn + fadeOut to make transition to jquery slim possible
      
      Changed where possible to use gl-display-none
      
      Went back to hide util class
      
      Introducing more gl-display-none
      95adeb66
  20. 26 Nov, 2020 1 commit
  21. 27 Oct, 2020 1 commit
  22. 30 Sep, 2020 1 commit
  23. 29 Sep, 2020 1 commit
  24. 21 Sep, 2020 1 commit
  25. 11 Sep, 2020 1 commit
  26. 09 Sep, 2020 1 commit
  27. 08 Sep, 2020 2 commits
  28. 03 Sep, 2020 2 commits
  29. 21 Aug, 2020 1 commit
    • Mike Greiling's avatar
      Remove and deprecate gl_dropdown jQuery function · c34156a9
      Mike Greiling authored
      This removes $.fn.glDropdown and replaces it with the function
      initDeprecatedJQueryDropdown. This ensures that modules which rely
      on this function are not dependent on a globally accessible function
      and also prevents naming confusion with the gitlab-ui component
      also named GlDropdown.
      c34156a9
  30. 20 Aug, 2020 1 commit
    • Ezekiel Kigbo's avatar
      Swap create flash functions · c8aa5692
      Ezekiel Kigbo authored
      Replaces the default export flash
      function with the newCreateFlash.
      
      Fix outstanding flash imports
      
      Updates specs and replaces outstanding
      imports for `Flash`
      
      Fixes additional specs
      
      Updates the remaining calls to different
      flash methods, except for the window.Flash
      method since this will break .erb templates
      c8aa5692
  31. 17 Aug, 2020 2 commits
    • Tim Zallmann's avatar
      Fixes the sliding problem with startup.css rendering · 4f71a78e
      Tim Zallmann authored
      Fixes Trailing Whitespace problem
      4f71a78e
    • Vitaly Slobodin's avatar
      Fix imports orders in JavaScript · fb22121e
      Vitaly Slobodin authored
      We follow this imports order:
      // 1. "external" modules
      import _ from 'lodash';
      import chalk from 'chalk';
      // 2. "internal" and aliased modules
      import foo from 'src/foo';
      // 3. modules from a "parent" directory
      import foo from '../foo';
      import qux from '../../foo/qux';
      // 4. "sibling" modules from the same or a sibling's directory
      import bar from './bar';
      import baz from './bar/baz';
      // 5. "index" of the current directory
      import main from './';
      fb22121e
  32. 09 Jul, 2020 1 commit
  33. 22 Jun, 2020 1 commit
  34. 18 Jun, 2020 1 commit