Skip to content

Commit

Permalink
add rust
Browse files Browse the repository at this point in the history
  • Loading branch information
michellewzhang committed Mar 8, 2024
1 parent 8637125 commit eaaa2b5
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions static/app/gettingStartedDocs/rust/rust.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ import type {
DocsParams,
OnboardingConfig,
} from 'sentry/components/onboarding/gettingStartedDoc/types';
import {
getCrashReportBackendInstallStep,
getCrashReportModalConfigDescription,
getCrashReportModalIntroduction,
} from 'sentry/components/onboarding/gettingStartedDoc/utils/feedbackOnboarding';
import {t, tct} from 'sentry/locale';
import {getPackageVersion} from 'sentry/utils/gettingStartedDocs/getPackageVersion';

Expand Down Expand Up @@ -158,9 +163,25 @@ const customMetricsOnboarding: OnboardingConfig = {
],
};

const crashReportOnboarding: OnboardingConfig = {
introduction: () => getCrashReportModalIntroduction(),
install: (params: Params) => getCrashReportBackendInstallStep(params),
configure: () => [
{
type: StepType.CONFIGURE,
description: getCrashReportModalConfigDescription({
link: 'https://docs.sentry.io/platforms/rust/user-feedback/configuration/#crash-report-modal',
}),
},
],
verify: () => [],
nextSteps: () => [],
};

const docs: Docs = {
onboarding,
customMetricsOnboarding,
crashReportOnboarding,
};

export default docs;

0 comments on commit eaaa2b5

Please sign in to comment.