Mark Stacey
ac4e1d4e26
Remove faux `<header>` elements ( #8131 )
...
We have been using the HTML `header` tag in various footers. The
`footer` tag is generally more appropriate for use in a footer.
5 years ago
Jenny Pollack
befd580ab2
add parens to arrow function parameters ( #8060 )
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
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
Whymarrh Whitby
4d88e1cf86
Enable indent linting via ESLint ( #6936 )
...
* Enable indent linting via ESLint
* yarn run lint:fix
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
Whymarrh Whitby
7dd1254424
Fix markup for inline instances of `PageContainer`s
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
Alexander Tseung
f4d833cb09
Change btn-secondary styles to btn-default. Make btn-secondary red warning style buttons
7 years ago
Alexander Tseung
4f6b53c1aa
Update designs for Add Token screen
7 years ago