Browse Source

docs(ui): Add simpler `Next Steps` section in `Flutter` getting started docs (#57766)

Relates to https://github.com/getsentry/sentry-dart/issues/1585

---------

Co-authored-by: ArthurKnaus <arthur.knaus@sentry.io>
Denis Andrašec 1 year ago
parent
commit
46a667d828
1 changed files with 5 additions and 45 deletions
  1. 5 45
      static/app/gettingStartedDocs/flutter/flutter.tsx

+ 5 - 45
static/app/gettingStartedDocs/flutter/flutter.tsx

@@ -170,57 +170,17 @@ Future<void> processOrderBatch(ISentrySpan span) async {
     ],
   },
   {
-    title: t('Debug Symbols'),
+    title: t('Next Steps'),
     configurations: [
-      {
-        description: t(
-          'We offer a range of methods to provide Sentry with debug symbols so that you can see symbolicated stack traces and triage issues faster.'
-        ),
-      },
-      {
-        description: (
-          <p>
-            {tct(
-              "Complete stack traces will be shown for your Dart error by default, but if you use [splitDebugInfo: split-debug-info] and [obfuscate: obfuscate], you'll need to [uploadDebugSymbols: upload the debug information files] generated by the [flutter: flutter] build.",
-              {
-                splitDebugInfo: <code />,
-                obfuscate: <code />,
-                uploadDebugSymbols: (
-                  <ExternalLink href="https://docs.sentry.io/platforms/flutter/upload-debug/" />
-                ),
-                flutter: <code />,
-              }
-            )}
-          </p>
-        ),
-      },
       {
         description: (
           <p>
             {tct(
-              "You'll also need to [uploadDebug: upload the debug information files] generated by the [flutter: flutter] build for iOS, macOS, and Android NDK native crashes.",
+              '[debugSymbols: Debug Symbols]: We offer a range of methods to provide Sentry with debug symbols so that you can see symbolicated stack traces and triage issues faster.',
               {
-                uploadDebug: (
+                debugSymbols: (
                   <ExternalLink href="https://docs.sentry.io/platforms/flutter/upload-debug/" />
                 ),
-                flutter: <code />,
-              }
-            )}
-          </p>
-        ),
-      },
-    ],
-  },
-  {
-    title: t('Source Context'),
-    configurations: [
-      {
-        description: (
-          <p>
-            {tct(
-              "If Sentry has access to your application's source code, it can show snippets of code [sourceContext: source context] around the location of stack frames, which helps to quickly pinpoint problematic code.",
-              {
-                sourceContext: <i />,
               }
             )}
           </p>
@@ -230,10 +190,10 @@ Future<void> processOrderBatch(ISentrySpan span) async {
         description: (
           <p>
             {tct(
-              "To enable source context, you'll need to upload debug symbols to Sentry by following the [sourceContext: Uploading Source Code Context for Flutter Android, iOS, and macOS] guide.",
+              "[sourceContext: Source Context]: If Sentry has access to your application's source code, it can show snippets of code source context around the location of stack frames, which helps to quickly pinpoint problematic code.",
               {
                 sourceContext: (
-                  <ExternalLink href="https://docs.sentry.io/platforms/flutter/upload-debug/#uploading-source-code-context-for-flutter-android-ios-and-macos" />
+                  <ExternalLink href="https://docs.sentry.io/platforms/flutter/upload-debug/#uploading-source-context-for-flutter-android-ios-and-macos" />
                 ),
               }
             )}