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
ImanH
acc9a931e5
drop the fox in about ( #10174 )
4 years ago
David Walsh
a05230bba7
Provide alternative text for images where appropriate
4 years ago
Brad Decker
2ebf8756a4
[RFC] add prettier to eslint ( #8595 )
4 years ago
Brad Decker
c04cb63c63
Standardize scss import practices ( #9183 )
4 years ago
Brad Decker
10a12b8033
update email us to contact us ( #9104 )
4 years ago
Brad Decker
1207d43945
update email us to contact us ( #9104 )
4 years ago
Mark Stacey
e3a62cd603
Simplify settings tab `render` functions ( #8551 )
...
These `render` functions were just calling `renderContent`. Instead the
`render` function now directly renders the content.
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
Dan J Miller
961ad267df
New settings page rebased ( #6333 )
...
* New setting tab
* Add InfoTab
* Add Advanced tab
* Add Security Tab
* Finish mobile view
* Make new setting page responsive
* Fix linter
* Fix y scrolling
* Update link in network dropdown
* Fix e2e tests
* Remove duplicate translation key
* Resolve merge conflict
* Only change settings header in popup view.
* Place mobile-sync button in advanced-tab of settings
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
b579ee9619
Refactor settings page to use JSX and follow component file folder structure
6 years ago