gitlab-org--gitlab-foss/app/views/projects
Stan Hu 1b7ab11f94 Omit issues links in merge request entity API response
The merge request widget has a section that includes which issues may be
closed or mentioned based on the merge request description. The problem
is that rendering and redacting Markdown can be expensive, especially
since the browser polls for the data every 10 seconds.

Since these links don't change much and are just nice to have, we only
load them on first page load. The frontend will use the existing data if
the data doesn't appear on subsequent requests.

This saves about 30% of the rendering time of this endpoint, which adds
up to significant savings considering that
`MergeRequestsController#show.json` is called over a million times a day
on GitLab.com.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63546
2019-06-20 15:59:41 -07:00
..
artifacts Fixes link in artifacts breadcrumb 2019-03-27 11:14:33 +00:00
badges Add flat-square badge style 2019-01-18 13:39:35 +00:00
blame
blob Get copy to clipboard button aligned within snippet header 2019-05-30 12:54:12 +00:00
boards
branches Fix diverged branch locals 2019-06-12 01:57:40 +01:00
buttons Group download buttons in a .btn-group 2019-05-23 07:23:27 -05:00
ci Revert "Merge branch '57414-show-pipeline-iid-in-pipelines-page' into 'master'" 2019-06-14 13:17:18 +00:00
cleanup Prefer usage of helper expanded_by_default? 2019-04-29 15:01:28 +00:00
commit Revert "Merge branch '57414-show-pipeline-iid-in-pipelines-page' into 'master'" 2019-06-14 13:17:18 +00:00
commits Remove unused avatar sizes 2019-05-31 19:34:26 -05:00
compare Correct file-header spacing on compare page 2019-02-06 17:04:19 +01:00
cycle_analytics Update Cycle Analytics documentation 2019-03-07 01:58:42 +00:00
default_branch Prefer usage of helper expanded_by_default? 2019-04-29 15:01:28 +00:00
deploy_keys Prefer usage of helper expanded_by_default? 2019-04-29 15:01:28 +00:00
deploy_tokens
deployments Fix commits.scss style-lint errors 2019-04-25 11:49:13 -07:00
diffs Format vue files with prettier 2019-06-06 15:51:04 +00:00
environments Updates Save button to have a green bg 2019-04-09 09:48:57 +01:00
error_tracking List Sentry Errors in GitLab - Frontend 2019-01-11 22:52:26 +00:00
find_file
forks [CE] i18n: externalize strings from 'app/views/projects/forks' 2019-04-23 18:55:14 +02:00
generic_commit_statuses Fix commits.scss style-lint errors 2019-04-25 11:49:13 -07:00
graphs Create svg-w-100 utility class for svg containers 2019-04-10 10:19:16 -05:00
group_links
hook_logs
hooks
imports Change container width for project import 2018-12-05 12:30:25 +02:00
issues Merge request tabs fixes 2019-06-06 14:44:13 +00:00
jobs Add a column header to admin/jobs page 2019-05-28 10:44:02 -07:00
labels Move scoped_label into label presenter 2019-04-23 19:58:20 +00:00
mattermosts
merge_requests Omit issues links in merge request entity API response 2019-06-20 15:59:41 -07:00
milestones Adjust burndown chart opened issues count 2019-06-04 13:10:38 +03:00
mirrors Resolve CE/EE diffs in mirror repos settings 2019-05-16 14:22:32 +01:00
network
notes Change "Report abuse to GitLab" to more generic wording. 2019-06-06 10:05:42 +00:00
pages Merge branch 'patch-45' into 'master' 2019-02-26 12:32:45 +00:00
pages_domains Add auto SSL toggle to Pages domain settings page 2019-06-03 19:20:20 -03:00
pipeline_schedules Replaces CSS with BS4 utility class 2019-04-12 12:04:21 +01:00
pipelines Changes button label to Run Pipeline 2019-04-05 22:46:48 +00:00
project_members Resolve CE/EE diffs in project members 2019-05-27 17:47:54 +01:00
project_templates Project template: Fall back to GitLab logo 2019-02-07 17:06:24 +01:00
protected_branches Fix col-sm-* in forms to keep layout 2019-05-27 13:35:28 +09:00
protected_tags Fix col-sm-* in forms to keep layout 2019-05-27 13:35:28 +09:00
refs
registry/repositories Update changelogs/unreleased/28757-remove-docker-pull-prefix-when-copying-a-tag-from-the-registry.yml 2019-05-27 20:10:39 +00:00
releases Update Releases documentation 2019-01-07 15:18:41 +00:00
repositories
runners Update string structure for group runners 2019-01-09 22:11:18 +00:00
serverless/functions Add Knative metrics to Prometheus 2019-04-06 02:02:39 +00:00
services Remove responsive column classes for sm screens 2019-05-30 15:11:25 -04:00
settings Add project level git depth setting 2019-06-06 09:21:18 +01:00
snippets Improve snippets empty state 2019-02-22 12:12:36 +00:00
stage
tags Add documentation and tests 2019-06-19 07:08:56 +00:00
tree Use markdown_field helper to display full_title 2019-06-05 20:09:52 +08:00
triggers Do not expose trigger token when user should not see it 2019-01-31 16:51:17 +01:00
wikis Fix header alignment on wiki and kubernetes pages 2019-06-14 12:22:25 -05:00
_activity.html.haml Fix excessive blank space in project activity view 2019-01-19 15:15:05 -08:00
_bitbucket_import_modal.html.haml
_classification_policy_settings.html.haml Improve project settings page 2019-04-11 18:21:14 +01:00
_commit_button.html.haml
_customize_workflow.html.haml
_deletion_failed.html.haml
_errors.html.haml
_export.html.haml Improve project settings page 2019-04-11 18:21:14 +01:00
_files.html.haml Created repository list breadcrumbs Vue app 2019-05-29 10:24:35 +01:00
_find_file_link.html.haml
_flash_messages.html.haml Resolve CE/EE diffs in _flash_messages 2019-05-16 11:33:51 +01:00
_fork_suggestion.html.haml
_gitlab_import_modal.html.haml
_home_panel.html.haml Adding break-word css to home-panel-description class to correctly word wrap long words 2019-06-12 19:12:33 +00:00
_import_project_pane.html.haml Add snowplow haml attr helper 2019-06-05 16:28:41 +00:00
_issuable_by_email.html.haml Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
_last_push.html.haml
_md_preview.html.haml Replaces md-area with position-relative for markdown areas 2019-04-01 11:27:08 +01:00
_merge_request_merge_checks_settings.html.haml Always show "Pipelines must succeed" checkbox 2019-06-06 09:29:05 +00:00
_merge_request_merge_method_settings.html.haml Update CE-specific files for project MR settings UI 2019-04-17 12:53:37 -03:00
_merge_request_merge_options_settings.html.haml Update CE-specific files for project MR settings UI 2019-04-17 12:53:37 -03:00
_merge_request_settings.html.haml Update CE-specific files for project MR settings UI 2019-04-17 12:53:37 -03:00
_new_project_fields.html.haml Set project default visibility to max allowed 2019-06-05 16:43:31 -07:00
_new_project_push_tip.html.haml
_project_templates.html.haml
_readme.html.haml
_stat_anchor_list.html.haml Further design iteration on project overview 2018-12-07 14:11:42 +00:00
_wiki.html.haml Remove .wiki and @md-typography mixin in favor of .md and .md-file 2019-03-26 14:29:33 +01:00
_zen.html.haml Add auto direction to support rtl languages 2019-04-25 11:40:34 +00:00
activity.html.haml
edit.html.haml Prefer usage of helper expanded_by_default? 2019-04-29 15:01:28 +00:00
empty.html.haml Clean up empty repository state UI 2019-03-12 15:21:02 +01:00
new.html.haml Fixes EE differences for app/views/projects/new.html.haml 2019-04-26 16:41:08 +01:00
no_repo.html.haml
remove_fork.js.haml
show.atom.builder
show.html.haml Further design iteration on project overview 2018-12-07 14:11:42 +00:00
transfer.js.haml
update.js.haml