Skip to content

feat(replay): Detect rage click (WIP) #8309

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

Closed
wants to merge 1 commit into from
Closed

Conversation

mydea
Copy link
Member

@mydea mydea commented Jun 9, 2023

This is a very simple implementation to possibly detect rage clicks.

This does not take into account much, but allows us to do a super lean implementation. If we want to take into account more information (e.g. how long did it take to reach dead click, how many clicks in total, what was the initial clicked element), we'll need to keep track of all that, which is possible but makes this a lot more complex - I wonder if we need that?

Closes #8300

@mydea mydea requested a review from billyvg June 9, 2023 08:44
@mydea mydea self-assigned this Jun 9, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 9, 2023

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.12 KB (+0.46% 🔺)
@sentry/browser - ES5 CDN Bundle (minified) 65.86 KB (+0.37% 🔺)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.65 KB (+0.45% 🔺)
@sentry/browser - ES6 CDN Bundle (minified) 58.34 KB (+0.44% 🔺)
@sentry/browser - Webpack (gzipped + minified) 21.28 KB (+0.53% 🔺)
@sentry/browser - Webpack (minified) 69.26 KB (+0.33% 🔺)
@sentry/react - Webpack (gzipped + minified) 21.31 KB (+0.54% 🔺)
@sentry/nextjs Client - Webpack (gzipped + minified) 49.23 KB (+0.25% 🔺)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 28.74 KB (+0.34% 🔺)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.98 KB (+0.37% 🔺)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 48.67 KB (+2.23% 🔺)
@sentry/replay - Webpack (gzipped + minified) 42.26 KB (+1.94% 🔺)
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 67.63 KB (+1.7% 🔺)
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 60.54 KB (+1.96% 🔺)

@mydea mydea closed this Jun 13, 2023
@mydea mydea deleted the fn/replay-rage-clicks branch June 19, 2023 11:42
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.

Add "Rage Clicks"
1 participant