debian-mirror-gitlab/app/assets/javascripts/issues/constants.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
720 B
JavaScript
Raw Normal View History

2022-01-26 12:08:38 +05:30
import { __ } from '~/locale';
2023-05-27 22:25:52 +05:30
export const STATUS_ALL = 'all';
2023-04-23 21:23:45 +05:30
export const STATUS_CLOSED = 'closed';
2023-05-27 22:25:52 +05:30
export const STATUS_MERGED = 'merged';
2023-04-23 21:23:45 +05:30
export const STATUS_OPEN = 'opened';
export const STATUS_REOPENED = 'reopened';
export const TITLE_LENGTH_MAX = 255;
2023-05-27 22:25:52 +05:30
export const TYPE_ALERT = 'alert';
2023-04-23 21:23:45 +05:30
export const TYPE_EPIC = 'epic';
2023-05-27 22:25:52 +05:30
export const TYPE_INCIDENT = 'incident';
2023-04-23 21:23:45 +05:30
export const TYPE_ISSUE = 'issue';
2023-05-27 22:25:52 +05:30
export const TYPE_MERGE_REQUEST = 'merge_request';
export const TYPE_TEST_CASE = 'test_case';
export const WORKSPACE_GROUP = 'group';
export const WORKSPACE_PROJECT = 'project';
2022-01-26 12:08:38 +05:30
export const IssuableStatusText = {
2023-04-23 21:23:45 +05:30
[STATUS_CLOSED]: __('Closed'),
[STATUS_OPEN]: __('Open'),
[STATUS_REOPENED]: __('Open'),
2022-01-26 12:08:38 +05:30
};