Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add User Feedback support through a Widget #3964

Open
bruno-garcia opened this issue Feb 13, 2025 · 1 comment
Open

Add User Feedback support through a Widget #3964

bruno-garcia opened this issue Feb 13, 2025 · 1 comment

Comments

@bruno-garcia
Copy link
Member

bruno-garcia commented Feb 13, 2025

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.

This SDK already has a function called CaptureUserFeedback which requires an event_id to work. This is the 'original' support for feedback that required an event to tie the feedback to. It didn't allow attachments, or tags as those would go on the error anyway.

The new protocol allows for the feedback itself to be self contained.
The SDKs have a new method that represnets this new protocol: CaptureFeedback. The old one should be deprecated in favor of the new one

See:

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:

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

@jamescrosswell
Copy link
Collaborator

jamescrosswell commented Feb 26, 2025

@bruno-garcia the new API to capture feedback has been implemented in #3981.

The widget is a trickier in .NET though. I built a UI into a couple of the samples:

But there are all kinds of ways people could be building their UI in .NET (Blazor, ASP.NET Core MVC, AJAX, SPA front ends, native Android/iOS UI, WinForms, UWP, WinUI, WPF, MAUI etc.).

Maybe we just contain the scope of this issue to building Widgets for MAUI and ASP.NET Core? Even those two, I think, will keep us busy with people requesting ways to style them and customise them etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants