gitlab-org--gitlab-foss/app/views/projects
Dmitriy Zaporozhets 29b6d465a7 Merge branch 'rs-dev-issue-2355' into 'master'
MergeRequest#show performance improvements

This is a first pass on improving the performance of the `MergeRequests#show` page. Notable changes:

- The "Commits" tab is loaded lazily, so the initial page load should be much faster for MRs with many commits.
- Relative timestamps via `timeago` are only initialized once per load instead of `O(n^2)`. This greatly improves frontend rendering times for a large number of commits.
- Refactored `User.find_for_commit` to use a single ARel-generated SQL query instead of the old method which resulted in one query, and could result in up to three.

See merge request !838
2015-06-22 09:48:49 +00:00
..
blame Fix git blame syntax highlighting when different commits break up lines 2015-05-27 14:10:58 -07:00
blob Bootlint: Modals no longer need a '.hide' class 2015-06-16 13:32:33 -04:00
branches Add Merge Request button to branches page. 2015-05-09 22:55:19 +02:00
commit Support commenting on a diff in side-by-side view 2015-06-16 06:11:59 -07:00
commits Use skip_js for commit timestamps 2015-06-17 16:59:51 -04:00
compare Add Create Merge Request buttons to commits page and push event. 2015-05-09 22:26:52 +02:00
deploy_keys Show key fingerprint on DeployKeys#index 2015-06-03 18:03:04 -04:00
diffs Support commenting on a diff in side-by-side view 2015-06-16 06:11:59 -07:00
forks Add a page title to every page. 2015-04-30 19:12:15 +02:00
graphs Add a page title to every page. 2015-04-30 19:12:15 +02:00
hooks Add support for Webhook note events 2015-05-21 23:48:16 -04:00
imports Add a page title to every page. 2015-04-30 19:12:15 +02:00
issues Update time_ago_with_tooltip helper 2015-06-17 16:37:10 -04:00
labels Bootlint: Use offset grid classes instead of empty divs 2015-06-16 13:32:32 -04:00
merge_requests Load the Merge Request > Commits tab lazily 2015-06-17 16:59:51 -04:00
milestones Show warning when a comment will add 10 or more people to the discussion. 2015-06-05 12:07:13 +02:00
network Include ref in network page title. 2015-04-30 21:14:26 +02:00
notes Update time_ago_with_tooltip helper 2015-06-17 16:37:10 -04:00
project_members Dont use fixed pixel size if form controls - its bad for mobile devices 2015-06-08 16:34:58 +02:00
protected_branches Add a page title to every page. 2015-04-30 19:12:15 +02:00
refs Fixed issue where only 25 commits would load in file listings 2015-03-30 19:31:13 +01:00
repositories Align project download button with others in sidebar on project home page 2015-04-14 17:08:01 +03:00
services Add a page title to every page. 2015-04-30 19:12:15 +02:00
snippets Capitalize "X" in "New X". 2015-04-30 21:33:02 +02:00
tags Capitalize "X" in "New X". 2015-04-30 21:33:02 +02:00
tree Fix alignment of ref picker, breadcrumb and buttons. 2015-05-12 10:27:17 +02:00
wikis Bootlint: Modals no longer need a '.hide' class 2015-06-16 13:32:33 -04:00
_aside.html.haml Improve UI of project sidebar 2015-05-29 18:12:31 +02:00
_bitbucket_import_modal.html.haml Bootlint: Modals no longer need a '.hide' class 2015-06-16 13:32:33 -04:00
_commit_button.html.haml Remove mention of branch to commit to. 2015-03-19 17:43:21 -07:00
_errors.html.haml alert-error to alert-danger 2013-12-31 16:34:14 +02:00
_github_import_modal.html.haml Bootlint: Modals no longer need a '.hide' class 2015-06-16 13:32:33 -04:00
_gitlab_import_modal.html.haml Bootlint: Modals no longer need a '.hide' class 2015-06-16 13:32:33 -04:00
_home_panel.html.haml Add a pipeline context option for SanitizationFilter 2015-06-02 13:04:10 -04:00
_issuable_form.html.haml Disable changing of target branch in new merge request page when a branch has already been specified 2015-06-19 15:39:56 -07:00
_md_preview.html.haml Add negative tabindex to Markdown Write and Preview tabs 2015-06-10 16:34:51 -04:00
_section.html.haml Remove text since rss is now to prominent. 2015-06-12 11:58:18 +02:00
_zen.html.haml Revert "Changed the placeholder text and modified the css class to make it visible" 2015-06-18 13:50:33 -07:00
edit.html.haml Bootlint: Use offset grid classes instead of empty divs 2015-06-16 13:32:32 -04:00
empty.html.haml Move clone panel to sidebar 2015-05-05 13:09:50 +03:00
go_import.html.haml Render go-import meta tag for private repos. 2015-03-03 11:22:30 +01:00
new.html.haml Add helpers for header title and sidebar, and move setting those from controllers to layouts. 2015-05-01 10:39:16 +02:00
no_repo.html.haml Introduce shortcuts for routing helpers 2015-02-25 19:34:16 -08:00
show.atom.builder Fix Atom feeds. 2015-05-21 11:39:33 +02:00
show.html.haml Fix project description and avatar alignment 2015-05-05 19:25:18 +03:00
transfer.js.haml Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
update.js.haml Move jQuery enable/disable extensions to extensions/jquery 2015-06-02 20:32:07 -04:00