From 4ffd5831e749a664d6ebb5eaffd8f6b1e936bcd6 Mon Sep 17 00:00:00 2001 From: Bruno Garcia Date: Wed, 21 May 2025 17:35:50 -0700 Subject: [PATCH 1/2] dotnet userfeedback --- docs/platforms/unity/user-feedback/index.mdx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/docs/platforms/unity/user-feedback/index.mdx b/docs/platforms/unity/user-feedback/index.mdx index 613677007b209f..ed18fd95ad2187 100644 --- a/docs/platforms/unity/user-feedback/index.mdx +++ b/docs/platforms/unity/user-feedback/index.mdx @@ -15,18 +15,11 @@ User Feedback for **[ASP.NET](/platforms/dotnet/guides/aspnet/user-feedback/#int -You can create a form to collect the user input in your preferred framework, and use the SDK's API to send the information to Sentry. You can also use the widget, as described below. If you'd prefer an alternative to the widget or do not have a JavaScript frontend, you can use this API: +You can create a form to collect the user input in your preferred framework, and use the SDK's API to send the information to Sentry. You can also use the widget, as described below. If you'd prefer an alternative to the widget or do not have a web frontend, you can use this API: ```csharp {tabTitle:C#} var eventId = SentrySdk.CaptureMessage("An event that will receive user feedback."); -SentrySdk.CaptureUserFeedback(eventId, "user@example.com", "It broke.", "The User"); +SentrySdk.CaptureFeedback(eventId, "user@example.com", "It broke.", "The User"); ``` -```fsharp {tabTitle:F#} -open Sentry - -let eventId = SentrySdk.CaptureMessage("An event that will receive user feedback.") - -SentrySdk.CaptureUserFeedback(eventId, "user@example.com", "It broke.", "The User") -``` From b33673dce3861d69d2a1db7b60778d956ee95bdf Mon Sep 17 00:00:00 2001 From: Bruno Garcia Date: Fri, 23 May 2025 13:06:50 -0400 Subject: [PATCH 2/2] Update docs/platforms/unity/user-feedback/index.mdx Co-authored-by: James Crosswell --- docs/platforms/unity/user-feedback/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/unity/user-feedback/index.mdx b/docs/platforms/unity/user-feedback/index.mdx index ed18fd95ad2187..4b86029fa410bd 100644 --- a/docs/platforms/unity/user-feedback/index.mdx +++ b/docs/platforms/unity/user-feedback/index.mdx @@ -20,6 +20,6 @@ You can create a form to collect the user input in your preferred framework, and ```csharp {tabTitle:C#} var eventId = SentrySdk.CaptureMessage("An event that will receive user feedback."); -SentrySdk.CaptureFeedback(eventId, "user@example.com", "It broke.", "The User"); +SentrySdk.CaptureFeedback("It broke.", "user@example.com", "The User", associatedEventId: eventId); ```