1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/pages
ricky 5f254f7325 Add advanced setting to enable editing nonce on confirmation screens (#7089)
* Add UseNonce toggle

* Get the toggle actually working and dispatching

* Display nonce field on confirmation page

* Remove console.log

* Add placeholder

* Set customNonceValue

* Add nonce key/value to txParams

* remove customNonceValue from component state

* Use translation file and existing CSS class

* Use existing TextField component

* Remove console.log

* Fix lint nits

* Okay this sorta works?

* Move nonce toggle to advanced tab

* Set min to 0

* Wrap value in Number()

* Add customNonceMap

* Update custom nonce translation

* Update styles

* Reset CustomNonce

* Fix lint

* Get tests passing

* Add customNonceValue to defaults

* Fix test

* Fix comments

* Update tests

* Use camel case

* Ensure custom nonce can only be whole number

* Correct font size for custom nonce input

* UX improvements for custom nonce feature

* Fix advanced-tab-component tests for custom nonce changes

* Update title of nonce toggle in settings

* Remove unused locale message

* Cast custom nonce to string in confirm-transaction-base.component

* Handle string conversion and invalid values for custom nonces in handler

* Don't call getNonceLock in tx controller if there is a custom nonce

* Set nonce details for cases where nonce is customized

* Fix incorrectly use value for deciding whether to getnoncelock in approveTransaction

* Default nonceLock to empty object in approveTransaction

* Reapply use on nonceLock in cases where customNonceValue in approveTransaction.

* Show warning message if custom nonce is higher than MetaMask's next nonce

* Fix e2e test failure caused by custom nonce and 3box toggle conflict

* Update nonce warning message to include the suggested nonce

* Handle nextNonce comparison and update logic in lifecycle

* Default nonce field to suggested nonce

* Clear custom nonce on reject or confirm

* Fix bug where nonces are not shown in tx list on self sent transactions

* Ensure custom nonce is reset after tx is created in background

* Convert customNonceValue to number in approve tranasction controller

* Lint fix

* Call getNextNonce after updating custom nonce
2019-09-27 00:30:36 -04:00
..
add-token Right-to-left CSS (using module for conversion) (#7072) 2019-09-03 14:47:54 -03:00
confirm-add-suggested-token Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
confirm-add-token Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
confirm-approve Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
confirm-deploy-contract Only pass english function names to functionType metric 2019-04-08 13:31:11 -02:30
confirm-send-ether Only pass english function names to functionType metric 2019-04-08 13:31:11 -02:30
confirm-send-token Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
confirm-token-transaction-base Fix confirm token transaction amount display (#7081) 2019-08-31 13:26:49 -03:00
confirm-transaction Add a/b test for full screen transaction confirmations (#7162) 2019-09-24 17:08:38 -04:00
confirm-transaction-base Add advanced setting to enable editing nonce on confirmation screens (#7089) 2019-09-27 00:30:36 -04:00
confirm-transaction-switch 4byte fallback (#6551) 2019-06-18 09:47:14 -02:30
create-account Remove unused locale messages (#7190) 2019-09-18 20:29:46 -03:00
first-time-flow 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
home Add migration on 3box imports and remove feature flag (#7209) 2019-09-26 03:24:52 -04:00
keychains Add migration on 3box imports and remove feature flag (#7209) 2019-09-26 03:24:52 -04:00
lock Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
mobile-sync Update mobile sync (#6967) 2019-08-06 15:33:41 -04:00
provider-approval Refactor ProviderApprovalController to use rpc and publicConfigStore (#6410) 2019-05-03 13:32:05 -04:00
routes Right-to-left CSS (using module for conversion) (#7072) 2019-09-03 14:47:54 -03:00
send address book entries by chainId (#7205) 2019-09-21 14:36:05 -03:00
settings Add advanced setting to enable editing nonce on confirmation screens (#7089) 2019-09-27 00:30:36 -04:00
unlock-page Open retore-vault route from popup (#6353) 2019-03-26 23:35:29 -07:00
index.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
index.scss Address book send plus contact list (#6914) 2019-07-31 17:26:44 -02:30