import {Fragment} from 'react'; import styled from '@emotion/styled'; import FeatureBadge from 'sentry/components/badge/featureBadge'; import HookOrDefault from 'sentry/components/hookOrDefault'; import * as Layout from 'sentry/components/layouts/thirds'; import PageFiltersContainer from 'sentry/components/organizations/pageFilters/container'; import {PageHeadingQuestionTooltip} from 'sentry/components/pageHeadingQuestionTooltip'; import SentryDocumentTitle from 'sentry/components/sentryDocumentTitle'; import {t} from 'sentry/locale'; import {space} from 'sentry/styles/space'; import useReplayPageview from 'sentry/utils/replays/hooks/useReplayPageview'; import useOrganization from 'sentry/utils/useOrganization'; import useAllMobileProj from 'sentry/views/replays/detail/useAllMobileProj'; import ListContent from 'sentry/views/replays/list/listContent'; import ReplayTabs from 'sentry/views/replays/tabs'; const ReplayListPageHeaderHook = HookOrDefault({ hookName: 'component:replay-list-page-header', defaultComponent: ({children}) => {children}, }); function ReplaysListContainer() { useReplayPageview('replay.list-time-spent'); const organization = useOrganization(); const {allMobileProj} = useAllMobileProj(); return ( {t('Session Replay')} {allMobileProj ? ( ) : null}
{/* wraps the tabs below the page title */} ); } const LayoutGap = styled('div')` display: grid; gap: ${space(2)}; `; export default ReplaysListContainer;