diff options
author | Phil Hughes <me@iamphill.com> | 2018-11-09 12:44:07 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-11-27 14:40:39 +0300 |
commit | adf8ad9eee20a2b4ea08054e36fede62ba110e57 (patch) | |
tree | ffdab5c766778eaf28a9a7cc1ddaea6928287516 /app/assets/javascripts/diffs/store/modules/diff_state.js | |
parent | 921d6b1a13b5ec59217ab714b4daa6800500d95f (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/diff_state.js')
-rw-r--r-- | app/assets/javascripts/diffs/store/modules/diff_state.js | 1 |
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: {}, |