René's URL Explorer Experiment


Title: Improve slow click / multi click capture · Issue #8379 · getsentry/sentry-javascript · GitHub

Open Graph Title: Improve slow click / multi click capture · Issue #8379 · getsentry/sentry-javascript

X Title: Improve slow click / multi click capture · Issue #8379 · getsentry/sentry-javascript

Description: After some discussion, we landed on implementing the following logic/behavior for slow/rage click detection in Replay: Clicks generate ui.click breadcrumbs immediately these are debounced by 1s, so any further click on the same element w...

Open Graph Description: After some discussion, we landed on implementing the following logic/behavior for slow/rage click detection in Replay: Clicks generate ui.click breadcrumbs immediately these are debounced by 1s, so...

X Description: After some discussion, we landed on implementing the following logic/behavior for slow/rage click detection in Replay: Clicks generate ui.click breadcrumbs immediately these are debounced by 1s, so...

Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/8379

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve slow click / multi click capture","articleBody":"After some discussion, we landed on implementing the following logic/behavior for slow/rage click detection in Replay:\r\n\r\n![Screenshot 2023-06-22 at 16 00 26](https://github.com/getsentry/sentry-javascript/assets/2411343/dd5347c7-5d43-4dc6-8d7b-7efcd81ce332)\r\n\r\n* Clicks generate `ui.click` breadcrumbs immediately\r\n  * these are debounced by 1s, so any further click on the same element within 1s does not generate a further `ui.click` breadcrumb!\r\n* Whenever a `ui.click` breadcrumb is captured, we start looking for 7s for a) further clicks on the same element and b) if the click is a slow click\r\n* After 7s...\r\n  * if no mutation happened in the meanwhile, we create a `ui.slowClickDetected` breadcrumb with a `clickCount` counting all clicks on the same element in the last 7s\r\n  * if a mutation happened and more than 1 click in total happened in the last 7s on the element, we create a `ui.multiClick` breadcrumb with the `clickCount`\r\n  * If only this one click happened, we create no more breadcrumbs\r\n\r\nThis means that:\r\n* We always get slow/multi click breadcrumbs after 7s, never before. This means we _may_ loose some, but this is worth it to us so we have better data.\r\n* We count _all_ clicks that happened in the 7s period. The idea is, that if a slow click happens, then after 3s the user starts rage clicking on the same button - we can detect this by seeing that this slow click had a lot of clicks in this 7s.\r\n* There _may_ still be false positives, think a `continue` button that is clicked a few times in 7s because the user is moving forward fast - but this we can figure out eventually.\r\n\r\nOne thing to note is that the `ui.slowClick` / `ui.multiClick` breadcrumbs will be created with the same timestamp & message as the original `ui.click` breadcrumb.","author":{"url":"https://github.com/mydea","@type":"Person","name":"mydea"},"datePublished":"2023-06-22T08:00:33Z","url":"https://github.com/getsentry/sentry-javascript/issues/8379"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4d29ccff-e893-e4ee-97e8-a79d2be30d33
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD442:3F9CD1:8CE3EE:B95147:6B04CF16
html-safe-nonce2e5d2b2fcda74c09610ef7280b7dad5274bb369f664691a63d2066f77a86de1c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDQyOjNGOUNEMTo4Q0UzRUU6Qjk1MTQ3OjZCMDRDRjE2IiwidmlzaXRvcl9pZCI6IjQ3MjQyOTMxOTkzNjYyNDYxNjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac97003a48cf19999be2d53338e9e7d0ee301c084e59002111f2e6ab44ab04b771
hovercard-subject-tagissue:1769158703
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/8379/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1745cb235723466873214889e80298ea6f2afa256dbabfd874edb8349b0f0472/getsentry/sentry-javascript/issues/8379
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1745cb235723466873214889e80298ea6f2afa256dbabfd874edb8349b0f0472/getsentry/sentry-javascript/issues/8379
og:image:altAfter some discussion, we landed on implementing the following logic/behavior for slow/rage click detection in Replay: Clicks generate ui.click breadcrumbs immediately these are debounced by 1s, so...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemydea
hostnamegithub.com
expected-hostnamegithub.com
None27ed421e5c2dac040a37529b5b9191edcc4a3de70521471e81fb4b4d9dc2aa7d
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release63dc19014c621c67306d7899c04c78dcd0d95803
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/8379#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F8379
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F8379
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/issues/8379
Reloadhttps://github.com/getsentry/sentry-javascript/issues/8379
Reloadhttps://github.com/getsentry/sentry-javascript/issues/8379
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues334 (334)https://github.com/getsentry/sentry-javascript/issues
Pull requests51 (51)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/8379
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/8379
Improve slow click / multi click capturehttps://github.com/getsentry/sentry-javascript/issues/8379#top
https://github.com/mydea
https://github.com/mydea
mydeahttps://github.com/mydea
on Jun 22, 2023https://github.com/getsentry/sentry-javascript/issues/8379#issue-1769158703
https://private-user-images.githubusercontent.com/2411343/247953965-dd5347c7-5d43-4dc6-8d7b-7efcd81ce332.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU0Nzc1NzAsIm5iZiI6MTc5NTQ3NzI3MCwicGF0aCI6Ii8yNDExMzQzLzI0Nzk1Mzk2NS1kZDUzNDdjNy01ZDQzLTRkYzYtOGQ3Yi03ZWZjZDgxY2UzMzIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjNUMjM0MTEwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjM3NjAxMzY2MTQwZmZjYjJjMzk3NDRlZGUxNzQ2MzMzOWExZmI3MDNlODE0ZDYxMWM2YmMxODlmYzFlNmQxMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.O8Poj3YxsehA_MbZ3PQPRLQhZqyxUfvv7ZhDHxzYf_M
mydeahttps://github.com/mydea
Package: replayhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Package%3A%20replay%22
on Jun 22, 2023https://github.com/getsentry/sentry-javascript/issues/8379#event-9603421871
mydeahttps://github.com/mydea
on Jun 22, 2023https://github.com/getsentry/sentry-javascript/issues/8379#event-9603421968
https://github.com/mydea
mydeahttps://github.com/mydea
on Jun 22, 2023https://github.com/getsentry/sentry-javascript/issues/8379#issuecomment-1602194102
#8300https://github.com/getsentry/sentry-javascript/issues/8300
https://github.com/billyvg
billyvghttps://github.com/billyvg
on Jun 22, 2023https://github.com/getsentry/sentry-javascript/issues/8379#issuecomment-1602678902
https://github.com/mydea
mydeahttps://github.com/mydea
on Jun 22, 2023https://github.com/getsentry/sentry-javascript/issues/8379#issuecomment-1602691075
https://github.com/mydea
mydeahttps://github.com/mydea
on Jun 22, 2023https://github.com/getsentry/sentry-javascript/issues/8379#issuecomment-1602699464
https://github.com/billyvg
billyvghttps://github.com/billyvg
on Jun 22, 2023https://github.com/getsentry/sentry-javascript/issues/8379#issuecomment-1602741416
https://github.com/ryan953
ryan953https://github.com/ryan953
on Jun 22, 2023https://github.com/getsentry/sentry-javascript/issues/8379#issuecomment-1602802457
https://github.com/mydea
mydeahttps://github.com/mydea
on Jun 22, 2023https://github.com/getsentry/sentry-javascript/issues/8379#issuecomment-1602825847
mydeahttps://github.com/mydea
on Jul 5, 2023https://github.com/getsentry/sentry-javascript/issues/8379#event-9728645922
fix(replay): Adjust slow/multi click handling (#8380)https://github.com/getsentry/sentry-javascript/commit/4b98349ebe49e3c9c93bfb18873393ff1a2d0c75
#8380https://github.com/getsentry/sentry-javascript/pull/8380
4b98349https://github.com/getsentry/sentry-javascript/commit/4b98349ebe49e3c9c93bfb18873393ff1a2d0c75
bruno-garciahttps://github.com/bruno-garcia
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jul 17, 2023https://github.com/getsentry/sentry-javascript/issues/8379#event-9838857144
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/8379
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/8379
mydeahttps://github.com/mydea
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.