1. 04 Dec, 2014 14 commits
  2. 03 Dec, 2014 18 commits
  3. 02 Dec, 2014 8 commits
    • Dmitriy Zaporozhets's avatar
      Merge branch 'improve-form-links-ux' into 'master' · a70e7d61
      Dmitriy Zaporozhets authored
      Improve issuable form links UX
      
      > The create new label / milestone links should open in a new window / popup to avoid losing information already filled in for a new issue.
      
      Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/855
      
      See merge request !1291
      a70e7d61
    • Dmitriy Zaporozhets's avatar
      Merge branch 'improve-search-ux' into 'master' · 300311f3
      Dmitriy Zaporozhets authored
      Improve search ux
      
      When I use search from merge requests page I usually want to see merge requests results. If I do search from wiki pages -> I want to see wiki results first.
      
      With this patch search scope is set to issues if you are on issues controller and same for merge requests and wikis
      
      See merge request !1290
      300311f3
    • Dmitriy Zaporozhets's avatar
      Merge branch 'fix-safari-ui-bug' into 'master' · 1242e039
      Dmitriy Zaporozhets authored
      Fix safari ui bug
      
      See merge request !1289
      1242e039
    • Dmitriy Zaporozhets's avatar
    • Dmitriy Zaporozhets's avatar
    • Dmitriy Zaporozhets's avatar
      12f86992
    • Sytse Sijbrandij's avatar
    • Dmitriy Zaporozhets's avatar
      Merge branch 'improve-mr-reloading' into 'master' · c2e53438
      Dmitriy Zaporozhets authored
      Improve MR reloading
      
      ## Theory
      
      Every time you pushed to master it updates merge requests that has master
      as target branch. So if you have 50 open merge requests point to master
      it will reload all of them every time you push a single commit to
      master. The funny thing is that after reloading diff of most merge
      requests looks the same.
      
      After this patch we update diff only if we push commit to master that
      includes in MR commits list.
      
      For example we have next repository:
      
          feature: A - B - C
          master: A
      
      We create merge request with code from feature to master.
      
          MR: B - C
      
      If we push to master commit D - MR will not be reloaded. So picture will
      look next:
      
          feature: A - B - C
          master: A - D
          MR: B - C
      
      And if we push to master commit B - MR will be reloaded. So picture will
      look next:
      
          feature: A - B - C
          master: A - B
          MR: C
      
      ## Benchmark
      
      For project with 45 open merge requests to master
      
      Before
      
      ```
      Benchmark post-receive | Cache and size:   0.060000   0.040000   0.100000 (  0.379720)
      Benchmark post-receive | Push commits selection:   0.130000   0.020000   0.150000 (  0.149299)
      Benchmark post-receive | Update merge requests:   9.180000   2.030000  11.210000 ( 11.971747)
      Benchmark post-receive | Process commit messages:   0.140000   0.010000   0.150000 (  0.168810)
      Benchmark post-receive | Push data:   0.020000   0.000000   0.020000 (  0.016363)
      Benchmark post-receive | Push event and services:   0.030000   0.000000   0.030000 (  0.088062)
      ```
      
      After
      
      ```
      Benchmark post-receive | Cache and size:   0.070000   0.030000   0.100000 (  0.106676)
      Benchmark post-receive | Push commits selection:   0.130000   0.020000   0.150000 (  0.143081)
      Benchmark post-receive | Update merge requests:   0.660000   0.210000   0.870000 (  0.892663)
      Benchmark post-receive | Process commit messages:   0.030000   0.000000   0.030000 (  0.029263)
      Benchmark post-receive | Push data:   0.020000   0.000000   0.020000 (  0.018479)
      Benchmark post-receive | Push event and services:   0.030000   0.000000   0.030000 (  0.038230)
      ```
      - - -
      
      ## References
      
      Discussion in gitlab/gitlabhq#1796
      
      See merge request !1288
      c2e53438