Skip to content
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

Add an API for User Feedback #6252

Closed
renchap opened this issue Nov 21, 2022 · 3 comments · Fixed by #7729
Closed

Add an API for User Feedback #6252

renchap opened this issue Nov 21, 2022 · 3 comments · Fixed by #7729
Assignees
Labels
Meta: Help Wanted Package: browser Issues related to the Sentry Browser SDK Type: Improvement

Comments

@renchap
Copy link

renchap commented Nov 21, 2022

Problem Statement

Currently collecting User Feedback requires either:

  • Loading the feedback modal from Sentry, without many customisation available
  • Implementing it from scratch, including an API call to Sentry

This does not easily allow to create a custom feedback form.

Solution Brainstorm

Similar to the way it has been implemented in @sentry/react-native , I would like a [captureFeedback](https://github.com/getsentry/sentry-react-native/blob/ab6a1fe411f33dbfc676a2d81a3694ca56366f05/src/js/sdk.tsx#L244) function in @sentry/browser.

It could probably re-use most of the code from the RN implementation, which could be moved into this package to avoid duplication.

@AbhiPrasad
Copy link
Member

Hey, thanks for writing in! This sounds like a great idea. PRs are welcome for those who would like to help, otherwise backlogging this for now.

If anyone else would like this, please react to this issue and leave a comment - helps us understand priority.

@tetsuwanadam
Copy link

I would also really like to see this. I'm finding implementing user feedback via the API a bit difficult, and it would be nice to not need to create a project:write auth token.

@AbhiPrasad
Copy link
Member

getsentry/sentry-react-native#2486

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Meta: Help Wanted Package: browser Issues related to the Sentry Browser SDK Type: Improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants