123456789101112131415161718192021222324252627282930313233343536373839404142 |
- import Alert from 'sentry/components/alert';
- 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 useOrganization from 'sentry/utils/useOrganization';
- export default function RageClickList() {
- const organization = useOrganization();
- const hasRageCicks = organization.features.includes(
- 'session-replay-rage-dead-selectors'
- );
- return hasRageCicks ? (
- <SentryDocumentTitle
- title={t('Top Selectors with Rage Clicks')}
- orgSlug={organization.slug}
- >
- <Layout.Header>
- <Layout.HeaderContent>
- <Layout.Title>
- {t('Top Selectors with Rage Clicks')}
- <PageHeadingQuestionTooltip
- title={t('See the top selectors your users have rage clicked on.')}
- docsUrl="https://docs.sentry.io/product/session-replay/replay-page-and-filters/"
- />
- </Layout.Title>
- </Layout.HeaderContent>
- </Layout.Header>
- <PageFiltersContainer>
- <Layout.Body>
- <Layout.Main fullWidth>TODO</Layout.Main>
- </Layout.Body>
- </PageFiltersContainer>
- </SentryDocumentTitle>
- ) : (
- <Layout.Page withPadding>
- <Alert type="warning">{t("You don't have access to this feature")}</Alert>
- </Layout.Page>
- );
- }
|