|
@@ -6,6 +6,9 @@ import ConfigStore from 'sentry/stores/configStore';
|
|
|
|
|
|
export default function getGuidesContent(orgSlug: string | null): GuidesContent {
|
|
|
if (ConfigStore.get('demoMode')) {
|
|
|
+ if (localStorage.getItem('new-walkthrough') === '1') {
|
|
|
+ return getDemoModeGuidesV2();
|
|
|
+ }
|
|
|
return getDemoModeGuides();
|
|
|
}
|
|
|
return [
|
|
@@ -450,3 +453,169 @@ function getDemoModeGuides(): GuidesContent {
|
|
|
},
|
|
|
];
|
|
|
}
|
|
|
+
|
|
|
+function getDemoModeGuidesV2(): GuidesContent {
|
|
|
+ return [
|
|
|
+ {
|
|
|
+ guide: 'sidebar_v2',
|
|
|
+ requiredTargets: ['projects', 'issues'],
|
|
|
+ priority: 1,
|
|
|
+ markOthersAsSeen: true,
|
|
|
+ steps: [
|
|
|
+ {
|
|
|
+ title: t('Projects'),
|
|
|
+ target: 'projects',
|
|
|
+ description: t(
|
|
|
+ `Create a project for any type of application you want to monitor.`
|
|
|
+ ),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: t('Issues'),
|
|
|
+ target: 'issues',
|
|
|
+ description: t(
|
|
|
+ `Here's a list of what's broken with your application. Sentry automatically groups similar events together into an issue.`
|
|
|
+ ),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: t('Performance'),
|
|
|
+ target: 'performance',
|
|
|
+ description: t(
|
|
|
+ `Keep a pulse on crash rates, throughput, and latency issues across projects.`
|
|
|
+ ),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: t('Releases'),
|
|
|
+ target: 'releases',
|
|
|
+ description: t(
|
|
|
+ `Track the health of every release, see differences between releases from crash analytics to adoption rates.`
|
|
|
+ ),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: t('Discover'),
|
|
|
+ target: 'discover',
|
|
|
+ description: t(
|
|
|
+ `Query and unlock insights into the health of your entire system and get answers to critical business questions all in one place.`
|
|
|
+ ),
|
|
|
+ nextText: t(`Got it`),
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ guide: 'issues_v3',
|
|
|
+ requiredTargets: ['tags', 'stack_trace', 'breadcrumbs'],
|
|
|
+ steps: [
|
|
|
+ {
|
|
|
+ title: t('Metadata and metrics'),
|
|
|
+ target: 'tags',
|
|
|
+ description: t(
|
|
|
+ `See tags like specific users affected by the event, device, OS, and browser type.
|
|
|
+ On the right side of the page you can view the number of affected users and exception frequency overtime.`
|
|
|
+ ),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: t('Find your broken code'),
|
|
|
+ target: 'stack_trace',
|
|
|
+ description: t(
|
|
|
+ `View the stack trace to see the exact sequence of function calls leading to the error in question.`
|
|
|
+ ),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: t('Retrace your steps'),
|
|
|
+ target: 'breadcrumbs',
|
|
|
+ description: t(
|
|
|
+ `Sentry automatically captures breadcrumbs for events so you can see the sequence of events so you can see the sequence of events leading up to the error.`
|
|
|
+ ),
|
|
|
+ nextText: t(`Got it`),
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ guide: 'releases_v2',
|
|
|
+ requiredTargets: ['release_projects'],
|
|
|
+ priority: 1,
|
|
|
+ steps: [
|
|
|
+ {
|
|
|
+ title: t('Compare releases'),
|
|
|
+ target: 'release_projects',
|
|
|
+ description: t(
|
|
|
+ `Click here and select the "react-native" project to see how the release is trending compaed to previous releases.`
|
|
|
+ ),
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ guide: 'react-native-release',
|
|
|
+ requiredTargets: ['release_version'],
|
|
|
+ steps: [
|
|
|
+ {
|
|
|
+ title: t('Release-specfic trends'),
|
|
|
+ target: 'release_version',
|
|
|
+ description: t(
|
|
|
+ `Select the latest release to review new and regressed issues, and business critical metrics like crash rate, user adoption, and session duration.`
|
|
|
+ ),
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ guide: 'release-details_v2',
|
|
|
+ requiredTargets: ['release_states'],
|
|
|
+ steps: [
|
|
|
+ {
|
|
|
+ title: t('New and regresses issues'),
|
|
|
+ target: 'release_states',
|
|
|
+ description: t(
|
|
|
+ `Along with reviewing how your release is trending over time compared to previous releases, you can view new and regressed issues here.`
|
|
|
+ ),
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ guide: 'performance',
|
|
|
+ requiredTargets: ['performance_table'],
|
|
|
+ steps: [
|
|
|
+ {
|
|
|
+ title: t('See slow transactions'),
|
|
|
+ target: 'performance_table',
|
|
|
+ description: t(
|
|
|
+ `Trace slow-loading pages back to their API calls, as well as, related errors and users impacted across projects. Select a transaction to see more details.`
|
|
|
+ ),
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ guide: 'transaction_summary',
|
|
|
+ requiredTargets: ['user_misery', 'transactions_table'],
|
|
|
+ steps: [
|
|
|
+ {
|
|
|
+ title: t('Identify the root cause'),
|
|
|
+ target: 'user_misery',
|
|
|
+ description: t(
|
|
|
+ 'Dive into the details behind a slow transaction. See User Misery, Apdex, and more metrics, along with related events and suspect spans.'
|
|
|
+ ),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: t('Breakdown event spans'),
|
|
|
+ target: 'transactions_table',
|
|
|
+ description: t(
|
|
|
+ 'Select an Event ID from a list of slow transactions to uncover slow spans.'
|
|
|
+ ),
|
|
|
+ nextText: t(`Got it`),
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ guide: 'transaction_details_v2',
|
|
|
+ requiredTargets: ['span_tree'],
|
|
|
+ steps: [
|
|
|
+ {
|
|
|
+ title: t('See slow fast'),
|
|
|
+ target: 'span_tree',
|
|
|
+ description: t(
|
|
|
+ `Expand the spans to see span details from start date, end date to the operation. Below you can view breadcrumbs for a play-by-play of what your users
|
|
|
+ did before encountering the performance.`
|
|
|
+ ),
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ ];
|
|
|
+}
|