-
Notifications
You must be signed in to change notification settings - Fork 619
Chore: Use /search route for routes page #7639
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
Chore: Use /search route for routes page #7639
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThe Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant Utils (getRoutes)
participant API Server
Caller->>Utils (getRoutes): Call with {limit, offset, originQuery, destinationQuery}
Utils (getRoutes)->>API Server: GET /v1/routes/search?limit=...&offset=...&originQuery=...&destinationQuery=...&sortBy=popularity
API Server-->>Utils (getRoutes): Response (routes data)
Utils (getRoutes)-->>Caller: Return parsed data
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (2)**/*.{ts,tsx}Instructions used from: Sources:
apps/{dashboard,playground-web}/**/*.{tsx,ts}Instructions used from: Sources:
🧠 Learnings (2)📓 Common learningsapps/dashboard/src/app/(app)/(dashboard)/(bridge)/utils.ts (17)🧬 Code Graph Analysis (1)apps/dashboard/src/app/(app)/(dashboard)/(bridge)/utils.ts (1)
⏰ 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 (3)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7639 +/- ##
=======================================
Coverage 56.42% 56.42%
=======================================
Files 906 906
Lines 58126 58126
Branches 4222 4222
=======================================
Hits 32795 32795
Misses 25223 25223
Partials 108 108
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Merge activity
|
PR-Codex overview
This PR focuses on modifying the
getRoutesfunction inutils.tsto streamline the route fetching process by changing the API endpoint and removing unnecessary parameters.Detailed summary
/v1/routesto/v1/routes/search.originChainId,destinationChainId,originTokenAddress, anddestinationTokenAddressfrom the function signature and URL search parameters.Summary by CodeRabbit