2020-05-14 06:08:18 +00:00
|
|
|
import { s__, __ } from '~/locale';
|
2020-05-13 06:08:02 +00:00
|
|
|
|
2018-04-11 13:12:10 +00:00
|
|
|
export const CANCEL_REQUEST = 'CANCEL_REQUEST';
|
2018-05-17 09:25:11 +00:00
|
|
|
export const PIPELINES_TABLE = 'PIPELINES_TABLE';
|
2019-09-18 14:02:45 +00:00
|
|
|
export const LAYOUT_CHANGE_DELAY = 300;
|
2020-05-13 06:08:02 +00:00
|
|
|
export const FILTER_PIPELINES_SEARCH_DELAY = 200;
|
2020-05-07 00:11:11 +00:00
|
|
|
export const ANY_TRIGGER_AUTHOR = 'Any';
|
2020-06-05 21:08:27 +00:00
|
|
|
export const SUPPORTED_FILTER_PARAMETERS = ['username', 'ref', 'status'];
|
2019-11-05 15:06:17 +00:00
|
|
|
|
|
|
|
export const TestStatus = {
|
|
|
|
FAILED: 'failed',
|
|
|
|
SKIPPED: 'skipped',
|
|
|
|
SUCCESS: 'success',
|
|
|
|
};
|
2020-05-13 06:08:02 +00:00
|
|
|
|
|
|
|
export const FETCH_AUTHOR_ERROR_MESSAGE = __('There was a problem fetching project users.');
|
|
|
|
export const FETCH_BRANCH_ERROR_MESSAGE = __('There was a problem fetching project branches.');
|
2020-05-14 06:08:18 +00:00
|
|
|
export const RAW_TEXT_WARNING = s__(
|
|
|
|
'Pipeline|Raw text search is not currently supported. Please use the available search tokens.',
|
|
|
|
);
|