docs(js): add Related Features sections and modernize Logs page #16195
+286
−11
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.
Summary
Improves cross-feature discoverability and modernizes the Logs documentation across all JavaScript SDK guides.
Main preview: https://sentry-docs-git-docs-feature-related-sections.sentry.dev/platforms/javascript/guides/react/logs/
Changes
Related Features Sections
Added "Related Features" sections to four key feature pages, helping users discover how Sentry features work together:
Uses
PlatformSectionto conditionally show relevant links (e.g., Session Replay links hidden on server-side platforms).Logs Page Modernization
Rewrote
/common/logs/index.mdxwith a two-columnSplitLayoutfor better readability:fmthelperconsole.log(with Consola mention)beforeSendLoghook examplesOther Improvements
PlatformSectioncomponentsPreview URLs
/platforms/javascript/guides/react/logs//platforms/javascript/guides/react/tracing//platforms/javascript/guides/react/session-replay//platforms/javascript/guides/react/metrics/IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs to go live.
SLA
Thanks in advance for your help!
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes: