You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today the feedback you can submit with the SDK takes an event_id. So you need to capture an exception or at least a message to attach the feedback to. The same way you can use that event_id to tie attachments to it.
I believe we can improve this by letting you capture feedbacks without the need to capture an event (error/msg), and we recently did that to power our new Widget. So it's something we can look into going forward but for now I suggest using the captureMessage with Attachment + captureUserFeedback route
The blocker for this approach is the backend accepting the user feedback envelope together with attachments, as we allow for error events. @JoshFerge is this something you can help us with?
It'll be available on v8.0.0 of the SDK as Sentry.captureFeedback() and will very closely align with the other captureException() and captureMessage() methods we have.
Activity
getsantry commentedon May 30, 2023
Assigning to @getsentry/support for routing, due by Tuesday, May 30th at 5:00 pm (sfo). ⏲️
getsantry commentedon May 30, 2023
Routing to @getsentry/product-owners-user-feedback for triage, due by Thursday, June 1st at 11:54 am (sfo). ⏲️
bruno-garcia commentedon Mar 4, 2024
Today the feedback you can submit with the SDK takes an
event_id. So you need to capture an exception or at least a message to attach the feedback to. The same way you can use thatevent_idto tie attachments to it.I believe we can improve this by letting you capture feedbacks without the need to capture an event (error/msg), and we recently did that to power our new Widget. So it's something we can look into going forward but for now I suggest using the captureMessage with Attachment + captureUserFeedback route
billyvg commentedon Mar 6, 2024
We are also adding screenshotting to our User Feedback widget: #63749
bruno-garcia commentedon Mar 11, 2024
For reference the old API is: https://develop.sentry.dev/sdk/features/#user-feedback
The new API could take a local scope:
The blocker for this approach is the backend accepting the user feedback envelope together with attachments, as we allow for error events. @JoshFerge is this something you can help us with?
ryan953 commentedon Apr 30, 2024
The new/updated api to call is being implemented in getsentry/sentry-javascript#11428
It'll be available on v8.0.0 of the SDK as
Sentry.captureFeedback()and will very closely align with the othercaptureException()andcaptureMessage()methods we have.The specific method is implemented with this signature & types:
Look out for it once #11428 lands, which should be part of 8.0.0-beta.6 and beyond.
mydea commentedon May 28, 2024
Hey,
this is possible to do in v8 now - you can use it like follows: