Skip to content

[User Feedback] Custom extra context does not display in UI with User Feedback API method #73194

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

Open
Fwang36 opened this issue Jun 24, 2024 · 9 comments

Comments

@Fwang36
Copy link
Member

Fwang36 commented Jun 24, 2024

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

tested in SDK @sentry/nextjs 8.11.0 and @sentry/node 8.11.0

  1. Follow docs here on how to apply scope modifications to user feedback event.
  2. See that the extra key does not appear in User Feedback.
    const eventId = Sentry.captureMessage("User Feedback");
    

    const userFeedback = {
        name: "John Doe",
        email: "[email protected]",
        message: "I really like your App, thanks!",
        associatedEventId: eventId,
      };
    
      Sentry.captureFeedback(
          userFeedback,
          {
            captureContext: {
              tags: { testingKey: "someKeyvalue" },
              extra: { testingExtra: "someExtraValue" },
            },
          },
        );

The outgoing feedback event network request includes the extra key -

Screenshot 2024-06-24 at 10 01 54 AM

The UI only shows the added tags but not the added Extra data -

Screenshot 2024-06-24 at 10 02 27 AM

Link to the feedback event in the screnshots in my org.

Expected Result

Extra data should show in the UI

Actual Result

Extra data does not show.

Product Area

User Feedback

Link

No response

DSN

No response

Version

No response

@getsantry
Copy link
Contributor

getsantry bot commented Jun 24, 2024

Assigning to @getsentry/support for routing ⏲️

@getsantry
Copy link
Contributor

getsantry bot commented Jun 24, 2024

Routing to @getsentry/product-owners-user-feedback for triage ⏲️

@getsantry getsantry bot moved this from Waiting for: Support to Waiting for: Product Owner in GitHub Issues with 👀 3 Jun 24, 2024
@bruno-garcia
Copy link
Member

Thanks for raising! We don't support extra's just yet. But we'll keep track of it through this ticket

@bruno-garcia
Copy link
Member

For context, the SDK part is unblocked to pass extra as you've observed, but Sentry isn't yet showing that data:

getsentry/sentry-javascript#10916 (comment)

@Fwang36
Copy link
Member Author

Fwang36 commented Jun 24, 2024

Ah I see, thanks!

Is there a timeline or plans to implement support for it currently?

If not yet, should we maybe remove the code block example here in the docs for now?
Screenshot 2024-06-24 at 3 32 31 PM

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Jun 24, 2024
@bruno-garcia
Copy link
Member

bruno-garcia commented Jun 24, 2024

We don't have a timeline for that yet. Removing the note from the doc until then is a good call, thanks

Docs PR: getsentry/sentry-docs#10484

@aliu39
Copy link
Member

aliu39 commented Dec 13, 2024

@bruno-garcia do we still want to support this?

@max-degterev
Copy link

Second parameter of Sentry.captureFeedback seems a no-op at the moment, is that the same for everyone? Attachments are not passed along at all

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Jan 1, 2025
@bruno-garcia
Copy link
Member

bruno-garcia commented Jan 3, 2025

@max-degterev please open a new ticket. The second parameter takes more than just extra so if nothing shows up it's unrelated to this issue. Please state if you're on SaaS or self hosted, and which version if the latter. As well as SDK name and version.

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

6 participants