Thomas Huang
c2218ad941
Continue rm enzyme, unit tests. ( #15730 )
...
* Convert Confirm Page Container test to tlr.
Add test ids to associated components.
* Convert Welcome component to tlr.
* Update ui/pages/first-time-flow/welcome/welcome.test.js
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
* Update ui/components/app/confirm-page-container/confirm-page-container-container.test.js
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
* Remove unsused, commented out, lines
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
2 years ago
George Marshall
55abc00c34
Updating all caret icons for dark mode 🥕 ( #13861 )
...
* Updating all caret icons
* lint fixes
* Fixing settings search list
3 years ago
David Walsh
3f687ff45f
Use ternary conditionals instead of && ( #12406 )
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
Shane
f4819e408b
fix: confirm page header should show address in fullscreen ( #10467 )
...
fixes #9920
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
Erik Marks
90289ec22a
Further improve organization of constants ( #10200 )
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
Whymarrh Whitby
b6ccd22d6c
Update ESLint shared config to v3 ( #9274 )
...
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Whymarrh Whitby
884775cf71
Fix no-negated-condition issues ( #9222 )
...
See [`no-negated-condition`](https://eslint.org/docs/rules/no-negated-condition ) for more information.
This change enables `no-negated-condition` 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
Brad Decker
389df9dd37
warn user when sending from different account ( #8601 )
5 years ago
Erik Marks
266d6e67fe
Rename addressSlicer function to shortenAddress ( #8408 )
5 years ago
Mark Stacey
44effa0d91
Replace METAMASK_UI_TYPE global with helper function ( #8279 )
...
We don't need to store the current UI type as a global. We're already
using the `getEnvironmentType` helper function throughout the UI, so
we'd might as well use that instead of this global state.
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
bb4c4189fb
eslint: Enable more react/jsx-* rules ( #7592 )
5 years ago
Whymarrh Whitby
2e69f3233e
eslint: Enable more react/jsx-* rules ( #7592 )
5 years ago
Dan J Miller
2673eef3c4
Redesign approve screen ( #7271 )
...
* Redesign approve screen
* Add translations to approve screen components
* Show account in header of approve screen
* Use state prop bool for unlimited vs custom check in edit-approval-permission
* Set option to custom on input change in edit-approval-permission
* Allow setting of approval amount to unlimited in edit-approval-permission
* Fix height of confirm-approval popup
* Ensure decimals prop passted to confirm-approve.component is correct type
* Ensure first param passed to calcTokenValue in confirm-approve.util is the correct type
* Fix e2e test of permission editing
* Remove unused code from edit-approval-permission.container
5 years ago
Mark Stacey
ab0eae1ed3
Rename ConfirmPageContainerHeader class ( #7322 )
...
The class has been renamed to reflect that it is a header, to avoid
having the same name as the `ConfirmPageContainer` component. Multiple
components with the same name can lead to confusing error messages.
5 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
ea9d51e427
Refactor and redesign confirm transaction views
6 years ago