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
Mark Stacey
ded43cbcdf
Remove unused code ( #9564 )
...
A number of unused parameters and `propTypes` have been merged, along
with an unused function.
4 years ago
Brad Decker
c04cb63c63
Standardize scss import practices ( #9183 )
4 years ago
Brad Decker
2e33b57d17
colocate hide-token-confirmation modal styles ( #9149 )
4 years ago
Mark Stacey
56b157f692
Fix hide token e2e test ( #8724 )
...
The e2e test for the "Hide token" functionality was incorrectly
clicking "Cancel" on the "Hide token" modal, thus not actually testing
that that token was hidden at all.
The "Confirm" button is now selected using a test id, to ensure the
wrong button isn't selected.
5 years ago
Mark Stacey
9a624dd24c
Revert the revert of "LoginPerSite"
...
This reverts commit 466ece4588
, which has
the message:
"Revert "Merge pull request #7599 from MetaMask/Version-v7.7.0" (#7648 )"
This effectively re-introduces the changes from the "LoginPerSite" PR.
5 years ago
Whymarrh Whitby
a78cf0ef3a
Enable arrow-parens ESLint rule
5 years ago
Whymarrh Whitby
fa1482ef76
Convert HideTokenConfirmationModal to an ES6 class ( #7782 )
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
Mark Stacey
466ece4588
Revert "Merge pull request #7599 from MetaMask/Version-v7.7.0" ( #7648 )
...
This reverts commit 1110287fe1
, reversing
changes made to 72eb233ee9
.
5 years ago
Whymarrh Whitby
6e73d2be69
Convert HideTokenConfirmationModal component to use JSX ( #7551 )
5 years ago
Chi Kei Chan
92c03bdff2
Update buttons & colors to match design system ( #6446 )
...
* Refactoring button styles
* renaming buttons
* Add Link and Button styles
* Update new btn styles and storybook
* Fix tests
* Change font weight; Update storybook
* Fix linter
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
Alexander Tseung
554f79c0e2
Fix blockies icons overriding contract map icons. Refactor Identicon component ( #5599 )
6 years ago
Esteban MIno
b59a1e91b8
typo watchAsset imageUrl to image
6 years ago
Esteban MIno
6fa889abcb
refactor watchToken related functions
6 years ago
Esteban MIno
dbab9a007f
delete according image when token added with watchToken deleted
6 years ago
Esteban MIno
a36ea0e232
show watch asset image from hide token modal
6 years ago
Dan J Miller
3b6e96bac9
Update hide-token-confirmation-modal.js to use new modalState schema ( #4482 )
...
* Update hide-token-confirmation-modal.js to use new modalState schema (added in 41e38fe55
).
* Fix modalState props
7 years ago
Dan
0a711f0de0
Removes t from props via metamask-connect and instead places it on context via a provider.
7 years ago
Dan
d24a0590d3
i18n redux solution doesn't require importing t() and passing state to each t() call; t is just available on props.
7 years ago
Dan
5fe0be722b
Handle i18n with redux.
7 years ago
kumavis
34aeef50a0
i18n - load locales manually
7 years ago
Nick Doiron
abfa74f09a
complete i18n across new UI
7 years ago
Nick Doiron
7da52c5997
separate out cross-browser i18n for extensions
7 years ago
Nick Doiron
99898ac775
better organization of locale file; i18n in more view files
7 years ago
Alexander Tseung
644adeccf6
Fix Hide Token modal styling, popup positioning
7 years ago
Dan
ac4868170f
Enables remove token and ensures add/remove update the list without need for refresh.
7 years ago
Dan
d206f183f5
Hide token confirmation modal ui
7 years ago