fix(ramps): fixes 0 ETH ramps issue when order data is not yet available cp-7.71.0#27756
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
@cursoragent please fix the orderslist test app/components/UI/Ramp/Aggregator/Views/OrdersList/OrdersList.test.tsx |
|
Perfect! I've successfully fixed the OrdersList test. Here's what I did: Summary✅ Fixed the failing OrdersList test snapshots The test was failing because the PR changes now display Changes Made:
Test Results:All tests passed:
The snapshot updates are now live on the PR and align with the bug fix behavior. |
Co-authored-by: George Weiler <georgejweiler@gmail.com>
|
Can we use ... instead of - ? |
…sk-mobile into ramps-empty-order-bugfix
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
These changes are purely within the Ramp UI layer - no controllers, no Engine, no navigation, no shared components affected. The SmokeRamps tag covers the on-ramp/off-ramp flows including order details display, which is exactly what these changes affect. No other tags are needed as there are no cross-cutting impacts. Performance Test Selection: |
|
✅ E2E Fixture Validation — Schema is up to date |
|






Description
"0 ETH" was displayed on some order pages when the order info was not yet available. This bug fixes by adding "..." placeholder until the info arrives.
TRAM-3360
Changelog
CHANGELOG entry: Fixes small UI issue with ramps orders
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Adjusts order-details loading/terminal-state logic and amount formatting, which could change what users see for certain pending/failed orders; impact is limited to UI display and snapshots.
Overview
Prevents ramps order UIs from showing
0 ETH/0amounts when data hasn’t arrived by treating0/missingcryptoAmount(and related fiat fields) as unknown and rendering an...placeholder in both the orders list (displayOrder) and order details (OrderContent).Order details now distinguishes loading vs terminal statuses (e.g.,
Failed,Cancelled) so terminal orders without amounts render placeholders instead of skeleton loaders, and fiatfees/totalformatting is switched toformatWithThresholdcurrency formatting (snapshot updates included).Written by Cursor Bugbot for commit a9bc072. This will update automatically on new commits. Configure here.