fix(confirmations): show skeleton until required token resolves#32073
fix(confirmations): show skeleton until required token resolves#32073matthewwalsh0 wants to merge 3 commits into
Conversation
PR template — items to address before "Ready for review"Warnings — informational, address before merging:
See docs/readme/ready-for-review.md for the full Definition of Ready for Review. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Affected flows via
Dependent tags per descriptions:
SmokeStake was considered but the staking flows don't appear to use Performance Test Selection: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #32073 +/- ##
=======================================
Coverage 83.41% 83.42%
=======================================
Files 5835 5836 +1
Lines 152895 152936 +41
Branches 36118 36125 +7
=======================================
+ Hits 127545 127591 +46
- Misses 16596 16598 +2
+ Partials 8754 8747 -7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|



Description
The custom amount confirmation can render before
TransactionPayControllerhas resolved its primary required token. In that state, the amount entry and Pay With controls can appear against incomplete Pay state.This PR keeps the existing custom amount skeleton visible while Pay is enabled and no non-
skipIfBalancerequired token has resolved. Once the primary required token is present, the normal custom amount UI renders; flows withdisablePaycontinue to bypass Pay gating.Changelog
CHANGELOG entry: Fixed a bug where some custom amount confirmations could show payment controls before token requirements finished loading
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
N/A
After
N/A
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist