Skip to content

docs(react-native): Document textComponentNames option#17786

Merged
antonis merged 8 commits into
masterfrom
antonis/rn-text-component-names-docs
May 21, 2026
Merged

docs(react-native): Document textComponentNames option#17786
antonis merged 8 commits into
masterfrom
antonis/rn-text-component-names-docs

Conversation

@antonis
Copy link
Copy Markdown
Contributor

@antonis antonis commented May 18, 2026

DESCRIBE YOUR PR

Documents the new textComponentNames option for annotateReactComponents, which allows apps with custom text wrapper components to get sentry-label auto-injection.

Implementation PR: getsentry/sentry-react-native#6169.

Note: Based on #17747 — merge that first.

IS YOUR CHANGE URGENT?

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

⚠️ Should be merged after getsentry/sentry-react-native#6169 is shipped

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

antonis and others added 7 commits May 13, 2026 14:47
- 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>
- 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>
… active

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

vercel Bot commented May 18, 2026

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

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview, Comment May 21, 2026 9:57am
sentry-docs Ready Ready Preview, Comment May 21, 2026 9:57am

Request Review

Base automatically changed from antonis/rn-touch-breadcrumb-label-docs to master May 21, 2026 09:36
@codeowner-assignment codeowner-assignment Bot requested a review from a team May 21, 2026 09:38
@antonis antonis merged commit 3ddc775 into master May 21, 2026
21 checks passed
@antonis antonis deleted the antonis/rn-text-component-names-docs branch May 21, 2026 09:59
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.

2 participants