-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(feedback): Add Feedback SDK instructions to README #9351
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
feat(feedback): Add Feedback SDK instructions to README #9351
Conversation
During the alpha phase, the feedback integration will need to be imported from `@sentry-internal/feedback`. This will be | ||
changed for the general release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
During the alpha phase, the feedback integration will need to be imported from `@sentry-internal/feedback`. This will be | |
changed for the general release. | |
During the alpha phase, the feedback integration will need to be imported from `@sentry-internal/feedback`. This import will be | |
changed for the general release. |
@@ -11,28 +11,33 @@ This SDK is **considered experimental and in an alpha state**. It may experience | |||
|
|||
## Pre-requisites | |||
|
|||
`@sentry/feedback` currently can only be used by browsers with [Shadow DOM](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_shadow_DOM) support. | |||
`@sentry-internal/feedback` currently can only be used by browsers with [Shadow DOM](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_shadow_DOM) support. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hate adding the ie11 note but people will def ask.
`@sentry-internal/feedback` currently can only be used by browsers with [Shadow DOM](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_shadow_DOM) support. | |
`@sentry-internal/feedback` currently can only be used by browsers with [Shadow DOM](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_shadow_DOM) support. This means it is not supported for IE11. Please see the [caniuse](https://caniuse.com/shadowdomv1) for the full browser compatability matrix. |
Connect your own feedback UI to Sentry's You can use `feedback.flush()` to immediately send all currently captured feedback data. | ||
When Feedback is currently in buffering mode, this will send up to the last 60 seconds of feedback data, | ||
and also continue sending afterwards, similar to when an error happens & is recorded. | ||
You can also bring your own widget and UI and simply pass a feedback object to the `sendFeedback()` function. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be nice for us to think about a way to make the widget work without js in the future via direct form submit, but def something for after GA (we can prob just open a feature request issue and see how many thumbs ups we get).
No description provided.