Alex Donesky
490d3b8d40
Integrate TokensController ( #11552 )
...
* Integrate controllers/tokensController
* address rebase issues
* small cleanup
* addressing feedback
* more feedback
3 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
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
Brad Decker
2ebf8756a4
[RFC] add prettier to eslint ( #8595 )
4 years ago
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.
4 years ago
Whymarrh Whitby
4f0a205369
Use eslint@6.8.0 ( #8978 )
...
* Use eslint@6.8.0
* yarn lint:fix
4 years ago
Mark Stacey
df85ab6e10
Implement asset page ( #8696 )
...
A new page has been created for viewing assets. This replaces the old
`selectedToken` state, which previously would augment the home page
to show token-specific information.
The new asset page shows the standard token overview as seen previously
on the home page, plus a history filtered to show just transactions
relevant to that token.
The actions that were available in the old token list menu have been
moved to a "Token Options" menu that mirrors the "Account Options"
menu.
The `selectedTokenAddress` state has been removed, as it is no longer
being used for anything.
`getMetaMetricState` has been renamed to `getBackgroundMetaMetricState`
because its sole purpose is extracting data from the background state
to send metrics from the background. It's not really a selector, but
it was convenient for it to use the same selectors the UI uses to
extract background data, so I left it there for now.
A new Redux store has been added to track state related to browser history.
The most recent "overview" page (i.e. the home page or the asset page) is
currently being tracked, so that actions taken from the asset page can return
the user back to the asset page when the action has finished.
5 years ago
Whymarrh Whitby
169ab8adc9
Remove recompose ( #8097 )
5 years ago
Whymarrh Whitby
a78cf0ef3a
Enable arrow-parens ESLint rule
5 years ago
Dan Finlay
bca4594f0a
Add warning to watchAsset API when editing a known token ( #8049 )
...
* Add warning when editing a known token with watchAsset API
* Add warning when watchAsset attempts to reuse token symbol
5 years ago
Dan Finlay
eb57763056
Add warning to watchAsset API when editing a known token ( #8049 )
...
* Add warning when editing a known token with watchAsset API
* Add warning when watchAsset attempts to reuse token symbol
* Linted
5 years ago
Whymarrh Whitby
61d1809750
Purge xtend from the UI ( #7795 )
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
Whymarrh Whitby
274a9ecf53
yarn lint --fix
5 years ago
Dan Miller
8a82e629bf
Ensure future tokens add decimals as numbers while supporting numbers and strings in send-asset-row
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
Esteban MIno
b59a1e91b8
typo watchAsset imageUrl to image
6 years ago
Esteban MIno
bb868f5834
correct behavior when notification is closed when popup
6 years ago
Esteban MIno
2ace30bcd1
WIP
6 years ago
Esteban MIno
a4c3f6b65c
add support for images base64 and urls on new ui
6 years ago
Esteban MIno
af35b415ab
new confirm add suggested token component
6 years ago
Esteban MIno
9ac9f53a73
eth_watchToken working
6 years ago
Dan Finlay
f14ed32980
Begin letting UI show suggested tokens
7 years ago
Alexander Tseung
4f6b53c1aa
Update designs for Add Token screen
7 years ago