-
Notifications
You must be signed in to change notification settings - Fork 590
Playground: Redirect corrections #8087
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 GitHub.
|
|
WalkthroughUpdated two Next.js redirect sources in apps/playground-web/next.config.mjs to include catch-all segments for nested paths. Destinations, permanence, and other configuration remain unchanged. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (3)📓 Common learnings
📚 Learning: 2025-09-05T19:45:05.006Z
Applied to files:
📚 Learning: 2025-07-18T19:20:32.530Z
Applied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (2)
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
Comment |
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8087 +/- ##
=======================================
Coverage 56.33% 56.33%
=======================================
Files 906 906
Lines 59186 59186
Branches 4176 4176
=======================================
Hits 33345 33345
Misses 25736 25736
Partials 105 105
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Merge activity
|
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating the routing configuration in the `next.config.mjs` file to allow for dynamic path segments in specific routes. ### Detailed summary - Changed `source` for `/insight` to `/insight/:path*`, allowing for dynamic paths. - Changed `source` for `/payments/backend` to `/payments/backend/:path*`, enabling dynamic path handling. - Both routes maintain their respective `destination` and `permanent` settings. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed redirects for /insight and /payments/backend to handle nested paths, ensuring deep links (e.g., subpages) correctly route to their destinations without 404s. * Maintains existing base redirects and leaves other routes untouched, improving navigation reliability without altering overall site behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
462e1e1
to
96ebf37
Compare
PR-Codex overview
This PR focuses on updating the route configurations in the
next.config.mjs
file to support dynamic path segments for specific routes.Detailed summary
source
for/insight
to/insight/:path*
to allow dynamic paths.source
for/payments/backend
to/payments/backend/:path*
to allow dynamic paths.Summary by CodeRabbit