Dan J Miller
a4f0944517
Ensure smart contract interactions are properly represented on the confirm screen ( #15446 )
...
* Ensure smart contract interactions are properly represented on the confirm screen
* Fix unit tests
* Code cleanup
* Cleanup
* Code cleanup
* Fix test
2 years ago
Dan J Miller
6602e4a013
Ensure smart contract interactions are properly represented on the confirm screen ( #15446 )
...
* Ensure smart contract interactions are properly represented on the confirm screen
* Fix unit tests
* Code cleanup
* Cleanup
* Code cleanup
* Fix test
2 years ago
Filip Sekulic
7d321c48e0
Removed ui related code from shared directory ( #15252 )
2 years ago
Alex Donesky
4826c8c95e
Feat/collectibles send flow ( #13048 )
...
* Add collectibles send flow
3 years ago
Jyoti Puri
2af45a656f
Adding validations for advance gas fee input fields ( #12879 )
3 years ago
Brad Decker
da9fb4636b
move conversion utils to shared folder ( #11451 )
3 years ago
Brad Decker
e17325c38a
Refactor send page state management ( #10965 )
3 years ago
Brad Decker
c30cb7d33a
Refactor send page state management ( #10965 )
4 years ago
Brad Decker
df9bc52e9f
Add gas constants ( #11248 )
4 years ago
Brad Decker
29742b9519
remove the ui/app and ui/lib folders ( #10911 )
4 years ago
Brad Decker
09d81ac5f2
remove the ui/app and ui/lib folders ( #10911 )
4 years ago
ryanml
3c6cdef074
Adding a warning when sending a token to its own contract address ( #10546 )
...
Fixes MetaMask/metamask-extension#9437
4 years ago
ty
b04120dd0f
Warn users when an ENS name contains 'confusable' characters ( #9187 )
...
* Add warning system for 'confusable' ENS names (#9129 )
Uses unicode.org's TR39 confusables.txt to display a warning when
'confusable' unicode points are detected.
Currently only the `AddRecipient` component has been updated, but the new
`Confusable` component could be used elsewhere
The new `unicode-confusables` dependency adds close to 100KB to the
bundle size, and around 30KB when gzipped.
Adds 'tag' prop to the tooltop-v2 component
Use $Red-500 for confusable ens warning
Lint Tooltip component
Update copy for confusing ENS domain warning.
* Fix prop type
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Erik Marks
76a2a9bb8b
@metamask/eslint config@5.0.0 ( #10358 )
...
* @metamask/eslint-config@5.0.0
* Update eslintrc and prettierrc
* yarn lint:fix
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
Brad Decker
2ebf8756a4
[RFC] add prettier to eslint ( #8595 )
4 years ago
Whymarrh Whitby
b7259e5d6a
Fix radix issues ( #9247 )
...
See [`radix`](https://eslint.org/docs/rules/radix ) for more information.
This change enables `radix` and fixes the issues raised by the rule.
4 years ago
Erik Marks
0470386326
Delete recent blocks controller ( #8575 )
...
* delete recent blocks controller
* delete percentile from direct dependencies
5 years ago
Whymarrh Whitby
92971d3c87
Migrate codebase to use ESM ( #7730 )
...
* Update eslint-plugin-import version
* Convert JS files to use ESM
* Update ESLint rules to check imports
* Fix test:unit:global command env
* Cleanup mock-dev script
5 years ago
Dan J Miller
4ed452e6ed
Fix e2e tests and gas default ( #7267 )
...
* Add extra delay after second send3eth.click() in the 'adds multiple transactions' test
* Remove use of ARBITRARY_HIGH_BLOCK_GAS_LIMIT as fallback
5 years ago
Dan J Miller
b884cd573c
Ensure correct tx category when sending to contracts without tx data ( #7252 )
...
* Ensure correct transaction category when sending to contracts but there is no txParams data
* Update gas when pasting address in send
* Gracefully fall back is send.util/estimateGas when blockGasLimit from background is falsy
* Remove network request frontend fallback for blockGasLimit
* Add some needed slow downs to e2e tests
5 years ago
Dan J Miller
1a0b0ce7c7
Fix e2e tests and gas default ( #7267 )
...
* Add extra delay after second send3eth.click() in the 'adds multiple transactions' test
* Remove use of ARBITRARY_HIGH_BLOCK_GAS_LIMIT as fallback
5 years ago
Dan J Miller
38df64783d
Ensure correct tx category when sending to contracts without tx data ( #7252 )
...
* Ensure correct transaction category when sending to contracts but there is no txParams data
* Update gas when pasting address in send
* Gracefully fall back is send.util/estimateGas when blockGasLimit from background is falsy
* Remove network request frontend fallback for blockGasLimit
* Add some needed slow downs to e2e tests
5 years ago
Chi Kei Chan
931aaeb700
Add token selection to the send screen ( #6445 )
...
* Move send to pages/
* Fix unit tests
* Finish UI
* Integrate asset dropdown to send actions
* Remove console.log
* Hide asset change during edit
* Enable switch from send token to seand eth
* Enable switching from token to eth when editing
* Fix linter
* Fixing test
* Fix unit tests
* Fix linter
* Fix react warning; remove console.log
* fix flat test
* Add metrics
* Address code review comments
* Consistent spacing between send screen form rows.
* Reduce height of gas buttons on send screen.
* Make send screen gas button height dependent on size of contents.
6 years ago
Chi Kei Chan
31175625b4
Folder restructure ( #6304 )
...
* Remove ui/app/keychains/
* Remove ui/app/img/ (unused images)
* Move conversion-util to helpers/utils/
* Move token-util to helpers/utils/
* Move /helpers/*.js inside /helpers/utils/
* Move util tests inside /helpers/utils/
* Renameand move confirm-transaction/util.js to helpers/utils/
* Move higher-order-components to helpers/higher-order-components/
* Move infura-conversion.json to helpers/constants/
* Move all utility functions to helpers/utils/
* Move pages directory to top-level
* Move all constants to helpers/constants/
* Move metametrics inside helpers/
* Move app and root inside pages/
* Move routes inside helpers/
* Re-organize ducks/
* Move reducers to ducks/
* Move selectors inside selectors/
* Move test out of test folder
* Move action, reducer, store inside store/
* Move ui components inside ui/
* Move UI components inside ui/
* Move connected components inside components/app/
* Move i18n-helper inside helpers/
* Fix unit tests
* Fix unit test
* Move pages components
* Rename routes component
* Move reducers to ducks/index
* Fix bad path in unit test
6 years ago
Jonathan Smirnoff
8dddf48904
Fixed issue #5838 ( #6001 )
...
Update changelog file
6 years ago
Esteban Miño
1d93d9a385
Prevent send to token ( #6051 )
...
* check contact metadata
* check for tokens in state
* tests
* update tests
* validation only if sending tokens
* container test
6 years ago
Dan
b3d78ed8a1
Remove send_ directory, revert to just having send
...
Revert accidentally changed constants.
Require defaults in ens-input, gas-fee-display and confirm screens.
6 years ago
Dan
696d626133
Set based estimate for token sends to be updated once recipient address specified.
7 years ago
Dan
4f0b4eef50
Estimate gas using same algorithm as backend.
7 years ago
Dan
166fda5877
Simplify gas estimate actions and add local estimateGasPriceFromRecentBlocks method.
7 years ago
Dan
6bc8cc819a
Merge branch 'develop' into i3725-refactor-send-component-
7 years ago
Dan
4a8c3194c2
Use constants for send screen errors messages.
7 years ago
Dan
8ff7806f1b
Core of the refactor complete
7 years ago
Dan
9ced63584b
Add constanst for token transfer function signature.
7 years ago
Dan Finlay
c6713e93ad
Fix bug where gas param was not a string
...
Prevented sending transactions.
Fixes #2598
7 years ago
Dan
716bbf67d7
Set gas price allows for WEI precision.
7 years ago
Dan
5a94775b3f
Lint fixes for NewUI-flat.
7 years ago
Dan
220da24f9a
Change min gas price to 0.1 GWEI
7 years ago
Dan
e737a9565a
Improve customize gas modal error handling
7 years ago
Dan
c2880c4b8f
Min and default gas price, limit, total; comments out code for gas slider.
7 years ago
Dan
59015cccef
Min and default gas price, limit, total; comments out code for gas slider.
7 years ago