docs(react-native): Add GraphQL integration docs#17361
Merged
Conversation
Add documentation for graphqlClientIntegration, which was exposed in @sentry/react-native v7.5.0. The integration enhances spans and breadcrumbs with GraphQL operation details for client-side requests. Fixes #17296 Co-Authored-By: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Comment on lines
+1
to
+5
| --- | ||
| title: GraphQL | ||
| description: "Enhance spans and breadcrumbs with data from GraphQL requests in React Native." | ||
| --- | ||
|
|
There was a problem hiding this comment.
Bug: The new graphql.mdx documentation file is missing the sidebar_order frontmatter field, which will cause it to be sorted alphabetically at the end of the sidebar list.
Severity: LOW
Suggested Fix
Add the sidebar_order field to the frontmatter of docs/platforms/react-native/integrations/graphql.mdx with an appropriate integer value to position it correctly within the sidebar navigation menu.
Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: docs/platforms/react-native/integrations/graphql.mdx#L1-L5
Potential issue: The new documentation file
`docs/platforms/react-native/integrations/graphql.mdx` does not include a
`sidebar_order` field in its frontmatter. The system's sorting mechanism defaults
missing `sidebar_order` values to `99999`, causing the page to be placed after all
explicitly ordered pages. It will then be sorted alphabetically among other unordered
pages. This is a cosmetic issue that affects the organization of the sidebar navigation
but does not break page rendering or accessibility. The page will appear, just
potentially not in its intended position relative to other integrations.
Did we get this right? 👍 / 👎 to inform future reviews.
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
Add documentation for
graphqlClientIntegrationin React Native. This integration was added to@sentry/react-nativein v7.5.0 but had no corresponding docs page.Fixes #17296
IS YOUR CHANGE URGENT?
PRE-MERGE CHECKLIST