From 71156a4da06c50365e886b414486f0516da86d74 Mon Sep 17 00:00:00 2001 From: Giannis Gkiortzis <58184179+giortzisg@users.noreply.github.com> Date: Thu, 9 Jul 2026 11:08:13 +0200 Subject: [PATCH] docs(go): Remove unsupported user feedback docs Remove the Go User Feedback page and configuration page because sentry-go does not support User Feedback. Drop the stale Fiber redirect that pointed at the removed page. Co-Authored-By: Claude --- .../user-feedback/configuration/index.mdx | 31 ------------------- .../go/common/user-feedback/index.mdx | 25 --------------- middleware.ts | 4 --- 3 files changed, 60 deletions(-) delete mode 100644 docs/platforms/go/common/user-feedback/configuration/index.mdx delete mode 100644 docs/platforms/go/common/user-feedback/index.mdx diff --git a/docs/platforms/go/common/user-feedback/configuration/index.mdx b/docs/platforms/go/common/user-feedback/configuration/index.mdx deleted file mode 100644 index fb4ec4c21e0a92..00000000000000 --- a/docs/platforms/go/common/user-feedback/configuration/index.mdx +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: Configuration -sidebar_order: 6100 -description: "Learn about the general User Feedback configuration fields." ---- - -## Crash-Report Modal - -You can customize the Crash-Report modal to your organization's needs, for example, for localization purposes. All options can be passed through the `Sentry.showReportDialog` call. - -| Param | Default | -| ---------------- | ------------------------------------------------------------------------------------------------- | -| `eventId` | Manually set the id of the event. | -| `dsn` | Manually set dsn to report to. | -| `user` | Manually set user data _[an object with keys listed below]_. | -| `user.email` | User's email address. | -| `user.name` | User's name. | -| `lang` | _[automatic]_ – **override for Sentry’s language code** | -| `title` | It looks like we’re having issues. | -| `subtitle` | Our team has been notified. | -| `subtitle2` | If you’d like to help, tell us what happened below. – **not visible on small screen resolutions** | -| `labelName` | Name | -| `labelEmail` | Email | -| `labelComments` | What happened? | -| `labelClose` | Close | -| `labelSubmit` | Submit | -| `errorGeneric` | An unknown error occurred while submitting your report. Please try again. | -| `errorFormEntry` | Some fields were invalid. Please correct the errors and try again. | -| `successMessage` | Your feedback has been sent. Thank you! | -| `onLoad` | n/a - **an optional callback that will be invoked when the widget opens** | -| `onClose` | n/a - **an optional callback that will be invoked when the widget closes** | diff --git a/docs/platforms/go/common/user-feedback/index.mdx b/docs/platforms/go/common/user-feedback/index.mdx deleted file mode 100644 index b910ca2348ebb3..00000000000000 --- a/docs/platforms/go/common/user-feedback/index.mdx +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: Set Up User Feedback -sidebar_title: User Feedback -description: "Learn more about collecting user feedback when an event occurs. Sentry pairs the feedback with the original event, giving you additional insight into issues." -sidebar_order: 6000 -sidebar_section: features ---- - -When a user experiences an error, Sentry provides the ability to collect additional feedback. You can collect feedback according to the method supported by the SDK. - -## Crash-Report Modal - -Our embeddable, JavaScript-based, Crash-Report modal is useful when you would typically render a plain error page (the classic `500.html`) on your website. - -To collect feedback, the Crash-Report modal requests and collects the user's name, email address, and a description of what occurred. When feedback is provided, Sentry pairs the feedback with the original event, giving you additional insights into issues. - -The screenshot below provides an example of the Crash-Report modal, though yours may differ depending on your customization: - - - -### Integration - -The modal authenticates with your public DSN, then passes in the Event ID that was generated on your backend. - - diff --git a/middleware.ts b/middleware.ts index 8cf67f85439010..fc00a973fb14f8 100644 --- a/middleware.ts +++ b/middleware.ts @@ -3532,10 +3532,6 @@ const USER_DOCS_REDIRECTS: Redirect[] = [ from: '/accounts/require-2fa/', to: '/organization/authentication/two-factor-authentication/', }, - { - from: '/platforms/go/guides/fiber/user-feedback/configuration/', - to: '/platforms/go/user-feedback/', - }, { from: '/platforms/javascript/guides/', to: '/platforms/javascript/',