feat: Flatten Explore section into Product sidebar with section headers#17819
feat: Flatten Explore section into Product sidebar with section headers#17819sfanahata wants to merge 5 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
cf44f3d to
391cbd9
Compare
b77919b to
b6741a8
Compare
c8ae995 to
eaed914
Compare
ad0c744 to
e6d2c0a
Compare
adc9776 to
19083c7
Compare
dc412c0 to
90b3063
Compare
Move 6 child directories out of product/explore/ up to product/: - trace-explorer (Traces and Spans) - logs (Logs) - session-replay (Session Replay) - profiling (Profiling) - metrics (Application Metrics) - discover-queries (Discover) Add sidebar_section support for Product pages with 5 new section headers: Debug, Investigate, Observe, AI in Sentry, Advanced. Update all ~200 internal links from /product/explore/* to /product/*. Add redirects from old /product/explore/* paths to new locations. Update redirect destinations in redirects.js and middleware.ts. Section assignments: - Debug: Issues, Monitors and Alerts - Investigate: Traces and Spans, Logs, Session Replay, Profiling - Observe: Dashboards, Metrics, Releases, Stats, Size Analysis - AI in Sentry: AI in Sentry - Advanced: Discover, User Feedback, Drains, Projects, Relay, Toolbar, Notifications, Partnership Platform, Build Distribution, Snapshots, Codecov
9e55eb4 to
46852ac
Compare
| source: '/product/explore', | ||
| destination: '/product/trace-explorer/', | ||
| }, |
There was a problem hiding this comment.
Bug: The redirect for /product/explore lacks a trailing slash, causing 404s for users visiting the canonical URL.
Severity: MEDIUM
Suggested Fix
Update the source property for the redirect in redirects.js to include a trailing slash. Change '/product/explore' to '/product/explore/' to ensure it correctly matches the canonical URL and redirects users as intended.
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: redirects.js#L1684-L1686
Potential issue: The project is configured with `trailingSlash: true` in
`next.config.ts`, which establishes URLs with a trailing slash as the canonical version.
A new redirect has been added for the removed `/product/explore` page, but its source is
`'/product/explore'` without a trailing slash. Consequently, this redirect will not
match requests for the old canonical URL `/product/explore/`, leading to a 404 error for
users with bookmarks or direct links to that URL.
Did we get this right? 👍 / 👎 to inform future reviews.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c5e6971. Configure here.
| title: Discover | ||
| sidebar_order: 90 | ||
| sidebar_order: 260 | ||
| sidebar_section: debug |
There was a problem hiding this comment.
Discover placed in Debug section
Medium Severity
This commit assigns Discover sidebar_section: debug, so it appears under the sidebar’s Debug group with traces and logs. The PR’s section plan lists Discover under Advanced, and the updated Product walkthrough index does not include Discover under Debug.
Reviewed by Cursor Bugbot for commit c5e6971. Configure here.


Summary
Flattens the
product/explore/section, moving its 6 child directories up toproduct/so features like Logs, Traces, and Session Replay are visible at L2 instead of buried at L3.Adds sidebar section headers (Detect, Debug, Measure, Automate, Platform) to the Product sidebar using the existing
sidebar_sectionmechanism.Rewrites the Product index page and Getting Started section to reflect Sentry's current product positioning and feature set. Deletes the orphaned
/product/onboarding/section. Hides dated tutorials (distributed-tracing, integrate-frontend, integrate-backend) from sidebar while keeping URLs functional. Fixes broken links, dead references, and stale content across sentry-basics sub-pages.Changes
Code changes (3 files):
sidebar_sectionindynamicNav.tsx,frontmatter.ts,types.tsto support 5 new section values:detect,debug,measure,automate,platformFile moves (6 directories, ~89 files):
product/explore/trace-explorer/→product/trace-explorer/product/explore/logs/→product/logs/product/explore/session-replay/→product/session-replay/product/explore/profiling/→product/profiling/product/explore/metrics/→product/metrics/product/explore/discover-queries/→product/discover-queries/Content updates:
product/index.mdx— organized around Detect/Debug/Measure/Automate sections, added missing features (Logs, Seer, Snapshots, Size Analysis, AI Agents Monitoring), removed dated sectionsproduct/sentry-basics/index.mdx— 4-step getting started hub (Connect Source Code → Set Up Alerts → Turn On Features → Explore Data), links to Guides, Cookbook, Sandboxproduct/sentry-basics/performance-monitoring.mdx— removed duplicated paragraphs, stale Early Adopter reference, added Connected Context section (Logs, Replay, Profiling, Seer)/guides/integrate-*paths, dead/product/sentry-basics/enrich-data/link)user-feedback-basics.mdxDeleted content:
product/onboarding/(3 pages, orphaned — only 1 self-referencing inbound link, not linked from homepage or SDK pages)distributed-tracing/,integrate-frontend/,integrate-backend/(URLs still work forfeatureInfo.tsxreferences)Frontmatter updates (~25 files):
product/*/index.mdxgetssidebar_sectionand updatedsidebar_orderLink updates (~200 files):
/product/explore/*updated to/product/*middleware.tsRedirects:
/product/explore/*paths to new locations/product/onboarding/*to/product/sentry-basics/redirects.jsandmiddleware.tsSection assignments