gitlab-org--gitlab-foss/spec/javascripts
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
..
extensions Add JS specs for Array extensions 2015-06-02 20:32:07 -04:00
fixtures Merge branch 'rs-dev-issue-2355' into 'master' 2015-06-22 09:48:49 +00:00
issue_spec.js.coffee Stub ajax in JS specs 2015-05-28 18:22:32 -04:00
line_highlighter_spec.js.coffee Refactor LineHighlighter 2015-06-19 04:31:24 -04:00
merge_request_spec.js.coffee Stub ajax in JS specs 2015-05-28 18:22:32 -04:00
merge_request_tabs_spec.js.coffee Add MergeRequestTabs specs 2015-06-21 22:57:32 -04:00
notes_spec.js.coffee Remove jasmine-fixture, use teaspoon fixtures 2015-05-28 18:22:32 -04:00
shortcuts_issuable_spec.js.coffee Remove jasmine-fixture, use teaspoon fixtures 2015-05-28 18:22:32 -04:00
spec_helper.coffee Move jQuery enable/disable extensions to extensions/jquery 2015-06-02 20:32:07 -04:00
stat_graph_contributors_graph_spec.js Make StatGraph JS explicitly require its dependencies 2015-04-18 15:17:25 -04:00
stat_graph_contributors_util_spec.js Update specs. 2015-05-25 16:31:20 +02:00
stat_graph_spec.js Make StatGraph JS explicitly require its dependencies 2015-04-18 15:17:25 -04:00
zen_mode_spec.js.coffee Add ZenMode javascript specs 2015-06-02 20:32:07 -04:00