feat: select transaction pay token#17309
Conversation
38472f5 to
e85016e
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17309 +/- ##
==========================================
+ Coverage 73.53% 73.58% +0.05%
==========================================
Files 2824 2851 +27
Lines 62359 63415 +1056
Branches 10017 10338 +321
==========================================
+ Hits 45858 46667 +809
- Misses 13605 13745 +140
- Partials 2896 3003 +107 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Add pay with modals. Add token pill component.
Add minimum balance filter.
Add minimum fiat balance param.
7c0792e to
d233abe
Compare
|
|



Description
Support selection of an ERC-20 payment token in the transaction confirmation.
New:
PayWithModalcomponent as confirmations specific multi-chain token picker.PayWithNetworkModalcomponent as confirmations specific network picker.TokenPillcomponent to display selected token including chain badge.useTransactionPayTokenhook to abstract reading and setting selected token via Redux slice.PayWithRowto display selected token and trigger picker.MM_CONFIRMATION_INTENTSenvironment variable.Updated:
transactionPayTokenByIdtoconfirmationMetricsslice to store selected token.confirmation.titleprop toBridgeTokenSelectorBasecomponent.onPressprop toBridgeSourceNetworksBarcomponent.onApplyprop toBridgeSourceNetworkSelectorcomponent.Changelog
CHANGELOG entry: null
Related issues
Fixes: #5413
Manual testing steps
Screenshots/Recordings
Before
After
Token.Selection.mov
Pre-merge author checklist
Pre-merge reviewer checklist