index.tsx 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. import AppStartup from 'sentry/views/performance/mobile/appStarts/screens';
  2. import {StartTypeSelector} from 'sentry/views/performance/mobile/appStarts/screenSummary/startTypeSelector';
  3. import {
  4. MODULE_DESCRIPTION,
  5. MODULE_DOC_LINK,
  6. MODULE_TITLE,
  7. } from 'sentry/views/performance/mobile/appStarts/settings';
  8. import ScreensTemplate from 'sentry/views/performance/mobile/components/screensTemplate';
  9. import {ModulePageProviders} from 'sentry/views/performance/modulePageProviders';
  10. import {ModuleName} from 'sentry/views/starfish/types';
  11. export function InitializationModule() {
  12. return (
  13. <ScreensTemplate
  14. additionalSelectors={<StartTypeSelector />}
  15. content={<AppStartup chartHeight={200} />}
  16. moduleName={ModuleName.APP_START}
  17. moduleDescription={MODULE_DESCRIPTION}
  18. moduleDocLink={MODULE_DOC_LINK}
  19. title={MODULE_TITLE}
  20. />
  21. );
  22. }
  23. function PageWithProviders() {
  24. return (
  25. <ModulePageProviders moduleName="app_start" features="insights-initial-modules">
  26. <InitializationModule />
  27. </ModulePageProviders>
  28. );
  29. }
  30. export default PageWithProviders;