ddm.tsx 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import ButtonBar from 'sentry/components/buttonBar';
  2. import FeatureBadge from 'sentry/components/featureBadge';
  3. import {FeatureFeedback} from 'sentry/components/featureFeedback';
  4. import * as Layout from 'sentry/components/layouts/thirds';
  5. import PageFiltersContainer from 'sentry/components/organizations/pageFilters/container';
  6. import {PageHeadingQuestionTooltip} from 'sentry/components/pageHeadingQuestionTooltip';
  7. import SentryDocumentTitle from 'sentry/components/sentryDocumentTitle';
  8. import {t} from 'sentry/locale';
  9. import useOrganization from 'sentry/utils/useOrganization';
  10. function DDM() {
  11. const organization = useOrganization();
  12. return (
  13. <SentryDocumentTitle title={t('DDM')} orgSlug={organization.slug}>
  14. <PageFiltersContainer>
  15. <Layout.Page>
  16. <Layout.Header>
  17. <Layout.HeaderContent>
  18. <Layout.Title>
  19. {t('DDM')}
  20. <PageHeadingQuestionTooltip
  21. docsUrl="https://docs.sentry.io"
  22. title={t('Delightful Developer Metrics.')}
  23. />
  24. <FeatureBadge type="alpha" />
  25. </Layout.Title>
  26. </Layout.HeaderContent>
  27. <Layout.HeaderActions>
  28. <ButtonBar gap={1}>
  29. <FeatureFeedback featureName="DDM" buttonProps={{size: 'sm'}} />
  30. </ButtonBar>
  31. </Layout.HeaderActions>
  32. </Layout.Header>
  33. <Layout.Body>
  34. <Layout.Main fullWidth>.</Layout.Main>
  35. </Layout.Body>
  36. </Layout.Page>
  37. </PageFiltersContainer>
  38. </SentryDocumentTitle>
  39. );
  40. }
  41. export default DDM;