import {navigateTo} from 'sentry/actionCreators/navigation'; import Feature from 'sentry/components/acl/feature'; import {Button} from 'sentry/components/button'; import ButtonBar from 'sentry/components/buttonBar'; import FeatureTourModal from 'sentry/components/modals/featureTourModal'; import {t} from 'sentry/locale'; import type {Organization} from 'sentry/types/organization'; import {trackAnalytics} from 'sentry/utils/analytics'; import useRouter from 'sentry/utils/useRouter'; import {PERFORMANCE_TOUR_STEPS} from 'sentry/views/performance/onboarding'; import {getPerformanceBaseUrl} from 'sentry/views/performance/utils'; const DOCS_URL = 'https://docs.sentry.io/performance-monitoring/getting-started/'; type Props = { organization: Organization; }; function MissingPerformanceButtons({organization}: Props) { const router = useRouter(); function handleTourAdvance(step: number, duration: number) { trackAnalytics('project_detail.performance_tour.advance', { organization, step, duration, }); } function handleClose(step: number, duration: number) { trackAnalytics('project_detail.performance_tour.close', { organization, step, duration, }); } return ( {({showModal}) => ( )} ); } export default MissingPerformanceButtons;