Whymarrh Whitby
dea8f0f24d
Use combineReducers for rootReducer ( #7964 )
5 years ago
Whymarrh Whitby
2c3b1a0fe0
Convert ConfirmTxScreen to an ES6 class ( #7790 )
...
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
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
Whymarrh Whitby
274a9ecf53
yarn lint --fix
5 years ago
Whymarrh Whitby
04064d5d19
Enable no-var rule for ESLint ( #7590 )
...
* eslint: Enable no-var rule
* yarn lint --fix
5 years ago
Whymarrh Whitby
e61745a821
Enable no-var rule for ESLint ( #7590 )
...
* eslint: Enable no-var rule
* yarn lint --fix
5 years ago
Whymarrh Whitby
921134bad1
Convert ConfirmTxScreen component to use JSX ( #7559 )
5 years ago
Mark Stacey
71a0bc8b3f
Refactor signature-request-original ( #7415 )
...
The component has been updated to split the container from the base
component, and all hyperscript has been replaced with JSX. ES6 imports
are used throughout as well.
5 years ago
Terry Smith
57a29668f3
New signature request v3 UI ( #6891 )
...
* Refactoring signature-request out to a new component. Wip
* Styling polish and a better message display.
* Update signature request header to no longer use account dropdown mini
* Clean up code and styles
* Code cleanup for signature request redesign branch
* Fix signature request design for full screen
* Replace makenode with object.entries in signature-request-message.component.js
* Remove unused accounts prop from signature-request.component.js
* Use beforeunload instead of window.onbeforeunload in signature-request
5 years ago
Whymarrh Whitby
ecbde20949
Remove ComputedbalancesController ( #7057 )
5 years ago
Mark Stacey
1f45798707
Override `ownProps` with state props in `SignatureRequest` ( #6911 )
...
The `accounts` prop of `SignatureRequest` was throwing a PropType
warning because `accounts` was an object instead of an array. It looks
like when the `mergeProps` function was added in #6340 , the ownProps
were accidentally set to override the state props.
The now ignored props have been removed from the parent `ConfirmTxScreen`
component as well. `conversionRate` was identical to the one retrieved
in `SignatureRequest`, and `selectedAddress` differed only in the
fallback behaviour when `state.metamask.selectedAddress` does not exist;
it will now default to the first account instead (as was the original
behavior, prior to #6340 ).
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
Dan J Miller
4c24555545
Save recent network balances in local storage ( #5843 )
...
* Use selector for state.metamask.accounts in all cases.
* Default to cached balance when selecting metamask accounts
* Adds the cached-balances controller
* Documentation and small codes fixes for #5843
Co-Authored-By: danjm <danjm.com@gmail.com>
6 years ago
Alexander Tseung
5a6c333506
Switch existing modals from using Notification to Modal. Remove Notification component. Add CancelTransaction modal
6 years ago
Alexander Tseung
e9a8c24cc4
Remove unused confirm transaction files
6 years ago
Alexander Tseung
e89549846f
Refactor data flow, signature request routing
6 years ago
Alexander Tseung
41e38fe553
Add notification for dropped retry transactions ( #4363 )
7 years ago
Dan
6bc8cc819a
Merge branch 'develop' into i3725-refactor-send-component-
7 years ago
Alexander Tseung
ffda954add
Fix styling of the app spinner
7 years ago
bitpshr
7129d7c0f3
Require loglevel singleton in each module that uses it
7 years ago
Alexander Tseung
bf38aa6f1d
Fix transaction confirmations
7 years ago
Alexander Tseung
516c1869b0
Fix lint errors
7 years ago
Alexander Tseung
bdc4a6964a
Fix merge conflicts. Refactor renderPrimary into Home component
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
3830f49ac5
Take user home if an unapproved tx is dropped while they are viewing.
7 years ago
Dan
5fe0be722b
Handle i18n with redux.
7 years ago
Dan
f38675c9ac
Checks if there is currently a send in progress before redirecting to default in conf-tx
7 years ago
frankiebee
8bb57f33b1
add a `x` close button to gas calc loding screen on conf-tx
7 years ago
frankiebee
d5c311b13e
add a loading spinner to conf-tx view
7 years ago
Dan
5fe3c5aae6
Lint fixes.
7 years ago
Dan
bf4043c59b
Adds updateTransaction to background and used it to update after editing in send-v2.
7 years ago
Alexander Tseung
5d1187c37b
Add route for signature request
7 years ago
Alexander Tseung
e226b10a89
Add react-router to allow use of the browser back button
7 years ago
Dan
56e9f98bd0
More lint fixes
7 years ago
Dan
5a94775b3f
Lint fixes for NewUI-flat.
7 years ago
Dan
ddf11011c9
Signature request fixes.
7 years ago
Dan
78836b0ead
Signature Request
7 years ago
Alexander Tseung
5a93ec0252
Fix loading animation not showing on network change
7 years ago
Sergey Ukustov
82d1f39198
Respect code style
7 years ago
Sergey Ukustov
c2b8dada91
Add eth_signTypedData handler
7 years ago
Dan
5c86194c0a
Show loading on conf-tx until the pending tx is available.
7 years ago
Dan Finlay
a01921758b
Add computed balance to account detail view
7 years ago
Dan Finlay
0ba6493175
Use computed balance for tx confirmation
7 years ago
Kevin Serrano
27ba7f6ed3
Show reject all only when tx count is > 1
7 years ago
Kevin Serrano
41e9904d9b
Convert icon to button.
7 years ago
Dan
7d6ad48f15
Touch up transaction list item styles, remove main-content scroll bars, align buttons with main-content..
7 years ago
Dan
e7b3ef0708
Lint fixes
7 years ago
DavidNinja
399c51c048
cancel all txs
7 years ago
sdtsui
65327dd11f
Cleanup unnecessary pending tx-switching logic
7 years ago
Dan Finlay
0ea6749dbc
Lots of flex rearrangement on account detail view
...
Includes removal of ReactCssTransitionGroup for a simpler UI refactor.
7 years ago