|
@@ -9,6 +9,11 @@ import type {
|
|
|
DocsParams,
|
|
|
OnboardingConfig,
|
|
|
} from 'sentry/components/onboarding/gettingStartedDoc/types';
|
|
|
+import {
|
|
|
+ getCrashReportGenericInstallStep,
|
|
|
+ getCrashReportModalConfigDescription,
|
|
|
+ getCrashReportModalIntroduction,
|
|
|
+} from 'sentry/components/onboarding/gettingStartedDoc/utils/feedbackOnboarding';
|
|
|
import replayOnboardingJsLoader from 'sentry/gettingStartedDocs/javascript/jsLoader/jsLoader';
|
|
|
import {t, tct} from 'sentry/locale';
|
|
|
|
|
@@ -212,9 +217,25 @@ const onboarding: OnboardingConfig = {
|
|
|
verify: () => [],
|
|
|
};
|
|
|
|
|
|
+const crashReportOnboarding: OnboardingConfig = {
|
|
|
+ introduction: () => getCrashReportModalIntroduction(),
|
|
|
+ install: (params: Params) => getCrashReportGenericInstallStep(params),
|
|
|
+ configure: () => [
|
|
|
+ {
|
|
|
+ type: StepType.CONFIGURE,
|
|
|
+ description: getCrashReportModalConfigDescription({
|
|
|
+ link: 'https://docs.sentry.io/platforms/go/guides/fasthttp/user-feedback/configuration/#crash-report-modal',
|
|
|
+ }),
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ verify: () => [],
|
|
|
+ nextSteps: () => [],
|
|
|
+};
|
|
|
+
|
|
|
const docs: Docs = {
|
|
|
onboarding,
|
|
|
replayOnboardingJsLoader,
|
|
|
+ crashReportOnboarding,
|
|
|
};
|
|
|
|
|
|
export default docs;
|