-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
User Feedback envelope (Due: Dec 13) #4272
Comments
One thing to consider here is that we already have a method today to gather feedback: However, |
Continuing with #4272 (comment), eventId won't be optional, i'll just give it its own SentryId. But, email and name will become optional, and that would be a breaking change to the current SentryUserFeedback interface. I propose just adding a SentryUserFeedbackV2 interface. |
Per feedback we'll just call it |
Current status: got these to show up after sending them as their own events, here's an example with an attached screenshot (also has an attached image and log from the initial configured scope) |
Description
Package up the inputs from the form into the envelope format for transmission to the Sentry backend.
Old format
Develop docs on user feedback envelope items: https://develop.sentry.dev/sdk/data-model/envelope-items/#user-feedbackNew format: https://develop.sentry.dev/application/feedback-architecture/#feedback-events
Reference implementation: https://github.com/getsentry/sentry-javascript/blob/be9edf161f72bb0b9ccf38d70297b798054b3ce3/packages/feedback/src/core/sendFeedback.ts#L77-L116
Schema of the event envelope:
A more complete example from the javascript reference implementation:
Reference implementation for image attachments: https://github.com/getsentry/sentry-javascript/blob/be9edf161f72bb0b9ccf38d70297b798054b3ce3/packages/feedback/src/screenshot/integration.ts#L31-L36
The text was updated successfully, but these errors were encountered: