gitlab-org--gitlab-foss/app/assets/javascripts
Jacob Schatz 680b675eae Merge branch 'bpj-mr-loop' into 'master'
Prevent running GfmAutocomplete setup for each diff note

## What does this MR do?

Debounces GfmAutoComplete.setup.

## Why was this MR needed?

See https://gitlab.com/gitlab-org/gitlab-ce/issues/22704

Major lag on MR screens with many diff notes.

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [x] API support added
- Tests
  - [ ] Added for this feature/bug
  - [x] All builds are passing
- [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [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)

## What are the relevant issue numbers?
https://gitlab.com/gitlab-org/gitlab-ce/issues/22704

See merge request !6569
2016-10-10 12:52:51 +00:00
..
behaviors Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
blob Restore inexplicably removed code from requestFileSuccess. 2016-10-05 12:48:18 +02:00
blob_edit Make fixes to get tests passing. 2016-10-05 11:25:05 +02:00
boards Change issue board defaults 2016-10-06 10:12:13 -05:00
commit Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
diff_notes Pass the full project path for resolve buttons 2016-09-21 10:07:24 +01:00
extensions Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
graphs Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
lib MergeRequest new form load diff asynchronously 2016-10-06 11:19:14 +02:00
network Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
profile Fix profile test failure. 2016-10-05 11:25:05 +02:00
snippet Don't use global variables. 2016-08-18 21:48:11 +01:00
templates Restore inexplicably removed code from requestFileSuccess. 2016-10-05 12:48:18 +02:00
u2f Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
users Replace contributions calendar timezone payload with dates 2016-09-16 14:38:59 -05:00
abuse_reports.js.es6 Update abuse_reports.js.es6 with prettier window.gl assignment 2016-08-24 11:25:06 +00:00
activities.js Fix inconsistent highlighting of already selected activity nav-links 2016-10-05 15:38:18 -05:00
admin.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
api.js Merge commit 'dev/security' into 'master' 2016-10-06 08:33:11 +02:00
application.js make sure split-view diff discussions are made visible by "toggle comments" button 2016-09-29 13:41:27 +03:00
aside.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
autosave.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
awards_handler.js Added @zeivs changes to fix awards search, including CHANGELOG where he is credited 2016-09-27 00:16:39 +03:00
breakpoints.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
broadcast_message.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
build.js Correctly parse the date of artifact expiring 2016-10-05 16:02:52 +01:00
build_artifacts.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
build_variables.js.es6 add feature test 2016-09-06 14:42:43 +02:00
commit.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
commits.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
compare.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
compare_autocomplete.js Changed compare dropdowns to dropdowns with isolated search input 2016-09-27 20:37:13 +01:00
confirm_danger_modal.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
copy_to_clipboard.js Fix tooltip for Copy to clipboard button. 2016-09-29 21:48:11 -05:00
create_label.js.es6 Convert label creation from API to controller endpoint 2016-09-23 12:21:47 +01:00
cycle-analytics.js.es6 Set cookie path for cycle analytics cookie. 2016-09-23 15:07:54 +03:00
diff.js ensure the 'fixed layout' preference is honored whenever possible 2016-09-20 00:51:00 -05:00
dispatcher.js Fix bad merge conflict resolution. 2016-10-05 22:04:37 +03:00
dropzone_input.js Rename markdown_preview routes to preview_markdown 2016-08-11 15:54:18 +02:00
due_date_select.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
files_comment_button.js Added unfold test to parallel and added 'diff discussion' context 2016-08-23 20:45:29 +01:00
flash.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
gfm_auto_complete.js.es6 Debounce GfmAutoComplete setup and simplify code somewhat. 2016-10-07 18:07:55 +02:00
gl_dropdown.js Prevent conflict b/w search field and its dropdown 2016-10-10 10:16:09 +02:00
gl_form.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
group_avatar.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
groups.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
groups_select.js fix group links 404 2016-10-05 09:57:54 +01:00
importer_status.js fix indent in JS file 2016-09-20 12:10:35 +02:00
issuable.js.es6 Merge branch 'master' into revert-c676283b 2016-10-03 09:10:20 +01:00
issuable_context.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
issuable_form.js Move to project dropdown with infinite scroll for better performance 2016-08-18 15:31:51 +02:00
issue.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
issue_status_select.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
issues-bulk-assignment.js.es6 Fix up for issues bulk assignment test. 2016-10-05 11:25:04 +02:00
LabelManager.js.es6 Fix leftover or inadvertantly removed comments. 2016-10-05 11:25:06 +02:00
labels.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
labels_select.js Fix CHANGELOG and wrong conflict resolution 2016-10-06 10:11:24 +02:00
layout_nav.js Doesnt run JS if active element doesnt exist 2016-09-16 13:52:06 +01:00
line_highlighter.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
logo.js Minor code refactor for inlining functions. 2016-08-30 08:02:29 +03:00
member_expiration_date.js Don’t add events in loop 2016-08-18 19:41:18 -05:00
merge_conflict_data_provider.js.es6 fix diff_view cookie path within merge conflict page 2016-09-20 00:51:00 -05:00
merge_conflict_resolver.js.es6 ensure the 'fixed layout' preference is honored whenever possible 2016-09-20 00:51:00 -05:00
merge_request.js ensure the 'fixed layout' preference is honored whenever possible 2016-09-20 00:51:00 -05:00
merge_request_tabs.js MergeRequest new form load diff asynchronously 2016-10-06 11:19:14 +02:00
merge_request_widget.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
merged_buttons.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
milestone.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
milestone_select.js Add position menu above ability to glDropdown. 2016-10-04 23:47:55 +03:00
namespace_select.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
new_branch_form.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
new_commit_form.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
notes.js Changed props to use strings 2016-09-21 10:19:47 +01:00
notifications_dropdown.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
notifications_form.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
pager.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
pipeline.js.es6 Replace bootstrap caret with fontawesome caret 2016-10-05 17:39:52 -05:00
preview_markdown.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
project.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
project_avatar.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
project_find_file.js Fix find file navigation links 2016-09-09 14:30:54 -05:00
project_fork.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
project_import.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
project_members.js Add MemberExpirationDate JS helper 2016-08-18 14:14:22 +01:00
project_new.js Refactored code to rely less on IDs that could change 2016-09-02 14:51:36 +01:00
project_select.js fix group links 404 2016-10-05 09:57:54 +01:00
project_show.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
projects_list.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
protected_branch_access_dropdown.js.es6 Set default label if user unselects the option from dropdown 2016-08-21 00:21:32 -05:00
protected_branch_create.js.es6 Toggle dropdown disabled attribute 2016-08-21 00:20:57 -05:00
protected_branch_dropdown.js.es6 Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
protected_branch_edit.js.es6 Remove unused attributes 2016-09-22 12:58:11 -05:00
protected_branch_edit_list.js.es6 Wrap classes with IIFE and define it inside gl namespace 2016-08-05 17:19:01 -05:00
right_sidebar.js use gitlab global root url as canonical base url for all javascript set cookies (closes #20435) 2016-08-24 22:11:28 -05:00
search.js fix group links 404 2016-10-05 09:57:54 +01:00
search_autocomplete.js.es6 Refactor IssuesBulkAssignment to ES6. 2016-10-05 11:25:03 +02:00
shortcuts.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
shortcuts_blob.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
shortcuts_dashboard_navigation.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
shortcuts_find_file.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
shortcuts_issuable.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
shortcuts_navigation.js Added keyboard shortcut to navigate to issue boards 2016-09-15 18:20:36 -04:00
shortcuts_network.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
sidebar.js.es6 Fixes sidebar navigation. 2016-10-03 12:38:21 +03:00
single_file_diff.js Updated diff toggle targets and added icon 2016-09-03 20:24:31 +01:00
snippets_list.js.es6 Convert SnippetsList to ES6 2016-09-05 17:38:20 +01:00
star.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
subscription.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
subscription_select.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
syntax_highlight.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
todos.js.es6 Make fixes to get tests passing. 2016-10-05 11:25:05 +02:00
tree.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
user.js.es6 Make use of destructuring options, clean up based on feedback. 2016-10-05 11:25:02 +02:00
user_tabs.js.es6 Change user & group landing page routing from /u/:name & /groups/:name to /:name 2016-10-06 19:50:48 +03:00
users_select.js Change user & group landing page routing from /u/:name & /groups/:name to /:name 2016-10-06 19:50:48 +03:00
wikis.js ES6ify all the things! 2016-07-24 23:45:11 +03:00
zen_mode.js Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00