Brad Decker
a036b0ebcd
Add color indicator component ( #10209 )
...
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Erik Marks
4fef2b7443
Add MAX_SAFE_CHAIN_ID and refactor chain ID validation ( #10224 )
...
* Add MAX_SAFE_CHAIN_ID constant
* Add isSafeChainId to shared utils module
* Move isPrefixedFormattedHexString to shared utils module
* Validate custom RPC chain IDs in network controller
* Update some network controller error messages.
* Add isSafeChainId validation to UI
4 years ago
Brad Decker
e9079be2b8
add chip component ( #10199 )
4 years ago
Brad Decker
29f4c93830
add new typography component ( #10197 )
4 years ago
Erik Marks
7077ee68dc
Add NETWORK_TYPE_RPC constant ( #10203 )
...
* Refactor network display props
* Add NETWORK_TYPE_RPC constant
* Consolidate network constants
4 years ago
Erik Marks
90289ec22a
Further improve organization of constants ( #10200 )
4 years ago
Dan J Miller
3539885ec2
Disable swaps based on chainId, instead of network id ( #10155 )
4 years ago
Dan J Miller
9a1e83cf4b
Disable swaps based on chainId, instead of network id ( #10155 )
4 years ago
Brad Decker
b5fc1f9314
improve handling of last selected provider ( #10093 )
4 years ago
Brad Decker
9946819ad9
set last provider when switching to a customRPC ( #10084 )
4 years ago
Brad Decker
ce70c86774
set last provider when switching to a customRPC ( #10084 )
4 years ago
Nicholas Rodrigues Lordello
288760cffe
Display boolean values when signing typed data ( #10048 )
4 years ago
David Walsh
9a1548368f
Use Boolean for filters ( #10066 )
4 years ago
Nicholas Rodrigues Lordello
fcf75d6438
Display boolean values when signing typed data ( #10048 )
4 years ago
Erik Marks
54e9c53b27
Add web3 shim usage notification ( #10039 )
...
* Add web3 shim usage alert background state and logic
* Cleanup alert background state, constants
* Implement web3 shim usage notification and settings
* nodeify alert controller background hooks
* Remove svg icon, again
* Tweak alert controller initialization
* Add support article URL
* Un-thunk alert UI "actions"
* Delete connect.svg file (unused)
4 years ago
Erik Marks
db004d4486
Refactor home notification ( #10046 )
...
Co-authored-by: Brad Decker <git@braddecker.dev>
4 years ago
David Walsh
07c5527b1e
Use consistent font size for modal top right Close links ( #10000 )
4 years ago
Dan J Miller
da5e5cd8b6
Reapply view quote screen designs ( #9905 )
4 years ago
David Walsh
42fd8b0ff0
Use strict equality in unit tests ( #9966 )
4 years ago
Dan J Miller
97d268c8ee
Remove use of ethgasstation; use metaswap /gasPrices api for gas price estimates ( #9867 )
...
* Remove use of ethgassthat; use metaswap /gasPrices api for gas price estimates
* Remove references to ethgasstation
* Pass base to BigNumber constructor in fetchExternalBasicGasEstimates
* Update ui/app/hooks/useTokenTracker.js
Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
* Delete gas price chart
* Remove price chart css import
* Delete additional fee chart code
* Lint fix
* Delete more code no longer used after ethgasstation removal
Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
4 years ago
David Walsh
673371d013
Fix #9872 - Show price difference warning on swaps price quote ( #9899 )
4 years ago
Erik Marks
9d4b8a4903
@metamask/contract-metadata ( #9968 )
4 years ago
Mark Stacey
429847a686
Update to `@storybook/*@6` ( #9956 )
...
Our Storybook dependencies have been updated to v6.1.9, from v5. This
was done to address a security vulnerability in a transitive dependency
of these packages (`highlight.js`).
The primary changes required by this Storybook update were the change
in import path for the `withKnobs` hook, the change in background
config format, and the webpack configuration. Storybook seems to work
correctly.
The migration was guided by the Storybook changelog[1] and the
Storybook v6 migration guide[2].
There is one Storybook error remaining; it fails to load the Euclid
font. This is a pre-existing error though, so we can fix it in a later
PR.
The `yarn.lock` file was deduplicated in this PR as well, as it was
required to fix various install warnings that were introduced with this
update.
[1]: https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md
[2]: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md
4 years ago
David Walsh
0315c6c20d
Add alt text for images in list items ( #9847 )
4 years ago
Thomas Huang
35af9ea301
Override font-weight from Paragraph and set to 900 ( #9918 )
...
* Override font-weight from Paragraph and set to 900
* Fix checkmark font-weight on swaps gas button selector
4 years ago
Dan J Miller
1e895c3110
Revert view quote design updates ( #9904 )
...
* Revert "Update fee card designs to show savings and MM fee (#9629 )"
This reverts commit d9924ca771
.
* Revert "Update main-quote-summary designs/styles (#9612 )"
This reverts commit 5456d55c88
.
4 years ago
Brad Decker
5be20d105e
show failed token balance updates ( #9896 )
4 years ago
David Walsh
e90bddf44f
Revert "Show a 'send eth' button on home screen in full screen mode" ( #9910 )
4 years ago
Mark Stacey
080dc7ad74
Revert "Revert "Update main-quote-summary designs/styles ( #9612 )" ( #9844 )"
...
This reverts commit 2214e1561d
.
4 years ago
Nate Chastain
179dbcb41c
Remove CoinSwitch from Deposit screen( #9869 )
...
Remove all CoinSwitch references and functionality, and bump Wyre to top spot on Deposit screen unless user on test network
4 years ago
Dan J Miller
2214e1561d
Revert "Update main-quote-summary designs/styles ( #9612 )" ( #9844 )
...
This reverts commit 5456d55c88
.
4 years ago
David Walsh
4519b92208
Prevent jump when hovering over asset list items
4 years ago
David Walsh
587d07c730
Prevent jump when hovering over asset list items
4 years ago
Mark Stacey
a215afcd18
Fix broken LoadingScreen PropType declaration ( #9877 )
...
`PropTypes.oneOf` was used accidentally instead of
`PropTypes.oneOfType`. `oneOf` expects literal values, not types.
4 years ago
Mark Stacey
a75949e62c
Fix broken LoadingScreen PropType declaration ( #9877 )
...
`PropTypes.oneOf` was used accidentally instead of
`PropTypes.oneOfType`. `oneOf` expects literal values, not types.
4 years ago
David Walsh
9677d090d1
Show send text upon hover in main asset list
4 years ago
David Walsh
67303b7865
Fix BigNumber issues ( #9860 )
...
* Document where we need BigNumber-related changes
* Fix 1 unit test
* Debug progress
* Add required values for each upstream usage of getBigNumber
* Switch to base 10
* Address feedback
4 years ago
Erik Marks
0dbeae583a
Fix mock signature in test
4 years ago
Erik Marks
406f06dae8
Fix gas-modal-page-container gas price selection call
4 years ago
Erik Marks
8c6c944d14
Fix unit tests
4 years ago
Erik Marks
bb81ac7cd6
Fix setGasPrice dispatch function params
4 years ago
David Walsh
5f949d2c4f
Show a 'send eth' button on home screen in full screen mode
4 years ago
David Walsh
56cff1a91a
Fix unnecessary keyring check
4 years ago
David Walsh
74866a6efb
Make editable actoin item a button, autofocus input contents
4 years ago
David Walsh
a05230bba7
Provide alternative text for images where appropriate
4 years ago
Dan J Miller
bcd5f2a7c1
Fix gas_fees properties collected for swaps analytics events ( #9727 )
4 years ago
David Walsh
974ba4f691
Simplify the QR code component ( #9828 )
4 years ago
Brad Decker
a49a4a066c
expand transaction constants coverage ( #9790 )
...
* expand transaction constants coverage
* touchups
* dont import inside of e2e
* Update app/scripts/controllers/transactions/tx-state-manager.js
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
* Update test/unit/app/controllers/transactions/tx-controller-test.js
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Patryk Łucka
ee205b893f
Create custom addHexPrefix function ( #9306 )
...
* create custom addHexPrefix function
* switch to custom addHexPrefix
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Erik Marks <rekmarks@protonmail.com>
4 years ago
David Walsh
b1b78ff5a5
Don't use concatenized token value for ETH in asset list item ( #9809 )
4 years ago