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?
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.
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.