René's URL Explorer Experiment


Title: Add onClose callback (or equiv) to showReportDialog · Issue #9433 · getsentry/sentry-javascript · GitHub

Open Graph Title: Add onClose callback (or equiv) to showReportDialog · Issue #9433 · getsentry/sentry-javascript

X Title: Add onClose callback (or equiv) to showReportDialog · Issue #9433 · getsentry/sentry-javascript

Description: Problem Statement I want to be able to take an action after a user has closed the report-dialog (opened via showReportDialog). Specifically, after my javascript application has crashed (gotten into a unknown and likely corrupted state) I...

Open Graph Description: Problem Statement I want to be able to take an action after a user has closed the report-dialog (opened via showReportDialog). Specifically, after my javascript application has crashed (gotten into...

X Description: Problem Statement I want to be able to take an action after a user has closed the report-dialog (opened via showReportDialog). Specifically, after my javascript application has crashed (gotten into...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add onClose callback (or equiv) to showReportDialog","articleBody":"### Problem Statement\r\n\r\nI want to be able to take an action after a user has closed the report-dialog (opened via `showReportDialog`).   \r\n\r\nSpecifically, after my javascript application has crashed (gotten into a unknown and likely corrupted state) I pop the report dialog via the `showReportDialog`.  After the user either submits their report or otherwise closes the dialog I want to reload the page. \r\n\r\nThis is re-opening https://github.com/getsentry/sentry-javascript/issues/758\r\n\r\nThe solution suggested in the previous issue does not work for three reasons:\r\n\r\n1. There's a race condition on when, exactly, the DOM elements are loaded.\r\n2. The classes attached to the specified elements are not part of the official API and therefore brittle and prone to change.\r\n3. This does not solve the issue of the user closing the dialog by simply clicking outside of it.\r\n\r\n### Solution Brainstorm\r\n\r\nAn an 'onClose' callback. ","author":{"url":"https://github.com/phayes","@type":"Person","name":"phayes"},"datePublished":"2023-11-02T00:58:32Z","url":"https://github.com/getsentry/sentry-javascript/issues/9433"}

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:9eb000a6-b7df-0cf2-8ea8-1568e62f024c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id86AE:1C5C1D:1B98995:24BE054:6B042C0B
html-safe-nonce594673cf0cef862dbf34ffc72f1e398d15c5473487f90df493f952b5e5acdcb7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkFFOjFDNUMxRDoxQjk4OTk1OjI0QkUwNTQ6NkIwNDJDMEIiLCJ2aXNpdG9yX2lkIjoiMTExMjA0NzQ0MDgxMjU4Mzk0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9b588111e0451b07e15d8e0d17a98059e400dc4b5c42cdfc24def321c7bc3ebf
hovercard-subject-tagissue:1973321866
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/9433/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f2e4f53f7eacbf685e586f6758f04f833e14a4bacaffeb859fac7a8aea90a669/getsentry/sentry-javascript/issues/9433
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f2e4f53f7eacbf685e586f6758f04f833e14a4bacaffeb859fac7a8aea90a669/getsentry/sentry-javascript/issues/9433
og:image:altProblem Statement I want to be able to take an action after a user has closed the report-dialog (opened via showReportDialog). Specifically, after my javascript application has crashed (gotten into...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamephayes
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
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
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/9433#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F9433
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%2F9433
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/9433
Reloadhttps://github.com/getsentry/sentry-javascript/issues/9433
Reloadhttps://github.com/getsentry/sentry-javascript/issues/9433
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues341 (341)https://github.com/getsentry/sentry-javascript/issues
Pull requests57 (57)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/9433
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/9433
Add onClose callback (or equiv) to showReportDialoghttps://github.com/getsentry/sentry-javascript/issues/9433#top
getsentry/sentry-docs#8484https://github.com/getsentry/sentry-docs/pull/8484
Type: Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Improvement%22
https://github.com/phayes
phayeshttps://github.com/phayes
on Nov 2, 2023https://github.com/getsentry/sentry-javascript/issues/9433#issue-1973321866
#758https://github.com/getsentry/sentry-javascript/issues/758
phayeshttps://github.com/phayes
Type: Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Improvement%22
on Nov 2, 2023https://github.com/getsentry/sentry-javascript/issues/9433#event-10838254585
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Nov 2, 2023https://github.com/getsentry/sentry-javascript/issues/9433#event-10838254706
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀https://github.com/orgs/getsentry/projects/76
on Nov 2, 2023https://github.com/getsentry/sentry-javascript/issues/9433#event-14884511492
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀https://github.com/orgs/getsentry/projects/76
on Nov 2, 2023https://github.com/getsentry/sentry-javascript/issues/9433
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Nov 2, 2023https://github.com/getsentry/sentry-javascript/issues/9433#issuecomment-1791132806
@phayeshttps://github.com/phayes
#758https://github.com/getsentry/sentry-javascript/issues/758
report dialog HTML is on the main Sentry sitehttps://github.com/getsentry/sentry/blob/master/src/sentry/templates/sentry/error-page-embed.html
sentry-javascript/packages/browser/src/sdk.tshttps://github.com/getsentry/sentry-javascript/blob/d8beaa00ad340326979750676d61014660763a8e/packages/browser/src/sdk.ts#L134
d8beaa0https://github.com/getsentry/sentry-javascript/commit/d8beaa00ad340326979750676d61014660763a8e
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Nov 2, 2023https://github.com/getsentry/sentry-javascript/issues/9433#event-10846767409
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀https://github.com/orgs/getsentry/projects/76
on Nov 2, 2023https://github.com/getsentry/sentry-javascript/issues/9433
https://github.com/arya-s
arya-shttps://github.com/arya-s
on Nov 14, 2023https://github.com/getsentry/sentry-javascript/issues/9433#issuecomment-1809662821
feat(feedback): Add onClose callback to showReportDialog (#9433) #9550https://github.com/getsentry/sentry-javascript/pull/9550
feat(feedback): Sends MessageEvent when error page embed is closed sentry#59885https://github.com/getsentry/sentry/pull/59885
feat(feedback): Add onClose description to user-feedback sentry-docs#8484https://github.com/getsentry/sentry-docs/pull/8484
https://github.com/arya-s/sentry-onclose-report-dialoghttps://github.com/arya-s/sentry-onclose-report-dialog
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Nov 14, 2023https://github.com/getsentry/sentry-javascript/issues/9433#event-10950593210
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀https://github.com/orgs/getsentry/projects/76
on Nov 14, 2023https://github.com/getsentry/sentry-javascript/issues/9433
https://github.com/lforst
lforsthttps://github.com/lforst
on Nov 15, 2023https://github.com/getsentry/sentry-javascript/issues/9433#issuecomment-1811993495
@arya-shttps://github.com/arya-s
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Nov 15, 2023https://github.com/getsentry/sentry-javascript/issues/9433#event-10964275530
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀https://github.com/orgs/getsentry/projects/76
on Nov 15, 2023https://github.com/getsentry/sentry-javascript/issues/9433
arya-shttps://github.com/arya-s
on Nov 22, 2023https://github.com/getsentry/sentry-javascript/issues/9433#event-11033881501
feat(feedback): Sends MessageEvent when error page embed is closedhttps://github.com/arya-s/sentry/commit/bd533daa6a28af02e25fbf9c3da4e03a9da6534d
bd533dahttps://github.com/arya-s/sentry/commit/bd533daa6a28af02e25fbf9c3da4e03a9da6534d
feat(feedback): Add onClose callback to showReportDialog (getsentry#9433https://github.com/arya-s/sentry-javascript/commit/b832a23700da94f7be85a9f75bb657f0bd8ce0ef
getsentry#9433https://github.com/getsentry/sentry-javascript/issues/9433
b832a23https://github.com/arya-s/sentry-javascript/commit/b832a23700da94f7be85a9f75bb657f0bd8ce0ef
AbhiPrasadhttps://github.com/AbhiPrasad
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
sentry#59885https://github.com/getsentry/sentry/pull/59885
on Nov 22, 2023https://github.com/getsentry/sentry-javascript/issues/9433#event-11038185450
onurtemizkanhttps://github.com/onurtemizkan
on Nov 24, 2023https://github.com/getsentry/sentry-javascript/issues/9433#event-11054194013
feat(feedback): Add onClose callback to showReportDialog (#9433) (#9550)https://github.com/getsentry/sentry-javascript/commit/c99b2ae77cdd8d48dab691429582a76650e59869
#9433https://github.com/getsentry/sentry-javascript/issues/9433
#9550https://github.com/getsentry/sentry-javascript/pull/9550
c99b2aehttps://github.com/getsentry/sentry-javascript/commit/c99b2ae77cdd8d48dab691429582a76650e59869
arya-shttps://github.com/arya-s
on Nov 25, 2023https://github.com/getsentry/sentry-javascript/issues/9433#event-11060156863
feat(feedback): Add onClose description to user-feedbackhttps://github.com/arya-s/sentry-docs/commit/4c16235d01ab2562c530ed69119cb8526e9f32da
4c16235https://github.com/arya-s/sentry-docs/commit/4c16235d01ab2562c530ed69119cb8526e9f32da
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Nov 27, 2023https://github.com/getsentry/sentry-javascript/issues/9433#issuecomment-1828672985
https://github.com/getsentry/sentry-javascript/releases/tag/7.82.0https://github.com/getsentry/sentry-javascript/releases/tag/7.82.0
@arya-shttps://github.com/arya-s
https://github.com/arya-s
arya-shttps://github.com/arya-s
on Nov 28, 2023https://github.com/getsentry/sentry-javascript/issues/9433#issuecomment-1829527374
@AbhiPrasadhttps://github.com/AbhiPrasad
https://github.com/elamperti
elampertihttps://github.com/elamperti
on Nov 29, 2023https://github.com/getsentry/sentry-javascript/issues/9433#issuecomment-1832358137
@arya-shttps://github.com/arya-s
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/9433
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/9433
Type: Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Improvement%22
GitHub Issues with 👀https://github.com/orgs/getsentry/projects/76
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.