Jyoti Puri
adb56d8d16
Adding base to BigNumber constructor to round off value ( #12140 )
...
* Adding base to BigNumber constructor to round off value
* Numeric inputs to not allow more than 14 decimal places
3 years ago
Alex Donesky
1ca02cb633
fix issue where duplicate tokens without icons appear in swap-to token list dropdown ( #12148 )
3 years ago
ryanml
5c842107b9
Hardening property check for stopPropagation in ConfirmTxScreen ( #12158 )
3 years ago
Jyoti Puri
9e7b52b7df
Truncate extra decimal places from token amount for sending ( #12169 )
3 years ago
ryanml
a58211c0dd
Fixing ledger steps display (Confirm TX) ( #12163 )
...
* Fixing ledger steps display (Confirm TX)
* Hiding step two on Firefox
3 years ago
ryanml
aba2c71948
Fixing ledger steps display (Confirm TX) ( #12163 )
...
* Fixing ledger steps display (Confirm TX)
* Hiding step two on Firefox
3 years ago
Niranjana Binoy
9929820b88
Adding a Token detection announcement in Search tab ( #12152 )
3 years ago
Matthew Epps
3ca6202282
Add client id header for Swaps Apis ( #12137 )
3 years ago
Etienne Dusseault
6b7444c257
Add add-recipient to Storybook ( #12076 )
3 years ago
Niranjana Binoy
e03d3dd5f0
Moving UseTokenDetection toggle to new Experimental tab ( #12136 )
3 years ago
ryanml
8df521df8a
Updating swaps availability tooltip text ( #12157 )
...
* Updating swaps availability tooltip text
Fixes MetaMask/metamask-extension#12156
* text update
3 years ago
Dan J Miller
d2e9de106b
Add notification about need for ledger firmware update ( #12144 )
...
* Add notification about need for ledger firmware update
* Update messaging for ledger firmware notice
* Code cleanup
3 years ago
Dan J Miller
0f86f678f8
Add notification about need for ledger firmware update ( #12144 )
...
* Add notification about need for ledger firmware update
* Update messaging for ledger firmware notice
* Code cleanup
3 years ago
ryanml
8310b551fb
Adding "Enable smart contract data" step to Ledger Instructions (Confirmation Screen) ( #12115 )
3 years ago
Alex
4e08c24552
fixing merge issues
3 years ago
ryanml
6fb6a8e35a
Adding usage instructions for Ledger Live users to confirmation screen ( #12020 )
...
* Adding usage instructions for Ledger Live users to confirmation screen
* Using design system components
* Hiding first step on Firefox
3 years ago
Jyoti Puri
ade9e4ac4b
Changing cancel button labels in send screen when in editing stage ( #12056 )
...
* Changing cancel button labels in send screen when in editing stage
* Re-route user to home page when reject is clicked on edit transaction page
3 years ago
Alex Donesky
b0a510562e
Fix gas api overcalling ( #12069 )
...
* Move gasEstimation calls onto edit-gas-popover instead of transaction list item
* delete useCancelTransaction and useRetryTransaction hooks
consolidate gasFee calls into cancel button component.
* add tests
* update component name
* addressing feedback
* fix failing e2e test
* followup fix e2e tests
* change useIncrementedGasFees to accept single transaction rather than transactionGroup as argument
* remove unnecessary change to fixture
* only ever pass primary transaction to useIncrementedGasFees
* remove unnecessary optional chaining
3 years ago
Akintayo A. Olusegun
2929e6238c
Revisit #12019 : Show save dialog when calling a smart contract method and use the saved contact is already saved ( #12090 )
...
* Revisit showing add new address dialog.
Should not show if
Address is own adddress
send to recipient header is not shown
* Mock tests for the Confirm Page Container Container.
* Removed react-test-renderer dev-dependency
* Ran yarn setup to update lock file and remove ununsed packages.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
3 years ago
ryanml
792f9efa56
Adding "Enable smart contract data" step to Ledger Instructions (Confirmation Screen) ( #12115 )
3 years ago
Thomas Huang
2b1e05f086
Fixes tx list item test formatting, importing, and useDispatch mocking. ( #12123 )
3 years ago
Alex Donesky
2a9fbffb6c
Replace hardcoded sent ether label on confirm screen ( #11802 )
...
* Replace hardcoded sent ether label on confirm screen
* replace transaction type SENT_ETHER with network agnostic SENDING_NATIVE_ASSET
* remove sentEther translation base
* make backwards compatible with lingering transaction of legacy sentEther type
* update localalization files
* fixup legacy sentEther transaction type
* changing new transaction type away from localization string
* revert migration tests
* update fixtures and test data
* update name of new transaction type
* add migration
* remove legacy SENT_ETHER from transaction types enum object
3 years ago
Brad Decker
2100fb0ce1
fix stuck speedup problem ( #12122 )
3 years ago
Alex Donesky
9d968bae1e
Hook up shared TokenRatesController ( #12066 )
3 years ago
Alex Donesky
cf569161fb
Fix failing transaction-list-item.component test by mocking useLayoutEffect ( #12118 )
3 years ago
kumavis
f472c2615a
CI - add metamaskbot comment "highlights" section for showing relevant storybook changes ( #12095 )
...
* ci/announce/highlight - add bot announcement section for "highlights" showing off important diffs + storybook highlights
* ci/announce/highlight - fix announcement message
* Update index.js
* xxx tmp xxx
* ci/announce/highlight - fix dirty file calculation
* ci/announce/highlight - try/catch wrap highlight generation for build stability
* ui - put fox emojis in the mascot component
* ci/announce/highlight - start storybook permalinks
* ci/announce/highlight - fix storybook permalink util
* ci/announce/highlight - fix storybook permalink util
* ci/announce/highlight - small styling fix
* storybook - use any easily predictable story id
* ci/announce/highlight - revert sample commit
* ci/announce/highlight - minimal documentation
3 years ago
Niranjana Binoy
49ddc48592
Adding search tab in import tokens for custom networks ( #12110 )
3 years ago
Alex Donesky
74fa6fa187
Fix gas api overcalling ( #12069 )
...
* Move gasEstimation calls onto edit-gas-popover instead of transaction list item
* delete useCancelTransaction and useRetryTransaction hooks
consolidate gasFee calls into cancel button component.
* add tests
* update component name
* addressing feedback
* fix failing e2e test
* followup fix e2e tests
* change useIncrementedGasFees to accept single transaction rather than transactionGroup as argument
* remove unnecessary change to fixture
* only ever pass primary transaction to useIncrementedGasFees
* remove unnecessary optional chaining
3 years ago
Daniel
28fc2d471f
Quotes prefetching in Swaps ( #11915 )
3 years ago
jpuri
191a52f0e7
Scroll all inputs into view when clicking Advanced options in gas edit modal
3 years ago
Etienne Dusseault
3e0d79d251
Add send-gas-row to Storybook ( #12083 )
3 years ago
Etienne Dusseault
aec31cc8b7
Add send-footer to Storybook ( #12082 )
3 years ago
Etienne Dusseault
d1d01f434d
Add contact-list-tab to Storybook ( #12079 )
3 years ago
Etienne Dusseault
ad182c8fa4
Add advanced-tab to Storybook ( #12077 )
3 years ago
Etienne Dusseault
68c5f23569
Add transaction-list to Storybook ( #12011 )
3 years ago
Elliot Winkler
d403644e59
Truncate long network names ( #12058 )
...
In some languages, network names are longer than the visible width of
the network dropdown. In these cases, the currently selected network will
overflow the bounds of the network dropdown container.
This commit addresses this issue so that the dropdown container will
grow and shrink appropriately, truncating the currently selected network
if needed.
3 years ago
ryanml
5c03be009a
Fixing breakpoint fallthroughs
3 years ago
ryanml
069ebaf463
Using design system breakpoint values across ui/
3 years ago
Niranjana Binoy
0c2af43d3a
changing token address to lowercase for dynamic token list ( #12071 )
3 years ago
Niranjana Binoy
05aadb38f2
Adding fake token warning and replacing `Add Token` labels with `Import Tokens` ( #11798 )
3 years ago
Niranjana Binoy
769beb2a26
Adding `Refresh list` and `import tokens` link to the main page ( #11755 )
3 years ago
Niranjana Binoy
18c35ad91e
Adding Token Detection Toggle to Security & Privacy ( #11851 )
3 years ago
Alex Donesky
490d3b8d40
Integrate TokensController ( #11552 )
...
* Integrate controllers/tokensController
* address rebase issues
* small cleanup
* addressing feedback
* more feedback
3 years ago
Niranjana Binoy
eb987a47b5
Integrating the TokenListController to Extension ( #11398 )
3 years ago
Brad Decker
ec1fd38076
remove unused sidebar component ( #12048 )
3 years ago
David Walsh
7b827ca5e7
Create MetaMask Beta build ( #10985 )
3 years ago
Daniel
6f0d6b1693
Add support for swaps via a direct contract for wrapping and unwrapping ( #11845 )
...
* Update contract address validations in swaps for different networks
* Add support for direct contract swaps for wrapping and unwrapping
* Add WETH_RINKEBY_CONTRACT_ADDRESS
3 years ago
Elliot Winkler
a35f22fcdf
Add Max Fee Per Gas to transaction breakdown ( #12042 )
...
This comes through in EIP-1559 transactions and so it is helpful to show
this to users.
3 years ago
Daniel
93cdd3c159
Use Swaps dev APIs based on an env variable ( #11924 )
3 years ago
jpuri
ec9b94ccfe
Fix padding at bottom of custom network form in popup view
3 years ago