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

ref(browser): Remove showReportDialog on browser client #4973

Merged
merged 1 commit into from Apr 28, 2022

Conversation

AbhiPrasad
Copy link
Member

Remove showReportDialog as a client method so it can be tree-shaken out if not used. Also allow for hub to be explicitly passed in to showReportDialog.

Resolves https://getsentry.atlassian.net/browse/WEB-819

@github-actions
Copy link
Contributor

github-actions bot commented Apr 25, 2022

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 18.1 KB (-10.14% 🔽)
@sentry/browser - ES5 CDN Bundle (minified) 56.78 KB (-12.13% 🔽)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 16.86 KB (-10.6% 🔽)
@sentry/browser - ES6 CDN Bundle (minified) 51.01 KB (-12.01% 🔽)
@sentry/browser - Webpack (gzipped + minified) 18.49 KB (-20.44% 🔽)
@sentry/browser - Webpack (minified) 60.08 KB (-26.48% 🔽)
@sentry/react - Webpack (gzipped + minified) 18.51 KB (-20.47% 🔽)
@sentry/nextjs Client - Webpack (gzipped + minified) 42.19 KB (-12.21% 🔽)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 23.89 KB (-8.39% 🔽)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 22.41 KB (-8.45% 🔽)

@AbhiPrasad AbhiPrasad requested review from a team, lforst and Lms24 and removed request for a team April 28, 2022 13:17
@AbhiPrasad AbhiPrasad marked this pull request as ready for review April 28, 2022 13:17
@AbhiPrasad AbhiPrasad merged commit 389f4ee into 7.x Apr 28, 2022
@AbhiPrasad AbhiPrasad deleted the v7-abhi-report-dialog-client branch April 28, 2022 14:23
AbhiPrasad added a commit that referenced this pull request May 30, 2022
Remove `showReportDialog` as a client method so it can be tree-shaken out if not used. Also allow for hub to be explicitly passed in to `showReportDialog`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants