getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
37.08k stars 3.98k forks source link

Replace our usage of `react-inspector` in Replay with component used in Issue Details #70042

Open billyvg opened 2 weeks ago

billyvg commented 2 weeks ago

When we first worked on Replay, we did not have a component to do pretty rendering of objects for our Console and Breadcrumbs. However, it looks like we now have one available that is currently in use in our Issue Breadcrumbs:

Image

Let's look into using this so that we have one less dependency!

ryan953 commented 2 weeks ago

Replay currently uses <ObjectInspector>

Issues has https://sentry.sentry.io/stories/?name=app/components/structuredEventData/index.stories.tsx

You can see them both side-by-side (with the same data even!) here https://sentry.sentry.io/stories/?name=app/utils/useOrganization.stories.tsx