gitlab-org--gitlab-foss/app/assets/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
..
behaviors Remove taskable.js 2015-05-06 12:58:27 -04:00
blob Rename BlobView to LineHighlighter 2015-06-19 04:31:24 -04:00
commit Export all coffee classes with @ 2014-10-20 23:03:33 +02:00
extensions Remove unused showAndHide, simpleFormat, and linkify functions 2015-06-02 20:32:07 -04:00
lib
activities.js.coffee Restyle group page and event filter 2014-12-16 18:15:48 +02:00
admin.js.coffee Export all coffee classes with @ 2014-10-20 23:03:33 +02:00
api.js.coffee Big refactoring of issues filters 2015-03-26 19:13:49 -07:00
application.js.coffee Remove duplicate timeago call 2015-06-17 16:37:10 -04:00
aside.js.coffee Create Aside js class for handling all sidebars in UI for mobile devices 2015-02-21 22:01:27 -08:00
autosave.js.coffee Properly handle autosave local storage exceptions. 2015-03-07 11:27:39 +01:00
branch-graph.js.coffee do not prepend relative_url_root to avatar 2015-04-20 09:52:03 +02:00
calendar.js.coffee Make commit calendar size depend on window size 2015-06-11 22:52:21 +02:00
commit.js.coffee Export all coffee classes with @ 2014-10-20 23:03:33 +02:00
commits.js.coffee Export all coffee classes with @ 2014-10-20 23:03:33 +02:00
confirm_danger_modal.js.coffee Fix "Cannot move project" error message from popping up after a successful project transfer 2015-04-20 12:46:02 -07:00
dashboard.js.coffee Cleanup after removing group tab from dashboard aside 2015-03-10 13:27:58 -07:00
diff.js.coffee Improve sticky headers in diffs 2015-03-24 19:00:00 -07:00
dispatcher.js.coffee Rename BlobView to LineHighlighter 2015-06-19 04:31:24 -04:00
dropzone_input.js.coffee Prefer jQuery on to bind, and don't use .js class. 2015-06-05 12:13:02 +02:00
flash.js.coffee Export all coffee classes with @ 2014-10-20 23:03:33 +02:00
gfm_auto_complete.js.coffee Show warning when a comment will add 10 or more people to the discussion. 2015-06-05 12:07:13 +02:00
group_avatar.js.coffee Only run avatar chooser Js on pages that need it 2014-10-21 10:46:55 +02:00
groups.js.coffee Only run avatar chooser Js on pages that need it 2014-10-21 10:46:55 +02:00
groups_select.js.coffee Group selectbox js 2014-12-30 11:46:48 +02:00
importer_status.js.coffee Style improvements to import page 2015-03-12 10:04:09 -07:00
issuable_form.js.coffee Autosave title and description of new issues/MRs. 2015-02-25 12:52:37 +01:00
issue.js.coffee Javascripts don't need to require jquery or bootstrap explicitly 2015-05-28 18:22:32 -04:00
issues.js.coffee Implement merge requests search 2015-03-12 16:20:58 -07:00
labels.js.coffee Export all coffee classes with @ 2014-10-20 23:03:33 +02:00
line_highlighter.js.coffee Minor style fixes for LineHighlighter 2015-06-19 16:43:09 -04:00
merge_request.js.coffee Extract MergeRequest tab behavior to its own JS class 2015-06-17 16:59:50 -04:00
merge_request_tabs.js.coffee Add MergeRequestTabs specs 2015-06-21 22:57:32 -04:00
merge_request_widget.js.coffee Fix automerge 2015-06-11 18:49:34 +02:00
merge_requests.js.coffee Implement merge requests search 2015-03-12 16:20:58 -07:00
milestone.js.coffee Add assignee icon to milestone merge requests. 2015-03-06 14:08:40 +01:00
namespace_select.js.coffee Only run namespace select js when needed 2014-10-21 22:54:22 +02:00
network.js.coffee Awesome shortcuts for GitLab 2014-09-01 11:49:17 +02:00
notes.js.coffee Support commenting on a diff in side-by-side view 2015-06-16 06:11:59 -07:00
pager.js.coffee prevent events loading while loading events refs #49759 2014-06-24 18:01:36 +04:00
profile.js.coffee Simplify the javascript behavior for Preference updating 2015-06-13 17:58:17 -04:00
project.js.coffee Allow users that signed up via OAuth to set their password in order to use Git over HTTP(S). 2015-02-13 14:44:42 +01:00
project_avatar.js.coffee Fix tests, merge conflicts, some minor issues and make the project avatar feature mergable 2015-01-24 18:51:16 +01:00
project_fork.js.coffee Improve fork to namespaces feature 2014-11-14 16:06:39 +02:00
project_import.js.coffee Export all coffee classes with @ 2014-10-20 23:03:33 +02:00
project_members.js.coffee Use same layout and interactivity for project members as group members. 2015-03-15 13:55:57 +01:00
project_new.js.coffee Update rspec tests to the new external issue logic. 2015-01-26 15:59:40 -08:00
project_show.js.coffee Fix bug with active tab remembering (saving cookie with different path) 2015-03-06 01:41:47 -08:00
projects_list.js.coffee Improve projects list 2015-03-04 17:22:55 -08:00
protected_branches.js.coffee Improve protected branches page UX 2015-03-25 22:45:58 -07:00
search_autocomplete.js.coffee Export all coffee classes with @ 2014-10-20 23:03:33 +02:00
shortcuts.js.coffee Awesome shortcuts for GitLab 2014-09-01 11:49:17 +02:00
shortcuts_dashboard_navigation.js.coffee Typo -- findAndollowLink -> findAndFollowLink 2015-04-07 11:03:48 -04:00
shortcuts_issuable.coffee Javascripts don't need to require jquery or bootstrap explicitly 2015-05-28 18:22:32 -04:00
shortcuts_navigation.coffee Typo -- findAndollowLink -> findAndFollowLink 2015-04-07 11:03:48 -04:00
shortcuts_network.js.coffee Awesome shortcuts for GitLab 2014-09-01 11:49:17 +02:00
sidebar.js.coffee Fix toggle of sidebar 2015-04-22 16:48:39 +03:00
stat_graph.js.coffee Export all coffee classes with @ 2014-10-20 23:03:33 +02:00
stat_graph_contributors.js.coffee Javascripts don't need to require jquery or bootstrap explicitly 2015-05-28 18:22:32 -04:00
stat_graph_contributors_graph.js.coffee Fix graph width on different screen sizes 2015-06-11 23:00:38 +02:00
stat_graph_contributors_util.js.coffee Group project contributions by both name and email. 2015-05-25 15:43:22 +02:00
subscription.js.coffee improve UI 2015-03-17 17:11:57 +02:00
tree.js.coffee Export all coffee classes with @ 2014-10-20 23:03:33 +02:00
user.js.coffee Improve projects list 2015-03-04 17:22:55 -08:00
users_select.js.coffee Let members be invited from Add members pane. 2015-04-14 12:08:10 +02:00
wikis.js.coffee Validate wiki page creation 2015-05-26 19:01:11 +02:00
zen_mode.js.coffee Add ZenMode javascript specs 2015-06-02 20:32:07 -04:00