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

constants.js « show « issues « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6320e4ef2666c368df617be484cb76c309097284 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { __ } from '~/locale';

export const INCIDENT_TYPE_PATH = 'issues/incident';
export const ISSUE_STATE_EVENT_CLOSE = 'CLOSE';
export const ISSUE_STATE_EVENT_REOPEN = 'REOPEN';
export const ISSUE_TYPE_PATH = 'issues';
export const JOIN_ZOOM_MEETING = __('Join Zoom meeting');
export const POLLING_DELAY = 2000;
export const STATUS_PAGE_PUBLISHED = __('Published on status page');

export const issuableTypes = [
  { value: 'issue', text: __('Issue'), icon: 'issue-type-issue' },
  { value: 'incident', text: __('Incident'), icon: 'issue-type-incident' },
];

export const issueState = {
  issueType: undefined,
  isDirty: false,
};

export const NEW_ACTIONS_POPOVER_KEY = 'new-actions-popover-viewed';