sentry icon indicating copy to clipboard operation
sentry copied to clipboard

[User Feecback] Feedback sent with the feedback API do not appear under Issue Details feedbacks tab.

Open rodolfoBee opened this issue 1 year ago • 9 comments

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Send a feedback using this guide, for example:
Sentry.init({
    dsn:"..."
})

Sentry.captureException(new Error("Feedback test"))

Sentry.captureFeedback(
    {
        name: "User 1",
        message: "Feedback sent with feedback API",
        associatedEventId: Sentry.lastEventId(),
    },
);
  1. Go to the issue event in Sentry

Expected Result

The feedback is visible under the "User Feedbacks" tab on the issues details page.

Actual Result

The feedback is only visible on the event details itself. If you navigate to other events on the issue, the feedback is no longer visible. Having it listed under the feedback tab makes easier to see all feedbacks associated with an issue. Image

Product Area

User Feedback

Link

https://dev-curumas.sentry.io/issues/5835660347/events/ca53e75e9a6549d0a514cab3a7692e26/?project=5242419&referrer=event-or-group-header&statsPeriod=14d

DSN

No response

Version

No response

rodolfoBee avatar Sep 12 '24 05:09 rodolfoBee

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] avatar Sep 12 '24 05:09 getsantry[bot]

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

getsantry[bot] avatar Sep 12 '24 06:09 getsantry[bot]

~We're investigating this but seems involved with some automated feedback getting into our system (such as Unreal Engine crash report) that led to limiting some type of feedback, which ends up on the new Feedback page. While the old original part tied to the error made it through.~

My bad I mixed issues up

bruno-garcia avatar Sep 12 '24 21:09 bruno-garcia

This may be due to the fact that we link feedback with errors asynchronously. Can you check to see it eventually shows up in that tab?

aliu39 avatar Sep 12 '24 22:09 aliu39

@aliu39 24h have passed and the feedback is not visible on the feedbacks tab.

rodolfoBee avatar Sep 13 '24 06:09 rodolfoBee

@rodolfoBee ok got it. We're going to look into it!

aliu39 avatar Sep 17 '24 21:09 aliu39

While we investigate, could the user try:

var errorId = Sentry.captureException(new Error("Feedback test"))

Sentry.captureFeedback(
    {
        name: "User 1",
        message: "Feedback sent with feedback API",
        associatedEventId: errorId,
    },
);

bruno-garcia avatar Sep 18 '24 00:09 bruno-garcia

@bruno-garcia same result, as you can see here: https://dev-curumas.sentry.io/issues/5867280178/events/868b0dc168b34740941a3a85c38fc73e/

rodolfoBee avatar Sep 18 '24 06:09 rodolfoBee

@rodolfoBee I'm learning that with the new API we show the feedback in the User Feedback tab, and create an issue for it, but we don't show it in the issue detail at this time.

It seems to me as a gap, a side effect of how the new feature was added. We're still discussing this

bruno-garcia avatar Sep 18 '24 19:09 bruno-garcia

This is one instance of the issue being tracked in

  • https://github.com/getsentry/sentry/issues/79859

So I'll close it. To summarize, widget feedbacks will not show up in the issue details tab until we migrate storages.

aliu39 avatar Dec 12 '24 19:12 aliu39