1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
Commit Graph

28 Commits

Author SHA1 Message Date
ryanml
472cf17bda
Adding UI helpers for URL parsing () 2021-08-24 15:28:16 -07:00
ryanml
38b581cdfa
Return an empty string when date is not provided [Date display utils] () 2021-08-13 08:22:12 -07:00
Dan J Miller
bfde5a1d77
Fixes updates on the confirm screen. ()
* Fixes updates on the confirm screen.

* Better handling of internal send transactions

* maxFee -> maxFeePerGas property name fix

* Remove redundant setEstimateToUse call in onManualChange

* Fix unit tests

* rebase error fix

* Fixes to speedup loading and transaction breakdown priority fee

* Fix lint and unit tests

* Ensure gas price based transaction that have been customized (e.g. speed up and retry) are properly initialized in useGasFeeInputs

* Clean up

* Link fix
2021-08-06 14:31:30 -05:00
Dan J Miller
0cf5019486
Use bignumber for number comparisons in useGasFeeInput ()
* Use bignumber for number comparisons in useGasFeeInput

* fix
2021-08-05 13:52:56 -02:30
David Walsh
e1de6e19af
EIP-1559 - Fix mislabeled MaxPriority fee key () 2021-08-04 17:07:17 -05:00
Dan J Miller
b9fb495c7b
Allow max priority fee to be below 1, and only require it to be greater than 0 () 2021-08-04 10:53:52 -02:30
David Walsh
fba662ca2b
EIP-1559 - Provide better validation for gas price and gas limit () 2021-08-03 10:54:49 -05:00
David Walsh
4ce6994a6c
Fix - Prevent maxFee and maxPriorityFee imbalance () 2021-08-02 09:07:29 -05:00
Daniel
714170c7b8
EIP-1559 and Rinkeby Testnet support in Swaps () 2021-07-30 13:35:30 +02:00
Dan J Miller
aaa15cbe03
Add support for EIP1559 transactions to transaction breakdown ()
* Add support for EIP1559 transactions to transaction breakdown

* Use userPreferencedCurrencyDisplay for effective gas price in transaction breakdown

* Hide eip1559 gas properties in transaction breakdown on non-1559 networks

* Add comment explaining gasPrice and effectiveGasPrice usage in transaction breakdown container.
2021-07-28 15:00:34 -02:30
Dan J Miller
9a81b826c5
Only show dapp suggested gas fee warning if user has not edited the fee () 2021-07-27 20:01:53 -02:30
ryanml
d092e4bdbe
Fixing type issue with auto-filled custom token decimals value () 2021-07-26 07:08:10 -07:00
David Walsh
6d92759853
EIP-1559 - Implement form validation for EIP-1559 ()
* Restructure advanced gas form errors

* Use shared constant for gas errors

* Add validation for fields too low

* Add warnings for high max fee and max priority fee

* Fix lint

* Fix priority fee high warning string
2021-07-20 14:34:32 -05:00
Brad Decker
da9fb4636b
move conversion utils to shared folder () 2021-07-06 12:48:49 -05:00
David Walsh
6fa36cdf51
Provide New UI Components for EIP-1559 Designs () 2021-06-23 18:39:44 -05:00
Alex Donesky
a4a5580785
Update controllers with conversionRate change with minimal required changes in extension ()
* updating controllers with conversionRate change with minimal required changes in extension

* swapping showFiat selector in places where possible

* adding invalid conversion protection

* lint fixes

* adjusting list-item styling logic
2021-06-23 18:28:49 -05:00
Alex Donesky
e10ddbe3a3
add erc-721 token detection and flag to disable sending ()
* add erc-721 token detection and flag to disable sending

* addressing feedback

* remove redundant provider instantiation

* fix issue caused by unprotected destructuring

* add tests and documentation

* move add isERC721 flag to useTokenTracker hook

* Update  and  unit tests

* use memoizedTokens in useTokenTracker

Co-authored-by: Dan Miller <danjm.com@gmail.com>
2021-06-22 12:39:44 -05:00
ryanml
2bfc3a093f
Using values from shared/constants/time to represent timing values () 2021-06-10 12:27:03 -07:00
Brad Decker
df9bc52e9f
Add gas constants () 2021-06-08 10:25:48 -05:00
Alex Donesky
f19207ca87
use etherscan-link customBlockExplorer methods with customNetwork usage tracking ()
* use etherscan-link customBlockExplorer methods with customNetwork usage tracking

* consolidate blockexplorer events, add domain to metametrics event

* lint fix
2021-05-19 09:51:47 -05:00
Niranjana Binoy
0e1181862f
Handling custom token decimal fetch failure due to network error () 2021-05-18 13:23:54 -04:00
Brad Decker
d9a2165f69
use safer toChecksum utility () 2021-05-17 16:19:39 -05:00
Brad Decker
9386e3cb03
create safer isValidAddress method () 2021-05-17 14:00:59 -05:00
Thomas Huang
e920fe15c3
Add isHex check for addresses supplied to icons () 2021-05-12 15:25:37 -07:00
Dan J Miller
d62329fd0a
Use isValidAddress helper instead of ethereumJsUtil.isValidAddress, when appropriate () 2021-05-11 16:53:50 -02:30
Niranjana Binoy
2b1e4fb013
replacing seed phrase with Secret Recovery Phrase () 2021-05-07 09:07:43 -04:00
Daniel
002763222b
Swaps: Improve hardware wallet UX () 2021-05-06 09:14:42 -05:00
Brad Decker
09d81ac5f2
remove the ui/app and ui/lib folders () 2021-04-28 14:53:59 -05:00