Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 Pull mirroring failed .
上次成功更新
  1. 5月 15, 2023
  2. 3月 09, 2023
  3. 1月 25, 2022
  4. 1月 21, 2022
  5. 10月 13, 2021
  6. 7月 30, 2021
  7. 7月 27, 2021
    • Mark Florian's avatar
      Set window location in tests more consistently · bf3ddac6
      Mark Florian 创作于
      Jest/JSDOM provides a more robust and simple way of setting the mocked
      `window.location`, which preserves all the expected behaviours and
      properties of `window.location`.
      
      By using it, we can get rid of hacks which attempt to recreate
      behaviours of `window.location` that we lost by mutating it ourselves
      (for instance, adding a `toString` method).
      bf3ddac6
  8. 5月 12, 2021
  9. 4月 12, 2021
  10. 4月 01, 2021
    • Toon Claes's avatar
      Move commit neighbor buttons to sticky MR controls · 4c48a3c0
      Toon Claes 创作于
      When reviewing an MR commit by commit, there are `Prev` and `Next`
      buttons next to the commit message to jump to the neighbor
      commits. These are helpful, but they slide outside of view when
      scrolling to the bottom.
      
      These buttons were initially introduced in [1].
      
      This changes moves these buttons to the sticky Merge Request controls
      bar. This bar remains visible at all times, making the neighbor commit
      buttons accessible even when scrolled to the bottom.
      
      1. ee921003 (Add buttons to the Commit Item to navigate among MR
         commits, 2020-05-12)
      4c48a3c0
  11. 2月 15, 2021
  12. 1月 31, 2021
  13. 1月 05, 2021
  14. 12月 24, 2020
  15. 11月 25, 2020
  16. 8月 22, 2020
  17. 7月 28, 2020
  18. 4月 10, 2020
    • Justin Boyson's avatar
      Refactor compare dropdowns · e64780db
      Justin Boyson 创作于
      We're splitting `compare_versions_dropdown` into 3 separate components
      A "layout" component and two "higher order" compoments
      
      This should greatly simplify the code, and testing.
      e64780db
  19. 2月 05, 2020
  20. 1月 22, 2020
  21. 1月 16, 2020
  22. 1月 15, 2020
  23. 1月 10, 2020
    • Illya Klymov's avatar
      Remove { sync: false } · f745fbbd
      Illya Klymov 创作于
      This commit removes { sync: false } accross entire codebase
      This is useless since upgrade to @vue/test-utils 1.0.0.beta-30
      f745fbbd
  24. 12月 21, 2019
    • Enrique Alcántara's avatar
      Mock gitlab-ui tooltip directive and component · 06bd4dbd
      Enrique Alcántara 创作于
      gitlab-ui tooltip component is based on bootstrap-vue tooltip
      component. Starting with bootstrap-vue 2.0, testing Vue components
      that use BV tooltip requires to attach the component under test to the
      document object using vue-test-utils attachToDocument mounting option.
      It also requires setting the `sync` option to true.
      
      This change affected a significant amount of unit tests in GitLab
      codebase. These effects impede GitLab from upgrading to
      bootstrap-vue 2.0. To address this problem we first attempted to fix
      all the affected tests. The list is broken tests is located in
      https://gitlab.com/gitlab-org/gitlab/merge_requests/18913.
      
      Over time, more tests appeared broken as they were using the tooltip
      directive too. The goal to fix broken tests became a moving target,
      so we desisted. This new approach mocks the tooltip directive and
      tooltip component to decouple the unit tests from the bootstrap-vue
      dependency.
      06bd4dbd
  25. 11月 26, 2019
加载中