Migrate route param gating to `dataCollection.userInfo`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 58/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- react-native, typescript
- Domain
- mobile
Research direction
Start in packages/core/src/js/tracing/reactnavigation.ts at the route parameter handling around line 488, then read the existing route parameter tests in packages/core/test/tracing/reactnavigation.test.ts. Update the gating behavior to use resolved dataCollection.userInfo, and run the React Navigation tracing tests to confirm dynamic route parameters behave as expected.
Written by the indexing model from the issue text.
Description
Replace sendDefaultPii check in React Navigation integration with dataCollection.userInfo.
Callsite
reactnavigation.ts:488— dynamic route params (e.g.[id],[...slug]) are only attached to navigation spans whensendDefaultPiiis true
Should read from resolved dataCollection.userInfo instead.
References
packages/core/src/js/tracing/reactnavigation.tspackages/core/test/tracing/reactnavigation.test.ts— existing tests for route param behavior
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 367
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 94
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/sentry-react-native
-
React-Native
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
getsentry/sentry-react-native#6759 · 1 comment ·
-
React-Native Replays Task
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
getsentry/sentry-react-native#6680 · 1 comment ·
-
Improvement React-Native
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getsentry/sentry-react-native#6143 · 2 comments ·
-
React-Native Task User Feedbacks
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
getsentry/sentry-react-native#5932 · 2 comments ·
-
React-Native Replays Task
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
getsentry/sentry-react-native#5882 · 1 comment ·
All issues in getsentry/sentry-react-native
Similar issues
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agilepathway/label-checker#640 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
agentic-workflows
Difficulty 1/5 Under an hour Newbie friendliness 85/100
githubnext/rig#534 ·
-
automation missing-model model-sync provider:pioneer
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
anomalyco/models.dev#7701 ·