gitlab-org--gitlab-foss/spec/javascripts
Paul Slaughter c49d4a4985 Improve files_decorator performance
**How?**
Previously the files_decorator inserted parent folders inefficiently.
It started at the first part and ensured each was inserted.

Since the file entries are given to use in alphabetical order, we can
start at the last part of the blob's parents. If this exists, we can
short circuit and be done inserting parents.

**What else?**
- Improve performance of decorateData. The object spread operator is
not needed because the object is brand new.
2019-03-07 09:22:05 +00:00
..
badges Fix misspellings in app/spec executable lines 2019-02-27 22:41:34 +09:00
behaviors Added tightLists option to copy_as_gfm markdown serializer 2019-03-05 18:08:39 +00:00
blob Remove empty spec describe blocks 2018-10-18 19:02:55 +03:00
blob_edit Add markdown buttons to file editor 2019-01-02 08:24:32 -08:00
boards Remove timezone conversion of issue due dates for issue board cards 2019-02-25 08:57:41 +01:00
branches Fix the input confirmation validation for the delete branches modal 2018-04-17 13:11:19 +00:00
ci_variable_list option to make variables protected by default 2018-11-29 15:04:59 +01:00
clusters Upgrade cluster applications, starting with runner 2019-02-07 21:40:55 +00:00
commit Fix inconsistent pagination styles 2019-02-27 10:16:46 +00:00
cycle_analytics Prettify all spec files 2018-10-17 11:18:17 -05:00
deploy_keys/components Prettify all spec files 2018-10-17 11:18:17 -05:00
diffs CE backport of batch-comments-ee-store-module 2019-03-04 11:27:57 +00:00
dirty_submit Fix transient dirty submit 2019-03-01 17:07:03 +00:00
droplab Prettify all spec files 2018-10-17 11:18:17 -05:00
environments Add Component to Confirm Environment Rollback 2019-03-05 18:33:10 +00:00
error_tracking Fix error tracking page, not showing an empty state 2019-03-01 09:50:27 -06:00
error_tracking_settings Refactor model and spec 2019-03-01 14:51:54 +00:00
feature_highlight Prettify all spec files 2018-10-17 11:18:17 -05:00
filtered_search Provide EE backports for filtering by approver feature 2019-03-07 07:06:54 +00:00
fixtures Revert "Merge branch 'winh-dequarantine-labels-autocomplete' into 'master'" 2019-03-05 11:02:00 +00:00
frequent_items Prettify all spec files 2018-10-17 11:18:17 -05:00
graphs Prettify all spec files 2018-10-17 11:18:17 -05:00
groups Prettify all spec files 2018-10-17 11:18:17 -05:00
helpers Fix polling for replies to individual notes 2019-02-14 10:07:13 +00:00
ide Improve files_decorator performance 2019-03-07 09:22:05 +00:00
image_diff Fixed styling of image comment badges on commits 2018-12-07 17:00:51 +00:00
import_projects Use factory method for import_projects store 2019-03-01 11:51:28 +01:00
integrations Resolve eslint violations 2018-10-17 11:18:17 -05:00
issue_show Add fast tasklist support to MR tasklist 2019-02-07 09:28:35 -06:00
jobs Code cleanup of headerActions and tests 2019-01-11 11:14:53 -05:00
lib/utils Moves utility function into CE 2019-03-01 11:27:39 +00:00
locale enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
monitoring Add zoom to metrics dashboard 2019-03-06 12:28:42 +00:00
notebook Support multiple outputs in Jupyter notebooks 2019-01-11 10:14:51 +00:00
notes Handle transformed notes from polling response 2019-03-06 17:19:27 +08:00
pages Addressing feedback from most recent reviews. 2019-01-10 00:00:39 -06:00
pdf Prettify all spec files 2018-10-17 11:18:17 -05:00
performance_bar Fix broken karma specs 2018-11-20 09:30:02 -06:00
pipelines Fix inconsistent pagination styles 2019-02-27 10:16:46 +00:00
polyfills Prettify all spec files 2018-10-17 11:18:17 -05:00
profile Prettify all spec files 2018-10-17 11:18:17 -05:00
projects Prettify all spec files 2018-10-17 11:18:17 -05:00
prometheus_metrics Resolve eslint violations 2018-10-17 11:18:17 -05:00
raven Prettify all spec files 2018-10-17 11:18:17 -05:00
registry Reduces technical debt 2018-12-07 12:46:12 +00:00
releases Add feature spec for Release page MVC 2019-01-08 14:31:14 +00:00
reports Improve performance of rendering large reports 2018-11-06 11:39:11 +01:00
serverless Modified Knative list view to provide more details 2019-02-05 22:34:15 -08:00
shared Prettify all the things 2018-11-20 09:30:01 -06:00
sidebar Refactor issuable sidebar to have extras option 2018-12-19 17:58:53 +08:00
u2f Prettify all spec files 2018-10-17 11:18:17 -05:00
vue_mr_widget Link to Changed Page if Only One Change Present 2019-02-25 09:52:47 -05:00
vue_shared Merge branch '57991-frontend-pagination-needs-to-handle-cases-where-the-x-total-pages-header-isn-t-present' into 'master' 2019-03-01 14:30:21 +00:00
vuex_shared/modules/modal Create shared gl-modal-vuex component and module 2019-01-03 23:34:15 -06:00
.eslintrc.yml enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
activities_spec.js remove all unused eslint-disable rules 2018-06-20 14:28:28 +02:00
ajax_loading_spinner_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
api_spec.js Extended Web IDE API to get MRs for a certain branch in a project 2019-03-04 18:10:55 +01:00
autosave_spec.js Reapply "Merge branch '_acet-fix-mr-autosave' into 'master'" 2018-08-01 15:26:57 +01:00
avatar_helper_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
awards_handler_spec.js Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
bootstrap_jquery_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
bootstrap_linked_tabs_spec.js Resolve eslint violations 2018-10-17 11:18:17 -05:00
breakpoints_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
close_reopen_report_toggle_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
collapsed_sidebar_todo_spec.js Update Todo icons in collapsed sidebar for Issues and MRs 2018-10-23 11:50:41 +00:00
comment_type_toggle_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
commit_merge_requests_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
commits_spec.js Enable no-restricted-globals in JS files 2018-06-15 15:58:27 +00:00
create_item_dropdown_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
create_merge_request_dropdown_spec.js enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
diff_comments_store_spec.js enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
dropzone_input_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
emoji_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
flash_spec.js Limit flash notice width on fixed and fluid layout 2018-10-23 21:33:12 +03:00
fly_out_nav_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
gl_dropdown_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
gl_field_errors_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
gl_form_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
gpg_badges_spec.js enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
header_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
importer_status_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
issuable_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
issue_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
labels_issue_sidebar_spec.js Remove superfluous IIFEs 2018-10-17 11:18:17 -05:00
labels_select_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
landing_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
lazy_loader_spec.js Attempt to fix lazy loader spec transient failure 2018-11-26 08:57:21 +00:00
line_highlighter_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
matchers.js Make favicon tests more fault resistent 2019-01-21 20:48:55 +01:00
merge_request_spec.js Add fast tasklist support to MR tasklist 2019-02-07 09:28:35 -06:00
merge_request_tabs_spec.js Resolve "Jump to top in merge request" 2018-11-27 18:05:16 +00:00
mini_pipeline_graph_dropdown_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
namespace_select_spec.js Enable "prefer-destructuring" in JS files 2018-06-25 11:53:57 -07:00
new_branch_spec.js Resolve eslint violations 2018-10-17 11:18:17 -05:00
notes_spec.js Fix failing specs and lint errors. 2019-01-30 23:18:16 +01:00
oauth_remember_me_spec.js Fixing static analysis issues 2019-01-10 00:00:39 -06:00
pager_spec.js enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
persistent_user_callout_spec.js Add PersistentUserCallout factory method 2019-03-06 10:40:19 +00:00
pipelines_spec.js Resolve eslint violations 2018-10-17 11:18:17 -05:00
project_select_combo_button_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
read_more_spec.js Resolve "Improve project overview UI" 2018-09-06 07:27:39 +00:00
right_sidebar_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
search_autocomplete_spec.js Change string concat to template string 2018-11-13 15:27:42 +08:00
search_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
settings_panels_spec.js Prioritize group settings, improve panel titles, disable submit without changes 2018-10-15 13:36:19 +00:00
shortcuts_spec.js Move shortcuts classes into behaviors/shortcuts 2018-09-18 17:26:15 -05:00
signin_tabs_memoizer_spec.js Prettify all the things 2018-11-20 09:30:01 -06:00
smart_interval_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
syntax_highlight_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
task_list_spec.js Address review comments and fix commented spec 2019-01-30 23:18:20 +01:00
test_bundle.js Creates a function to check if repo is EE 2019-03-04 08:20:37 +00:00
test_constants.js Image Diff Viewing + Download Diff Viewing 2018-06-13 09:35:52 +00:00
todos_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
toggle_buttons_spec.js Resolve eslint violations 2018-10-17 11:18:17 -05:00
user_popovers_spec.js Made user_popovers_spec more stable on the value side 2019-01-04 10:55:31 +01:00
version_check_image_spec.js Prettify all spec files 2018-10-17 11:18:17 -05:00
zen_mode_spec.js enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00