Brad Decker
03961715f7
use safer toChecksum utility ( #11117 )
2021-05-17 15:38:01 -07:00
Brad Decker
8254213b9c
create safer isValidAddress method ( #11089 )
2021-05-17 15:32:59 -07:00
ryanml
1170a250fa
icon-factory.js lint fix
2021-05-12 15:44:17 -07:00
Thomas Huang
42a72aa352
Add isHex check for addresses supplied to icons ( #11071 )
2021-05-12 15:31:56 -07:00
Dan J Miller
9a8254deb6
Use isValidAddress helper instead of ethereumJsUtil.isValidAddress, when appropriate ( #11049 )
2021-05-11 14:00:36 -07:00
Erik Marks
76a2a9bb8b
@metamask/eslint config@5.0.0 ( #10358 )
...
* @metamask/eslint-config@5.0.0
* Update eslintrc and prettierrc
* yarn lint:fix
2021-02-04 10:15:23 -08:00
Erik Marks
9d4b8a4903
@metamask/contract-metadata ( #9968 )
2020-12-01 14:55:01 -08:00
Brad Decker
2ebf8756a4
[RFC] add prettier to eslint ( #8595 )
2020-11-02 17:41:28 -06:00
Whymarrh Whitby
b6ccd22d6c
Update ESLint shared config to v3 ( #9274 )
...
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2020-08-19 13:57:05 -02:30
Whymarrh Whitby
c1e3c229bc
Fix import/order issues ( #9239 )
...
See [`import/order`](https://eslint.org/docs/rules/import/order ) for more information.
This change enables `import/order` and fixes the issues raised by the rule.
2020-08-18 16:48:25 -02:30
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
2020-01-09 00:04:58 -03:30
Whymarrh Whitby
e61745a821
Enable no-var rule for ESLint ( #7590 )
...
* eslint: Enable no-var rule
* yarn lint --fix
2019-12-03 11:22:01 -03:30
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
2019-03-21 20:33:30 -02:30
bitpshr
cce123c30e
Show checksummed addresses throughout the UI
2018-04-18 09:47:05 -04:00
Chi Kei Chan
06b2a04a42
Implement tokens list UI
2017-09-06 00:36:31 -07:00
Dan Finlay
86d367957f
Move responsive ui into its own folder for easier merges
2017-07-20 12:38:38 -07:00
Dan Finlay
5eb3d5d485
Make folder for responsive UI
2017-07-03 15:39:25 -07:00
Dan Finlay
108c4ab2c5
Auto populate token list with popular token balances
...
Half implements #175
Things to do:
- Add ability to add tokens to the list.
- Persist the token tab selection (so it is an implicit preference)
- Check what's up with the token-tracker polling, it seems like it is not waiting the interval.
2017-06-13 17:53:42 -07:00
Dan Finlay
a741cc4fc4
Merge branch 'master' into AddTokenList
2017-06-12 17:17:16 -07:00
Dan Finlay
9d2844c712
remove more in operators
2017-05-26 11:16:58 -07:00
Dan Finlay
f06ad954b9
Move to eth-contract-metadata
2017-05-26 09:58:33 -07:00
Dan Finlay
d8c94fca75
Add address image map to icon factory
...
Deriving from the new address image map repository I've added here:
https://github.com/MetaMask/ethereum-contract-icons
With this PR, images for addresses added to that repository will be shown instead of jazzicons in MetaMask.
2017-05-26 00:43:14 -07:00
Dan Finlay
bce4af2dca
Add placeholder etherscan token icons
2017-04-24 13:55:19 -07:00
Kevin Serrano
23263bec7d
Linting to the max.
2016-11-11 10:26:12 -08:00
kumavis
2468949cb5
some legit linting fixes
2016-06-23 16:53:45 -07:00
kumavis
7eb89613cc
icon-factory - overhaul to provide svg or imagified el
2016-06-23 16:09:25 -07:00
Dan Finlay
8fde8a8921
Manually linted
2016-06-21 13:56:04 -07:00
Dan Finlay
a08c3bc01b
Auto linted
2016-06-21 13:18:32 -07:00
Dan Finlay
d5c378b09a
Cache identicons
...
Fixes #197
Also as a side effect, by creating this `iconFactory.cache` object, we have a convenient place for specifying stock icons for known contracts!
We can just hard-code image addresses in the `ui/lib/icon-factory.js` cache instantiation, and those values will be injected into the identicon image tag `src` attributes.
2016-06-06 14:05:13 -07:00