2022-01-26 12:08:38 +05:30
|
|
|
import { s__ } from '~/locale';
|
2021-11-11 11:23:49 +05:30
|
|
|
|
2022-01-26 12:08:38 +05:30
|
|
|
export const MSG_ISSUES_ASSIGNED_TO_ME = s__('GlobalSearch|Issues assigned to me');
|
2021-11-11 11:23:49 +05:30
|
|
|
|
2022-01-26 12:08:38 +05:30
|
|
|
export const MSG_ISSUES_IVE_CREATED = s__("GlobalSearch|Issues I've created");
|
2021-11-11 11:23:49 +05:30
|
|
|
|
2022-01-26 12:08:38 +05:30
|
|
|
export const MSG_MR_ASSIGNED_TO_ME = s__('GlobalSearch|Merge requests assigned to me');
|
2021-11-11 11:23:49 +05:30
|
|
|
|
2022-01-26 12:08:38 +05:30
|
|
|
export const MSG_MR_IM_REVIEWER = s__("GlobalSearch|Merge requests that I'm a reviewer");
|
2021-11-11 11:23:49 +05:30
|
|
|
|
2022-01-26 12:08:38 +05:30
|
|
|
export const MSG_MR_IVE_CREATED = s__("GlobalSearch|Merge requests I've created");
|
2021-11-11 11:23:49 +05:30
|
|
|
|
2022-01-26 12:08:38 +05:30
|
|
|
export const MSG_IN_ALL_GITLAB = s__('GlobalSearch|in all GitLab');
|
2021-11-11 11:23:49 +05:30
|
|
|
|
2022-01-26 12:08:38 +05:30
|
|
|
export const MSG_IN_GROUP = s__('GlobalSearch|in group');
|
2021-11-11 11:23:49 +05:30
|
|
|
|
2022-01-26 12:08:38 +05:30
|
|
|
export const MSG_IN_PROJECT = s__('GlobalSearch|in project');
|
2021-11-18 22:05:49 +05:30
|
|
|
|
|
|
|
export const GROUPS_CATEGORY = 'Groups';
|
|
|
|
|
|
|
|
export const PROJECTS_CATEGORY = 'Projects';
|
|
|
|
|
2022-06-21 17:19:12 +05:30
|
|
|
export const ISSUES_CATEGORY = 'Recent issues';
|
|
|
|
|
|
|
|
export const MERGE_REQUEST_CATEGORY = 'Recent merge requests';
|
|
|
|
|
|
|
|
export const RECENT_EPICS_CATEGORY = 'Recent epics';
|
|
|
|
|
2021-11-18 22:05:49 +05:30
|
|
|
export const LARGE_AVATAR_PX = 32;
|
|
|
|
|
|
|
|
export const SMALL_AVATAR_PX = 16;
|
2022-01-26 12:08:38 +05:30
|
|
|
|
|
|
|
export const FIRST_DROPDOWN_INDEX = 0;
|
|
|
|
|
|
|
|
export const SEARCH_BOX_INDEX = -1;
|
|
|
|
|
2022-06-21 17:19:12 +05:30
|
|
|
export const SEARCH_SHORTCUTS_MIN_CHARACTERS = 2;
|
|
|
|
|
2022-01-26 12:08:38 +05:30
|
|
|
export const SEARCH_INPUT_DESCRIPTION = 'search-input-description';
|
|
|
|
|
|
|
|
export const SEARCH_RESULTS_DESCRIPTION = 'search-results-description';
|