Welcome to mirror list, hosted at ThFree Co, Russian Federation.

constants.js « observability « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 83eaea185e5dfa4f9370eabc8cfa9dd90d78c964 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { __ } from '~/locale';

export const SKELETON_SPINNER_VARIANT = 'spinner';

export const SKELETON_STATE = Object.freeze({
  ERROR: 'error',
  VISIBLE: 'visible',
  HIDDEN: 'hidden',
});

export const DEFAULT_TIMERS = Object.freeze({
  TIMEOUT_MS: 20000,
  CONTENT_WAIT_MS: 500,
});

export const TIMEOUT_ERROR_LABEL = __('Unable to load the page');
export const TIMEOUT_ERROR_MESSAGE = __('Reload the page to try again.');