Repository navigation
Conversation
The SocketScan and Socket API links only make sense while a swap-and- bridge order can still reach the bridge side. If the swap was cancelled or expired, no funds make it to the bungee leg, so the links 404 / show unrelated data and are just noise on the order detail page. Gate the bungee bridge links on `ORDER_FINAL_FAILED_STATUSES` so they're hidden once the order is cancelled or expired. The "New order" link is left untouched. Closes cowprotocol#7483
|
@tenderdeve is attempting to deploy a commit to the cow-dev Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
Walkthrough
ChangesBungee Bridge Link Visibility Guard
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Cloudflare Pages preview mirror Preview branch URL: https://github.com/cowprotocol/cowswap/tree/cf-preview/pr-7713 Source fork branch:
|
fairlighteth
left a comment
There was a problem hiding this comment.
✅ AI Review (Codex GPT-5, worked 4m): no new findings
Review completed. I found no new non-duplicate comments worth posting.
Checked
apps/explorer/src/components/orders/DetailsTable/items/OrderIdItem.tsx: Bungee bridge links are now gated byORDER_FINAL_FAILED_STATUSES.- Linked issue #7483: cancelled/expired swap-and-bridge orders should not show Socket links when no bridge leg can be reached.
- Adjacent behavior:
OrderDetailsalready hides the Bridge tab for the same final failed statuses, andtabs.tsxdocuments that swap+bridge orders do not support partial fills for now.
Existing review context
- No active review threads.
- CodeRabbit generated no actionable comments.
- A member approval is already present.
Generated using the pr-review skill from the CoW Protocol skills repo.
✅ Browser QA passed: Bungee Socket link visibility verified
How to retest
Generated using the |


Closes #7483.
The SocketScan and Socket API links on the Explorer order detail page only make sense while a swap-and-bridge order can still reach the bungee leg. If the swap part was cancelled or expired, no funds make it across, so the links either 404 or show unrelated data — just noise on the page.
Gate the bungee bridge links on `ORDER_FINAL_FAILED_STATUSES` so they're hidden once the order is `Cancelled` or `Expired`. The "New order" link is left untouched.
File
Testing steps
Summary by CodeRabbit