Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-11-09 12:44:07 +0300
committerPhil Hughes <me@iamphill.com>2018-11-27 14:40:39 +0300
commitadf8ad9eee20a2b4ea08054e36fede62ba110e57 (patch)
treeffdab5c766778eaf28a9a7cc1ddaea6928287516 /app/assets/javascripts/diffs/store/modules
parent921d6b1a13b5ec59217ab714b4daa6800500d95f (diff)
Improve discussion rendering performance
Improve the renderign of new and existing discussions by reducing the number of watchers on each object & array. Previously every discussion change would trigger an update for every discussion component. Also tidied up some components to get them closer to our docs. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51506
Diffstat (limited to 'app/assets/javascripts/diffs/store/modules')
-rw-r--r--app/assets/javascripts/diffs/store/modules/diff_state.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/assets/javascripts/diffs/store/modules/diff_state.js b/app/assets/javascripts/diffs/store/modules/diff_state.js
index 085e255f1d3..7c7e90df83c 100644
--- a/app/assets/javascripts/diffs/store/modules/diff_state.js
+++ b/app/assets/javascripts/diffs/store/modules/diff_state.js
@@ -17,7 +17,6 @@ export default () => ({
diffFiles: [],
mergeRequestDiffs: [],
mergeRequestDiff: null,
- diffLineCommentForms: {},
diffViewType: viewTypeFromQueryString || viewTypeFromCookie || defaultViewType,
tree: [],
treeEntries: {},