docs(react-native): Document touch breadcrumb label fallbacks#17650
Merged
docs(react-native): Document touch breadcrumb label fallbacks#17650
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
10 tasks
6 tasks
0xadam-brown
reviewed
May 7, 2026
| The **label** is determined by the first available value from: | ||
|
|
||
| 1. `sentry-label` prop | ||
| 2. Custom `labelName` prop (if configured on the boundary) |
Member
There was a problem hiding this comment.
m: Are 1 and 2 switched?
The diff from .../user-interaction-instrumentation.mdx suggests as much (unless I'm misreading?)
Contributor
Author
There was a problem hiding this comment.
Good catch 👍 The list order is correct since sentry-label is checked first in the code but the user-interaction-instrumentation.mdx is misleading. I updated with a00a0dd
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0xadam-brown
approved these changes
May 7, 2026
Member
0xadam-brown
left a comment
There was a problem hiding this comment.
I see Sentrybot has chimed in. I'm guessing the current wording is being precise where the bot isn't – approving on that basis. Obviously feel free to adjust if needed 👍
The full priority list is documented in touchevents.mdx. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DESCRIBE YOUR PR
Updates React Native touch event docs to reflect that
accessibilityLabel,aria-label, andtestIDare now automatically used as label fallbacks for touch breadcrumbs (added in getsentry/sentry-react-native#6103).Changes:
touchevents.mdx: Rewrote the "Tracking Specific Components" section to correctly distinguish between the label fallback chain (sentry-label>labelName>accessibilityLabel>aria-label>testID) and the name field (Babel annotation /displayName). UpdatedlabelNameoption description.user-interaction-instrumentation.mdx: Updated the label identification description to mention the full fallback chain.IS YOUR CHANGE URGENT?
PRE-MERGE CHECKLIST