gitlab-org--gitlab-foss/app/assets/javascripts
Fatih Acet a01e76babd Merge branch '22058-auto-selection' into 'master'
Change auto selection behaviour of emoji and slash commands to be more UX/Type friendly

## What does this MR do?
In the context of a special command (starting with "/", ":", ...), the MR disables auto selection of first item in the dropdown suggestion menu, until at least a character has been typed.
This behavior change originated from #22058 and #23578 in which problems with the ":" special command were pointed out.

## Are there points in the code the reviewer needs to double check?
At lines +187 and +242 there were originally no sorters. Given what ``DefaultOptions.sorter`` does, I don't think it is a problem.

## Why was this MR needed?
To solve #22058 and #23578 

## Does this MR meet the acceptance criteria?

- [X] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added
- [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [ ] 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 it does - 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?
Closes #22058 and #23578 

See merge request !7129
2016-11-09 15:47:42 +00:00
..
behaviors Finish styling commits view 2016-10-28 09:00:30 -05:00
blob disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
blob_edit disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
boards Creates new list from a new label 2016-11-04 10:25:47 +00:00
commit disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
cycle_analytics Create cycle analytics bundle 2016-10-28 15:56:12 +01:00
diff_notes disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
extensions Added Element extension with .matches and .closest 2016-10-31 23:18:10 +00:00
graphs Remove leftover references to coffeescript from comments and docs. 2016-10-31 11:39:52 +01:00
lib Replace jQuery.timeago with timeago.js 2016-11-07 14:49:00 -06:00
merge_conflicts disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
network Network page appear with an error message when entering nonexistent git revision 2016-11-06 12:05:13 +09:00
profile disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
protected_branches disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
snippet disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
templates disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
u2f disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
users disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
abuse_reports.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
activities.js Replace jQuery.timeago with timeago.js 2016-11-07 14:49:00 -06:00
admin.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
api.js Backport Group API code that was added in EE only 2016-10-31 18:47:30 +01:00
application.js Merge branch '24146-add-focus-state' into 'master' 2016-11-08 22:33:48 +00:00
aside.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
autosave.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
awards_handler.js Cleaned up global namespace JS 2016-11-03 23:00:21 -05:00
breakpoints.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
broadcast_message.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
build.js Merge branch 'improve-build-scroll-controls-responsive-behaviour' into 'master' 2016-11-08 21:41:48 +00:00
build_artifacts.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
build_variables.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
commit.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
commits.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
compare.js Replace jQuery.timeago with timeago.js 2016-11-07 14:49:00 -06:00
compare_autocomplete.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
confirm_danger_modal.js Cleaned up global namespace JS 2016-11-03 23:00:21 -05:00
copy_to_clipboard.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
create_label.js.es6 Creates new list from a new label 2016-11-04 10:25:47 +00:00
diff.js Remove an extra leading space from diff content 2016-11-04 14:05:49 +09:00
dispatcher.js.es6 Removed inline JS and added new affix declaration 2016-11-04 15:07:51 +00:00
dropzone_input.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
due_date_select.js.es6 Merge branch 'eslint' into 'master' 2016-10-26 16:31:08 +00:00
files_comment_button.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
flash.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
gfm_auto_complete.js.es6 Fixes #22058 and #23578 2016-11-06 16:26:43 +01:00
gl_dropdown.js Do not allow text input in dropdown while loading 2016-10-28 23:26:33 +03:00
gl_field_error.js.es6 Move snake_case to camelCase. 2016-11-02 11:37:35 +01:00
gl_field_errors.js.es6 List gl_field_error as gl_field_errors dep. 2016-11-01 18:40:48 +01:00
gl_form.js Cleaned up global namespace JS 2016-11-03 23:00:21 -05:00
group_avatar.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
groups_select.js Backport Group API code that was added in EE only 2016-10-31 18:47:30 +01:00
header.js Enable linting for ES6 files 2016-10-27 21:35:07 +02:00
importer_status.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
issuable.js.es6 implements reset incoming email token on issues modal and account page, 2016-11-07 15:56:18 +00:00
issuable_context.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
issuable_form.js Merge branch 'eslint' into 'master' 2016-10-26 16:31:08 +00:00
issue.js add "x of y tasks completed" on issuable 2016-10-28 14:01:36 -02:00
issue_status_select.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
issues_bulk_assignment.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
label_manager.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
labels.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
labels_select.js Merge branch 'eslint' into 'master' 2016-10-26 16:31:08 +00:00
layout_nav.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
line_highlighter.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
logo.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
member_expiration_date.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
members.js.es6 Cleaned up global namespace JS 2016-11-03 23:00:21 -05:00
merge_request.js add "x of y tasks completed" on issuable 2016-10-28 14:01:36 -02:00
merge_request_tabs.js Merge branch '21633-permalink-to-collapsed-diff-line-does-not-work' into 'master' 2016-11-01 20:31:04 +00:00
merge_request_widget.js.es6 Replace jQuery.timeago with timeago.js 2016-11-07 14:49:00 -06:00
merged_buttons.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
milestone.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
milestone_select.js Replace jQuery.timeago with timeago.js 2016-11-07 14:49:00 -06:00
namespace_select.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
new_branch_form.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
new_commit_form.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
notes.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
notifications_dropdown.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
notifications_form.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
pager.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
pipelines.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
preview_markdown.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
project.js Merge branch 'eslint' into 'master' 2016-10-26 16:31:08 +00:00
project_avatar.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
project_find_file.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
project_fork.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
project_import.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
project_new.js Hides registry if project is disabled 2016-11-01 09:20:31 +00:00
project_select.js Backport Group API code that was added in EE only 2016-10-31 18:47:30 +01:00
project_show.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
projects_list.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
right_sidebar.js Merge branch 'add-todo-toggle-event' into 'master' 2016-10-27 13:28:40 +00:00
search.js Backport Group API code that was added in EE only 2016-10-31 18:47:30 +01:00
search_autocomplete.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
shortcuts.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
shortcuts_blob.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
shortcuts_dashboard_navigation.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
shortcuts_find_file.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
shortcuts_issuable.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
shortcuts_navigation.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
shortcuts_network.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
sidebar.js.es6 Merge branch 'add-todo-toggle-event' into 'master' 2016-10-27 13:28:40 +00:00
single_file_diff.js Merge branch '21633-permalink-to-collapsed-diff-line-does-not-work' into 'master' 2016-11-01 20:31:04 +00:00
snippets_list.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
star.js Remove tooltips from project header 2016-11-01 12:01:13 -05:00
subscription.js Merge branch 'eslint' into 'master' 2016-10-26 16:31:08 +00:00
subscription_select.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
syntax_highlight.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
todos.js.es6 Merge branch 'add-todo-toggle-event' into 'master' 2016-10-27 13:28:40 +00:00
tree.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
user.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
user_tabs.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
username_validator.js.es6 Unchange username_validator. 2016-11-02 11:40:32 +01:00
users_select.js Fix: Todos Filter Shows All Users 2016-11-04 13:41:14 +02:00
wikis.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
zen_mode.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00