list.tsx 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 SentryDocumentTitle from 'sentry/components/sentryDocumentTitle';
  5. import {t} from 'sentry/locale';
  6. import useReplayPageview from 'sentry/utils/replays/hooks/useReplayPageview';
  7. import useOrganization from 'sentry/utils/useOrganization';
  8. import ReplaysFilters from 'sentry/views/replays/list/filters';
  9. import ReplaysList from 'sentry/views/replays/list/replaysList';
  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. </Layout.Title>
  26. </Layout.HeaderContent>
  27. </Layout.Header>
  28. <PageFiltersContainer>
  29. <Layout.Body>
  30. <Layout.Main fullWidth>
  31. <ReplaysFilters />
  32. <ReplaysList />
  33. </Layout.Main>
  34. </Layout.Body>
  35. </PageFiltersContainer>
  36. </SentryDocumentTitle>
  37. );
  38. }
  39. export default ReplaysListContainer;