gitlab-org--gitlab-foss/app/helpers
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
..
groups Resolve CE/EE diffs in new group member view 2019-05-20 23:22:43 +01:00
projects List Sentry Errors in GitLab - Frontend 2019-01-11 22:52:26 +00:00
accounts_helper.rb
active_sessions_helper.rb
appearances_helper.rb Show header and footer system messages in email 2019-02-27 22:07:50 +02:00
application_helper.rb Port EE System Header And Footer feature to CE 2019-02-21 17:55:51 +02:00
application_settings_helper.rb Add DNS rebinding protection settings 2019-05-30 10:47:57 -03:00
auth_helper.rb Run rubocop -a on CE files 2019-05-05 03:24:28 -07:00
auto_devops_helper.rb Enable/disable Auto DevOps at Group level 2019-03-12 10:15:33 +00:00
avatars_helper.rb User can keep their commit email private 2018-11-07 12:24:14 +00:00
award_emoji_helper.rb
blame_helper.rb
blob_helper.rb Get copy to clipboard button aligned within snippet header 2019-05-30 12:54:12 +00:00
boards_helper.rb [CE] Support multiple assignees for merge requests 2019-04-08 18:40:00 -03:00
branches_helper.rb
breadcrumbs_helper.rb
broadcast_messages_helper.rb Add auto direction to support rtl languages 2019-04-25 11:40:34 +00:00
builds_helper.rb Externalize strings in helpers 2019-04-04 17:05:25 +00:00
button_helper.rb Externalize strings in helpers 2019-04-04 17:05:25 +00:00
calendar_helper.rb
ci_status_helper.rb Fix commits.scss style-lint errors 2019-04-25 11:49:13 -07:00
ci_variables_helper.rb Do not escape forward slashes in Maskable REGEX 2019-06-06 15:46:46 +01:00
clusters_helper.rb Show health graphs on group-level 2019-05-06 16:24:14 +00:00
commits_helper.rb Another Static Linting Fix 2019-01-05 00:42:18 +01:00
compare_helper.rb Revert "Merge branch 'blackst0ne-update-push-new-merge-request-url' into 'master'" 2018-11-07 13:32:20 +00:00
components_helper.rb
conversational_development_index_helper.rb
cookies_helper.rb
count_helper.rb Merge branch 'fix-misspellings-app-comments' into 'master' 2019-02-26 12:25:01 +01:00
dashboard_helper.rb Resolve CE/EE diffs in zero_authorized_projects 2019-05-11 06:25:17 +01:00
defer_script_tag_helper.rb
deploy_tokens_helper.rb
diff_helper.rb Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
dropdowns_helper.rb Backport of EE changes from MR 13763 2019-06-14 05:07:29 +00:00
emails_helper.rb Merge branch 'improve-email-text-part' into 'master' 2019-06-07 10:15:03 +00:00
emoji_helper.rb
environment_helper.rb
environments_helper.rb Fix missing deployment rockets in monitor dashboard 2019-06-14 07:59:42 +00:00
events_helper.rb Rename methods that conflict in Rails 5.2 2019-05-12 23:42:06 -05:00
explore_helper.rb
favicon_helper.rb
form_helper.rb [CE] Support multiple assignees for merge requests 2019-04-08 18:40:00 -03:00
git_helper.rb
gitlab_routing_helper.rb
graph_helper.rb
groups_helper.rb Apply suggestion to app/helpers/groups_helper.rb 2019-05-30 12:02:55 +00:00
hooks_helper.rb
icons_helper.rb Log and pass correlation-id between Unicorn, Sidekiq and Gitaly 2018-12-06 20:46:14 +01:00
ide_helper.rb Update IDE haml view to support EE extensions 2018-12-05 14:40:06 -06:00
import_helper.rb Improve the GitHub and Gitea import feature table interface 2019-02-13 00:17:52 +00:00
instance_configuration_helper.rb
issuables_helper.rb Omit issues links in merge request entity API response 2019-06-20 15:59:41 -07:00
issues_helper.rb
javascript_helper.rb
kerberos_spnego_helper.rb
labels_helper.rb Fix inconsistent capitalization in label colors 2019-05-30 20:14:39 +08:00
lazy_image_tag_helper.rb
markup_helper.rb Render GFM html in GraphQL 2019-06-20 08:02:33 +00:00
mattermost_helper.rb
members_helper.rb Add subresources removal to member destroy service 2019-01-31 16:52:50 +01:00
merge_requests_helper.rb Abstract auto merge processes 2019-06-03 13:15:29 +07:00
milestones_helper.rb Externalize strings detected by rubocop-i18n 2019-04-15 12:25:48 +00:00
milestones_routing_helper.rb
mirror_helper.rb Refactor mirror instructions view 2019-05-01 12:16:03 +00:00
namespaces_helper.rb Add part of needed code 2019-04-05 18:49:46 +00:00
nav_helper.rb Resolve CE/EE diffs in app/views/layouts view 2019-05-11 23:38:41 +01:00
notes_helper.rb Remove the `comment_personal_snippet` permission 2019-05-02 11:13:42 +01:00
notifications_helper.rb Hide issue title on unsubscribe for anonymous users 2019-05-16 20:17:23 +03:00
numbers_helper.rb
page_layout_helper.rb Fix page_description helper performance 2019-05-22 16:56:12 +01:00
pagination_helper.rb
performance_bar_helper.rb
pipeline_schedules_helper.rb
preferences_helper.rb Add Saturday to first day of the week 2019-03-04 07:52:15 +03:30
profiles_helper.rb Resolve "Empty states for profile page" 2019-02-06 09:11:39 +00:00
projects_helper.rb Add render_projects method to controller 2019-06-05 00:10:24 +00:00
repository_languages_helper.rb
rss_helper.rb
runners_helper.rb Take contacted_at value from the DB when it is about to be displayed in the Web interface with sorting enabled. 2019-01-04 13:24:42 +07:00
safe_params_helper.rb
search_helper.rb Use scoped routes for labels and milestones 2019-06-13 23:39:39 +00:00
selects_helper.rb Backport some EE helper changes 2018-12-06 17:08:12 +01:00
services_helper.rb Make KubernetesService readonly 2019-06-18 00:01:56 +00:00
sidekiq_helper.rb Run rubocop -a on CE files 2019-05-05 03:24:28 -07:00
snippets_helper.rb Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq 2019-01-01 22:52:05 +01:00
sorting_helper.rb Allow issues to be sorted by relative_position 2019-05-28 11:36:10 -05:00
storage_helper.rb Add wiki size to project statistics 2019-05-29 16:08:25 +02:00
submodule_helper.rb
system_note_helper.rb
tab_helper.rb
tags_helper.rb
time_helper.rb
todos_helper.rb
tracking_helper.rb Add snowplow haml attr helper 2019-06-05 16:28:41 +00:00
tree_helper.rb Externalize strings in helpers 2019-04-04 17:05:25 +00:00
triggers_helper.rb
user_callouts_helper.rb Added diff suggestion popover 2019-06-14 14:01:24 +01:00
users_helper.rb Add last activity to user administration 2019-02-05 17:56:51 +02:00
version_check_helper.rb Use class methods for VersionCheck 2018-12-14 13:56:03 -06:00
visibility_level_helper.rb Apply suggestion to app/helpers/visibility_level_helper.rb 2019-06-06 07:35:24 +00:00
webpack_helper.rb
wiki_helper.rb Allow to sort wiki pages by date and title 2019-04-04 16:28:56 +00:00
workhorse_helper.rb Download a folder from repository 2019-04-02 22:07:16 +08:00