Sentry-javascript: Feature request: Allow user feedback without eventId

Created on 31 Aug 2018  路  2Comments  路  Source: getsentry/sentry-javascript

Unless I'm missing something (which is entirely possible) there doesn't seem to be a way to use the showReportDialog method to allow users to submit feedback that's not related to an error.

This would be useful for collecting user suggestions for improvement etc.

Is this possible and if not, is it something that there would be interest in implementing?

Most helpful comment

There's a pretty simple and obvious workaround. Just generate a deliberate error:
function submitUserFeedback(){ var error = new Error('User Feedback Submitted'); Raven.captureException(error); Raven.showReportDialog(); }
You can customise the feedback dialog to make it more applicable to feedback. It's ideal for what I wanted.

All 2 comments

We don't have a UI implementation on sentry.io for a feature like this. Right now it's only possible to send user feedback that's linked to a specific error.

There's a pretty simple and obvious workaround. Just generate a deliberate error:
function submitUserFeedback(){ var error = new Error('User Feedback Submitted'); Raven.captureException(error); Raven.showReportDialog(); }
You can customise the feedback dialog to make it more applicable to feedback. It's ideal for what I wanted.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

THPubs picture THPubs  路  3Comments

grigored picture grigored  路  3Comments

kishor-bhatt picture kishor-bhatt  路  3Comments

adepue picture adepue  路  3Comments

rowlando picture rowlando  路  3Comments