1. 03 Aug, 2016 3 commits
    • Paco Guzman's avatar
      Cache highlighted diff lines for merge requests · cd7c2cb6
      Paco Guzman authored
      Introducing the concept of SafeDiffs which relates 
      diffs with UI highlighting.
      cd7c2cb6
    • Jacob Schatz's avatar
      Merge branch 'discussion-reply-button-performance' into 'master' · 195b20e1
      Jacob Schatz authored
      Remove delay when hitting Reply... button on page with a lot of comments
      
      Every time the "Reply..." button was hit, a new `GLForm` was instantiated (which is fine), which would then call `GitLab.GfmAutoComplete.setup()` without specifying which textarea we needed autocompletion on, which resulted in `GitLab.GfmAutoComplete.setup` iterating through every single textarea on the page. On a page with a lot of comments, where each comment would have its own textarea that will be used to edit the comment, this would take a long time and cause the whole page to hang for 2 seconds when a  "Reply..." button was clicked.
      
      See merge request !5602
      195b20e1
    • Jacob Schatz's avatar
      Merge branch 'convert-trans-bg-to-css' into 'master' · 35529007
      Jacob Schatz authored
      Convert image diff background image to CSS
      
      ## What does this MR do?
      Replaces the `trans_bg.gif` image used for image diff background image with a CSS implementation of the same background image
      
      ## Are there points in the code the reviewer needs to double check?
      None
      
      ## Why was this MR needed?
      Uses CSS to replace the use of an image so that webpage rendering is slightly improved
      
      ## What are the relevant issue numbers?
      Closes #20500 
      
      ## Screenshots (if relevant)
      Before:
      ![Screen_Shot_2016-08-01_at_12.29.10_PM](/uploads/8269877c561c29e6b0ca988079ff3fc6/Screen_Shot_2016-08-01_at_12.29.10_PM.png)
      
      After:
      ![Screen_Shot_2016-08-01_at_12.29.16_PM](/uploads/cc88848b9c0e044445d19b889fd79271/Screen_Shot_2016-08-01_at_12.29.16_PM.png)
      
      ## Does this MR meet the acceptance criteria?
      
      - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
      - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
      - [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
      - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)
      
      See merge request !5598
      35529007
  2. 02 Aug, 2016 37 commits