sentry-javascript
sentry-javascript copied to clipboard
Add option to display event id in report dialog
Problem Statement
When an error happens, a user may want to add additional details about what they were doing when the error happened, but they may also want to get the event id so that they can refer to it through other channels (so that it can be handled in priority).
Solution Brainstorm
It would be nice to add an option to the ReportDialogOptions (e.g. displayEventId: boolean) (that could then be used in all the integrations, e.g. createErrorHandler via dialogOptions) so that the event id is displayed in the dialog and can be copy/pasted to somehwere else.
Ideally that would have a "copy" button just next to the event id (with the classical copy icon).
Hey, thanks for the suggestions. We don't have any short or mid-term plans to implement this but if you find a lightweight solution and you submit a PR we can merge it in. The code for this modal is in the sentry repository https://github.com/getsentry/sentry
@lforst opened as https://github.com/getsentry/sentry/pull/56002
Why was this issue closed?
While we think it would be helpful to solve this issue, we're busy with a lot of other tasks at the moment. Therefore, this issue is not a priority for us at this time. If you still want to see this resolved, please consider opening a PR for it - we're always happy to review them.
Please feel free to leave a comment if you think this issue should be reopened.
I have already opened a PR for it. That is https://github.com/getsentry/sentry/pull/56002.
This is totally on me. Sorry for dropping it.