Skip to content

User Feedback - Replay does not always show context of what was happening before the feedback submission despite onError sampling being set #9647

Closed
@jas-kas

Description

@jas-kas

Problem Statement

When using User Feedback and Replay together:

Replay does not always show context of what was happening before the feedback submission despite onError sampling being set.

This can be a result of our up to 60s buffer not being long enough, especially if the end-user takes some time to fill in the form on the widget before hitting submit.

Solution Brainstorm

One idea that came up was that by default, the SDK would capture a replay as soon as the widget is clicked on. This would immediately flush the replay and make sure we had a bigger chance of including what went wrong before the user clicked the button. It would of course include the user typing in the form


Customer quote

Beside that, I realize that the feedback will come along with a record of user interaction after submitting. Can I have an option to change to the previous one? Because there are many actions that can only be executed once.

The trade off is that anytime someone clicks to open the modal and immediately closes it, that would end up as a replay captured. We could offer an opt-out of this behavior for folks that are concerned about these cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: replayIssues related to the Sentry Replay SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions