settings.ts 639 B

12345678910111213141516171819202122232425
  1. import {t} from 'sentry/locale';
  2. import {ModuleName} from 'sentry/views/insights/types';
  3. export const MOBILE_LANDING_SUB_PATH = 'mobile';
  4. export const MOBILE_LANDING_TITLE = t('Mobile Performance');
  5. export const MOBILE_SIDEBAR_LABEL = t('Mobile');
  6. export const OVERVIEW_PAGE_ALLOWED_OPS = [
  7. 'ui.action.swipe',
  8. 'ui.action.scroll',
  9. 'ui.action.click',
  10. 'ui.load',
  11. 'app.lifecycle',
  12. // navigation and pageload are seen in react-native
  13. 'navigation',
  14. 'pageload',
  15. ];
  16. export const MODULES = [
  17. ModuleName.APP_START,
  18. ModuleName.SCREEN_LOAD,
  19. ModuleName.SCREEN_RENDERING,
  20. ModuleName.MOBILE_SCREENS,
  21. ModuleName.MOBILE_UI,
  22. ];