Skip to content

docs(react-native): Document touch breadcrumb label improvements#17747

Open
antonis wants to merge 6 commits into
masterfrom
antonis/rn-touch-breadcrumb-label-docs
Open

docs(react-native): Document touch breadcrumb label improvements#17747
antonis wants to merge 6 commits into
masterfrom
antonis/rn-touch-breadcrumb-label-docs

Conversation

@antonis
Copy link
Copy Markdown
Contributor

@antonis antonis commented May 13, 2026

DESCRIBE YOUR PR

Documents new touch breadcrumb label features in the React Native SDK (v8.12.0):

  • Automatic sentry-label injection — build-time label injection from static text via the Babel plugin, enabled by default with annotateReactComponents (sentry-react-native#6141)
  • Runtime text extraction from childrenextractTextFromChildren prop extracts text from child fiber nodes as a label fallback (sentry-react-native#6106)
  • Session Replay masking interactionsentry-label and text extraction respect maskAllText and Sentry.Mask boundaries (sentry-react-native#6142)
  • Updated label priority chain — now 6 steps including text extraction and masking notes

Files changed

  • docs/platforms/react-native/configuration/touchevents.mdx — new h2 sections for automatic label injection, text extraction, masking interaction; updated label priority; added extractTextFromChildren to options
  • docs/platforms/react-native/integrations/component-names.mdx — new section for autoInjectSentryLabel with disable examples

Closes getsentry/sentry-react-native#6113

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.)
  • Other deadline
  • None: Not urgent, can wait up to 1 week+

⚠️ Should be merged after the above implementation is shipped in 8.12.0

PRE-MERGE CHECKLIST

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

- Document automatic `sentry-label` injection via `autoInjectSentryLabel`
- Document runtime text extraction from children (`extractTextFromChildren`)
- Document interaction with Session Replay masking (`maskAllText`, `Sentry.Mask`)
- Update label priority chain to include text extraction and masking notes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment May 13, 2026 2:02pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview May 13, 2026 2:02pm

Request Review

@codeowner-assignment codeowner-assignment Bot requested a review from a team May 13, 2026 12:48
antonis and others added 4 commits May 13, 2026 14:53
- Promote subsections to h2 headings for better page structure
- Add version availability alerts (8.12.0)
- Add extractTextFromChildren to Options section
- Add full import/config in code examples for consistency
- Trim component-names.mdx duplication, link to touchevents for details
- Remove undocumented textComponentNames mention

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add version alert to component-names.mdx sentry-label section
- Add imports to component-names.mdx disable examples
- Add labelName to unaffected labels in masking section
- Clarify build-time vs runtime extraction relationship

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove "(skipped when masked)" notes from priority chain
- Replace duplicated autoInjectSentryLabel section with brief mention + link

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment thread docs/platforms/react-native/configuration/touchevents.mdx
… active

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document touch breadcrumb label improvements

3 participants