settings.tsx 668 B

12345678910111213141516
  1. import {t} from 'sentry/locale';
  2. import {space} from 'sentry/styles/space';
  3. export const MIN_WIDTH = 110;
  4. export const MIN_HEIGHT = 96;
  5. export const Y_GUTTER = space(1.5);
  6. export const X_GUTTER = space(2);
  7. export const DEFAULT_FIELD = 'unknown'; // Numeric data might, in theory, have a missing field. In this case we need a fallback to provide to the field rendering pipeline. `'unknown'` will results in rendering as a string
  8. export const MISSING_DATA_MESSAGE = t('No Data');
  9. export const NON_FINITE_NUMBER_MESSAGE = t('Value is not a finite number.');
  10. export const WIDGET_RENDER_ERROR_MESSAGE = t(
  11. 'Sorry, something went wrong when rendering this widget.'
  12. );