Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | 9x 9x 9x 9x 9x 9x 9x 9x 9x 9x 9x 9x | import { __ } from '~/locale'; import { helpPagePath } from '~/helpers/help_page_helper'; export const FILTER_STATES = { ALL: { label: __('All'), value: '', }, STARTED: { label: __('Started'), value: 'started', }, PENDING: { label: __('In progress'), value: 'pending', }, SYNCED: { label: __('Synced'), value: 'synced', }, FAILED: { label: __('Failed'), value: 'failed', }, }; export const FILTER_OPTIONS = Object.values(FILTER_STATES); export const DEFAULT_STATUS = 'never'; export const STATUS_ICON_NAMES = { [FILTER_STATES.STARTED.value]: 'clock', [FILTER_STATES.SYNCED.value]: 'check-circle-filled', [FILTER_STATES.PENDING.value]: 'status_pending', [FILTER_STATES.FAILED.value]: 'status_failed', [DEFAULT_STATUS]: 'status_notfound', }; export const STATUS_ICON_CLASS = { [FILTER_STATES.STARTED.value]: 'gl-text-orange-500', [FILTER_STATES.SYNCED.value]: 'gl-text-green-500', [FILTER_STATES.PENDING.value]: 'gl-text-orange-500', [FILTER_STATES.FAILED.value]: 'gl-text-red-500', [DEFAULT_STATUS]: 'gl-text-gray-500', }; export const DEFAULT_SEARCH_DELAY = 500; export const ACTION_TYPES = { RESYNC: 'resync', REVERIFY: 'reverify', RESYNC_ALL: 'resync_all', REVERIFY_ALL: 'reverify_all', }; export const PREV = 'prev'; export const NEXT = 'next'; export const DEFAULT_PAGE_SIZE = 20; export const GEO_BULK_ACTION_MODAL_ID = 'geo-bulk-action'; export const GEO_TROUBLESHOOTING_LINK = helpPagePath( 'administration/geo/replication/troubleshooting.md', ); |