container.tsx 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. import * as Layout from 'sentry/components/layouts/thirds';
  2. import PageFiltersContainer from 'sentry/components/organizations/pageFilters/container';
  3. import {PageHeadingQuestionTooltip} from 'sentry/components/pageHeadingQuestionTooltip';
  4. import ReplaysFeatureBadge from 'sentry/components/replays/replaysFeatureBadge';
  5. import SentryDocumentTitle from 'sentry/components/sentryDocumentTitle';
  6. import {t} from 'sentry/locale';
  7. import useReplayPageview from 'sentry/utils/replays/hooks/useReplayPageview';
  8. import useOrganization from 'sentry/utils/useOrganization';
  9. import ReplaysList from 'sentry/views/replays/list/replays';
  10. function ReplaysListContainer() {
  11. useReplayPageview('replay.list-time-spent');
  12. const {slug: orgSlug} = useOrganization();
  13. return (
  14. <SentryDocumentTitle title={`Session Replay - ${orgSlug}`}>
  15. <Layout.Header>
  16. <Layout.HeaderContent>
  17. <Layout.Title>
  18. {t('Session Replay')}
  19. <PageHeadingQuestionTooltip
  20. title={t(
  21. 'A view of available video-like reproductions of user sessions so you can visualize repro steps to debug issues faster.'
  22. )}
  23. docsUrl="https://docs.sentry.io/product/session-replay/"
  24. />
  25. <ReplaysFeatureBadge />
  26. </Layout.Title>
  27. </Layout.HeaderContent>
  28. </Layout.Header>
  29. <PageFiltersContainer>
  30. <ReplaysList />
  31. </PageFiltersContainer>
  32. </SentryDocumentTitle>
  33. );
  34. }
  35. export default ReplaysListContainer;