Skip to content

Commit

Permalink
update sdk to 8.0.0 (#10004)
Browse files Browse the repository at this point in the history
  • Loading branch information
c298lee authored May 13, 2024
1 parent 003be48 commit 333457c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The following options can be configured for the integration in `feedbackIntegrat
| ----------------- | ------------------------ | ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| `showName` | `boolean` | `true` | Displays the name field on the Feedback form, however will still capture the name (if available) from Sentry SDK context. |
| `showEmail` | `boolean` | `true` | Displays the email field on the Feedback form, however will still capture the email (if available) from Sentry SDK context. |
| `enableScreenshot` | `boolean` | `true` | Allows the user to send a screenshot attachment with their feedback. Requires SDK version 8.0.0-rc.2 and above. For self-hosted, release 24.4.2 is also required. |
| `enableScreenshot` | `boolean` | `true` | Allows the user to send a screenshot attachment with their feedback. Requires SDK version 8.0.0 and above. For self-hosted, release 24.4.2 is also required. |
| `isNameRequired` | `boolean` | `false` | Requires the name field on the Feedback form to be filled in. |
| `isEmailRequired` | `boolean` | `false` | Requires the email field on the Feedback form to be filled in. |
| `useSentryUser` | `Record<string, string>` | `{ email: 'email', name: 'username'}` | Map of the `email` and `name` fields to the corresponding Sentry SDK user fields that were called with `Sentry.setUser`. |
Expand Down
2 changes: 1 addition & 1 deletion docs/platforms/javascript/common/user-feedback/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ To set up the integration, add the following to your Sentry initialization. Ther

By default, this will insert the widget into the bottom right corner of your website. You're free to customize nearly every aspect of the widget, including replacing it completely with your own UI.

On SDK version 8.0.0-rc.2 and above, users can send screenshots with their feedback. If you're self-hosting, you also need release 24.4.2 and above. You can configure this using the `enableScreenshot` option, by default it is set to `true`. Screenshots aren't supported on mobile devices, so the screenshot button will be hidden automatically in this case.
On SDK version 8.0.0 and above, users can send screenshots with their feedback. If you're self-hosting, you also need release 24.4.2 and above. You can configure this using the `enableScreenshot` option, by default it is set to `true`. Screenshots aren't supported on mobile devices, so the screenshot button will be hidden automatically in this case.

<Alert level="">
Screenshots use your [attachments quota](/product/accounts/quotas/manage-attachments-quota). All plans come with 1GB of attachments, which is approxiamately 2500 screenshots.
Expand Down

0 comments on commit 333457c

Please sign in to comment.