sentry-unity icon indicating copy to clipboard operation
sentry-unity copied to clipboard

User Feedback Widget through Prefab

Open zoesyc opened this issue 3 years ago • 1 comments
trafficstars

Give users an easier way to provide user feedback using prefabs

Sentry has a User Feedback feature that is able to show the feedback collected from a user following an error, or simply initiated by a user (without the need to be connected to an error/event).

  • https://docs.sentry.io/product/user-feedback/

The feedback collection allows attaching trace information as well as Session Replay. In addition to other context like tags. In terms of SDK support, in JS we added a web widget, that's easy to add to the screen:

  • https://docs.sentry.io/platforms/javascript/user-feedback/

The goal is to add a similar capability to mobile SDKs.

This SDK already has CaptureFeedback through the .NET SDK:

  • https://github.com/getsentry/sentry-dotnet/pull/3981

See:

  • https://develop.sentry.dev/application-architecture/feedback-architecture/
  • https://github.com/getsentry/sentry-cocoa/issues/4187

The widget has been added to the iOS SDK with quite a few features already. And is also being added to the other major SDKs:

  • https://github.com/getsentry/sentry-react-native/issues/4302
  • https://github.com/getsentry/sentry-cocoa/issues/4270
  • https://github.com/getsentry/sentry-java/issues/3613
  • https://github.com/getsentry/sentry-godot/issues/170
  • https://github.com/getsentry/sentry-unreal/issues/893
  • https://github.com/getsentry/sentry-dotnet/pull/3981
  • https://github.com/getsentry/sentry-dart/blob/7954fb356f96f17127c41230af433bc9ce01233c/flutter/lib/src/feedback/sentry_feedback_widget.dart#L55

Some ideas are new and are not aligned across all SDKs, for example:

  • https://github.com/getsentry/sentry-dart/issues/2541 But ideally we have a similar behavior/look/feel as much as that makes sense. Things should be idiomatic (e.g: swiping down in the modal removes the feedback widget for example)
  • [ ] Add to docs: https://docs.sentry.io/product/user-feedback/setup/

zoesyc avatar Aug 02 '22 18:08 zoesyc