-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat(js): Update profiling pages to avoid unnecessary nesting #13352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
Bundle ReportChanges will increase total bundle size by 6.62kB (0.03%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: sentry-docs-server-cjsAssets Changed:
view changes for bundle: sentry-docs-client-array-pushAssets Changed:
|
|
I would either rename the pages to have solid redirects or simply add hardcoded redirects for the guides that changed (e.g. https://docs.sentry.io/platforms/javascript/profiling/browser-profiling/ does have quite some traffic on plausible but would result in a 404 with this change) |
For browser/node SDKs, we do not need to have a higher-level "Profiling" page that is empty with just a single sub-page "Browser Profiling" / "Node Profiling". Instead, now those will simply have a single "Profiling" page with the respective content. Only meta SDKs have a landing page with sub pages.
fd2114d to
2b81fd7
Compare
Makes sense - I renamed them to |
chargome
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
* feat(js): Update profiling pages to avoid unnecessary nesting For browser/node SDKs, we do not need to have a higher-level "Profiling" page that is empty with just a single sub-page "Browser Profiling" / "Node Profiling". Instead, now those will simply have a single "Profiling" page with the respective content. Only meta SDKs have a landing page with sub pages. * rename to browser * rename node * add redirects * avoid already renaming this
For browser/node SDKs, we do not need to have a higher-level "Profiling" page that is empty with just a single sub-page "Browser Profiling" / "Node Profiling".
Instead, now those will simply have a single "Profiling" page with the respective content. Only meta SDKs have a landing page with sub pages.
Note that this may break some links, e.g. when somebody used to link to
express/profiling/node-profiling🤔 We'd have to manually add a redirect for every single guide here, not sure if we want this? 😬 as we cannot blanket redirect e.g./guides/:guide/profiling/profiling-nodebecause this page does exist in some places.Or alternatively we rename the new pages to something else (e.g.
profiling/nodeandprofiling/browser), then we can blanket-redirect again - WDYT?