summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ide/constants.js
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-18 06:09:06 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-18 06:09:06 +0000
commitcefe554b7ce2d0b52f9de855be832a47c2bc24ab (patch)
tree74c1ad2f688afd2f806aaf94e73e0bcd128cea00 /app/assets/javascripts/ide/constants.js
parent5ee120f46740efac7b8a460d7a92e4da82f4fb0b (diff)
downloadgitlab-ce-cefe554b7ce2d0b52f9de855be832a47c2bc24ab.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/ide/constants.js')
-rw-r--r--app/assets/javascripts/ide/constants.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/assets/javascripts/ide/constants.js b/app/assets/javascripts/ide/constants.js
index 54d3e79411f..e7762f9e0f2 100644
--- a/app/assets/javascripts/ide/constants.js
+++ b/app/assets/javascripts/ide/constants.js
@@ -11,12 +11,6 @@ export const FILE_VIEW_MODE_PREVIEW = 'preview';
export const PERMISSION_CREATE_MR = 'createMergeRequestIn';
export const PERMISSION_READ_MR = 'readMergeRequest';
-export const activityBarViews = {
- edit: 'ide-tree',
- commit: 'commit-section',
- review: 'ide-review',
-};
-
export const viewerTypes = {
mr: 'mrdiff',
edit: 'editor',
@@ -47,6 +41,12 @@ export const diffViewerErrors = Object.freeze({
stored_externally: 'server_side_but_stored_externally',
});
+export const leftSidebarViews = {
+ edit: { name: 'ide-tree', keepAlive: false },
+ review: { name: 'ide-review', keepAlive: false },
+ commit: { name: 'repo-commit-section', keepAlive: false },
+};
+
export const rightSidebarViews = {
pipelines: { name: 'pipelines-list', keepAlive: true },
jobsDetail: { name: 'jobs-detail', keepAlive: false },