gitlab-org--gitlab-foss/app/assets/javascripts/ide/constants.js

27 lines
563 B
JavaScript
Raw Normal View History

2018-04-16 14:08:04 +00:00
// Fuzzy file finder
export const MAX_FILE_FINDER_RESULTS = 40;
export const FILE_FINDER_ROW_HEIGHT = 55;
export const FILE_FINDER_EMPTY_ROW_HEIGHT = 33;
export const MAX_WINDOW_HEIGHT_COMPACT = 750;
// Commit message textarea
2018-04-16 14:08:04 +00:00
export const MAX_TITLE_LENGTH = 50;
export const MAX_BODY_LENGTH = 72;
export const activityBarViews = {
edit: 'ide-tree',
commit: 'commit-section',
review: 'ide-review',
};
2018-05-04 12:03:35 +00:00
export const viewerTypes = {
mr: 'mrdiff',
edit: 'editor',
diff: 'diff',
};
2018-05-23 10:44:47 +00:00
export const rightSidebarViews = {
pipelines: 'pipelines-list',
};