-
-
Notifications
You must be signed in to change notification settings - Fork 9
Description
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).
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:
The goal is to add a similar capability to mobile SDKs.
The SDKs have a new method that represents this new protocol: CaptureFeedback
. The old one should be deprecated in favor of the new one
See:
- https://develop.sentry.dev/application-architecture/feedback-architecture/
- feat: User Feedback widget/form sentry-cocoa#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:
- [EPIC] Feedback Widget for React Native sentry-react-native#4302
- User Feedback UI widget sentry-cocoa#4270
- Implement new user feedback widget sentry-java#3613
- User Feedback Widget sentry-unreal#893
- 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:
- Show user feedback dialog when a screenshot is detected sentry-dart#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)