sentry icon indicating copy to clipboard operation
sentry copied to clipboard

Not possible to copy all event breadcrumbs from the UI

Open InterstellarStella opened this issue 7 months ago • 9 comments

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. go to the Sentry Web UI
  2. open an event
  3. go to the breadcrumbs section
  4. click on "View # more"
  5. manually select and copy all of the shown breadcrumbs
  6. paste in a text editor

Expected Result

All selected breadcrumbs are pasted.

Actual Result

Only a portion of the selected breadcrumbs are pasted.

For now, the alternatives are to copy the breadcrumbs from the event's JSON format, which is accessible through the web UI or through this endpoint.

Product Area

Issues

Link

No response

DSN

No response

Version

No response

InterstellarStella avatar May 30 '25 11:05 InterstellarStella

https://sentry.zendesk.com/agent/tickets/153833

InterstellarStella avatar May 30 '25 11:05 InterstellarStella

Routing to @getsentry/product-owners-issues for triage ⏲️

getsantry[bot] avatar May 30 '25 11:05 getsantry[bot]

Auto-routing to @getsentry/product-owners-issues for triage ⏲️

getsantry[bot] avatar May 30 '25 11:05 getsantry[bot]

We're using a virtual scroll because there can be hundreds of breadcrumbs so scroll based highlighting won't really work, you might be better off directly accessing the event json?

The json button in the new ui can be seen here

Image

scttcper avatar May 30 '25 15:05 scttcper

Accessing the event JSON is not a solution. The old UI had no issue with scroll-based highlighting 150 breadcrumbs. If you must stick to virtual scrolling with its limitations, please add a button to copy all breadcrumbs to the clipboard. Thanks. (OP)

3no-mark avatar Jun 03 '25 12:06 3no-mark

Thanks, this isn't something which we're able to prioritize at the moment but I've added this to the team's backlog.

mrduncan avatar Jun 04 '25 16:06 mrduncan

I'd also appreciate this sooner rather than later.

The usecase that I'd need this for is for backing proof. I created an issue which used multiple breadcrumbs as backing proof / UI status of what was going on with the crash.

Copy / pasting requires manual reformatting to make it readable.

On a long breadcrumb a single copy doesn't work on Mac Brave anyway and requires multiple copies to extract the data.

b12kab avatar Jun 13 '25 15:06 b12kab

What format are you expecting the breadcrumbs to be in when copying?

scttcper avatar Jun 13 '25 16:06 scttcper

This isn't a new feature request - this was working before the switch to the new web UI broke it. Simply copy the breadcrumb log to the clipboard, just as a browser copy did before.

3no-mark avatar Jun 13 '25 17:06 3no-mark

What format are you expecting the breadcrumbs to be in when copying?

What happens when paste is done is that this is the result:

Exception - This event
error
07:26:25.000 AM
System.Threading.Tasks.TaskCanceledException: TaskCanceledException_ctor_DefaultMessage
Ui Rendering
info
07:17:39.603 AM
LoginPage.LayoutChanged

{
LoginPage.Name: ParentPage
}

From the above format it needs to be put back into something that can be read.

Exception - This event                                             error 07:26:25.000 AM
System.Threading.Tasks.TaskCanceledException: TaskCanceledException_ctor_DefaultMessage

Ui Rendering                                                      info 07:17:39.603 AM
LoginPage.LayoutChanged
{
     LoginPage.Name: ParentPage
}

This is just 2 entries.

A good copy would be greatly appreciated. :)

b12kab avatar Jun 16 '25 11:06 b12kab

It would also be helpful to put the date on the first breadcrumb as well - 3 days ago isn't too helpful, when looking back at a saved copy cut out from a month ago.

I'd suggest a YY-MON-DD format so that the date format should be easily be understood by all without regards to national date formatting.

b12kab avatar Jun 17 '25 11:06 b12kab

Any word on this moving? The worst part on Sentry is all of this copying and pasting and breadcrumbs needing multiple copy/paste passes :(

b12kab avatar Oct 06 '25 11:10 b12kab