Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add content related to React component name tracking #9097

Merged
merged 15 commits into from
Feb 12, 2024

Conversation

0Calories
Copy link
Member

Adds documentation for the new added functionality for tracking React component names in Sentry. Also includes docs for Replays, for searching for replays by components that were clicked on.

@0Calories 0Calories self-assigned this Feb 8, 2024
Copy link

vercel bot commented Feb 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2024 4:58pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
sentry-docs-next ⬜️ Ignored (Inspect) Visit Preview Feb 12, 2024 4:58pm

Copy link
Contributor

@lizokm lizokm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made some language tweaks, otherwise this looks great!

<div data-sentry-component="MyAwesomeComponent" data-sentry-source-file="myAwesomeComponent.jsx">This is a really cool and awesome component!</div>
```

The Sentry browser SDK will pick off the value from these `data` attributes and collect them when your components are interacted with.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The Sentry browser SDK will pick off the value from these `data` attributes and collect them when your components are interacted with.
The Sentry browser SDK would then pick off the value from these `data` attributes and collect them when your components would be interacted with.

0Calories and others added 12 commits February 9, 2024 16:53
@0Calories 0Calories enabled auto-merge (squash) February 12, 2024 16:37
@0Calories 0Calories merged commit dd7ac73 into master Feb 12, 2024
7 of 8 checks passed
@0Calories 0Calories deleted the react-component-tracking branch February 12, 2024 16:53
@github-actions github-actions bot locked and limited conversation to collaborators Feb 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants