container.tsx 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 ReplaysFilters from 'sentry/views/replays/filters';
  10. import ReplaysList from 'sentry/views/replays/list/replaysList';
  11. function ReplaysListContainer() {
  12. useReplayPageview('replay.list-time-spent');
  13. const {slug: orgSlug} = useOrganization();
  14. return (
  15. <SentryDocumentTitle title={`Session Replay - ${orgSlug}`}>
  16. <Layout.Header>
  17. <Layout.HeaderContent>
  18. <Layout.Title>
  19. {t('Session Replay')}
  20. <PageHeadingQuestionTooltip
  21. title={t(
  22. 'A view of available video-like reproductions of user sessions so you can visualize repro steps to debug issues faster.'
  23. )}
  24. docsUrl="https://docs.sentry.io/product/session-replay/"
  25. />
  26. <ReplaysFeatureBadge />
  27. </Layout.Title>
  28. </Layout.HeaderContent>
  29. </Layout.Header>
  30. <PageFiltersContainer>
  31. <Layout.Body>
  32. <Layout.Main fullWidth>
  33. <ReplaysFilters />
  34. <ReplaysList />
  35. </Layout.Main>
  36. </Layout.Body>
  37. </PageFiltersContainer>
  38. </SentryDocumentTitle>
  39. );
  40. }
  41. export default ReplaysListContainer;