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: 35f3bcdad70686cca0f53592a23f051d2dd049f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { __ } from '~/locale';

export const IssueStateEvent = {
  Close: 'CLOSE',
  Reopen: 'REOPEN',
};

export const STATUS_PAGE_PUBLISHED = __('Published on status page');
export const JOIN_ZOOM_MEETING = __('Join Zoom meeting');

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

export const IssueTypePath = 'issues';
export const IncidentTypePath = 'issues/incident';
export const IncidentType = 'incident';

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

export const POLLING_DELAY = 2000;