Whymarrh Whitby
2aa4b6bbee
Tidy up getAccountLink ( #9223 )
4 years ago
Whymarrh Whitby
9b78d3ab07
Fix import/extensions issues ( #9217 )
...
See [`import/extensions`](https://eslint.org/docs/rules/import/extensions ) for more information.
This change enables `import/extensions` and fixes the issues raised by the rule.
4 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
Erik Marks
22699cb1d9
Fix connect hardware styling ( #8680 )
...
* Connect -> Hardware
* fix connect hardware styling
* rename some components and classes
* make hardware account scrolling sane
5 years ago
Whymarrh Whitby
81d8237654
Use eslint-plugin-react@7.18.3 ( #8085 )
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
49a525b9f8
Add `react/no-unused-prop-types` ESLint rule ( #7655 )
...
* Add `react/no-unused-prop-types` rule
All detected unused prop types have been removed. I have attempted to
ensure these props are no longer passed in either.
* Update handling of props to avoid false positive lint errors
These cases were detected by `react/no-unused-prop-types` as being
unused props, even though they were used. These minor adjustments
prevent them from being flagged as errors.
* Update unit tests
Many of these tests were just checking that specific props were passed
from containers or to a child component. These were deleted, as I can't
imagine how they'd be useful.
* Disable `react/no-unused-prop-types` in `componentWillReceiveProps
The rule `react/no-unused-prop-types` doesn't seem to be detecting
props used within `UNSAFE_componentWillReceiveProps`. The two cases
have been disabled temporarily until we can replace these unsafe
lifecycle functions.
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
3086c0db71
Convert AccountList component to use JSX ( #7524 )
5 years ago
Whymarrh Whitby
4d88e1cf86
Enable indent linting via ESLint ( #6936 )
...
* Enable indent linting via ESLint
* yarn run lint:fix
5 years ago
Whymarrh Whitby
094e4cf555
Check for unused function arguments ( #6583 )
...
* eslint: Check for unused function arguments
* eslint: Ignore unused '_' in argument list
Also allow any number of '_' e.g., '__' or '___' which is to be used sparingly
* Remove and rename unused arguments
6 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
a7b3750a3e
Fix button styling for Create Account Connect ( #5787 )
6 years ago
Alexander Tseung
31089778ba
Add raised type buttons to Button component. Refactor all buttons within app to Button components
6 years ago
brunobar79
285814646f
ui ready
6 years ago
brunobar79
b77cc3d969
fix tx tests
6 years ago
brunobar79
61a279204a
legacy and new hd path working
6 years ago
brunobar79
4e1d8ba19d
good progress adding paths
6 years ago
brunobar79
8e842a8947
able to add accounts
6 years ago
brunobar79
5ef80495cf
refactor to support multiple hw wallets
6 years ago
brunobar79
df19163bf9
last css fixes
6 years ago
brunobar79
cb97517b26
updated account list based on new designs
6 years ago
brunobar79
80e875308b
forget device and autiload account features added
6 years ago
brunobar79
7cca7ace2e
fix all the account related bugs
6 years ago
brunobar79
6b2511f94f
UI refactor
6 years ago
brunobar79
6c2730f243
Refactor UI
6 years ago