1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts
Kristian Tapia f9cd775eae Add Estimated time to pending tx (#6924)
* Add estimated time to pending transactions

* add sytles for pending transactions component

* add media queries styling for pending transactions component

* fix lint errors, remove extra spaces

* refactor code to call `fetchBasicGasAndTimeEstimates` method once

* refactor code to call `getgetRenderableTimeEstimate` method once

* fix, correct export to use `transaction-time-remaining-component`

* fix indentation issues after running `yarn lint`

* newBigSigDig in gas-price-chart.utils supports strings

* Code cleanup

* Ensure fetchBasicGasAndTimeEstimates is only called from tx-list if there are pending-txs

* Move gas time estimate utilities into utility file

* Move getTxParams to transaction selector file

* Add feature flag for display of remaining transaction time in tx history list

* Fix circular dependency by removing unused import of transactionSelector in selectors.js

* Use correct feature flag property name transactionTime

* Ensure that tx list component correctly responds to turning tx time feature on

* Prevent precision errors in newBigSigDig

* Code clean up for pending transaction times

* Update transaction-time-remaining feature to count down seconds, countdown seconds and show '< 30'

* Code clean up for transaction-time-remaining feature
2019-10-31 23:21:28 -02:30
..
account-import-strategies account-import-strategies - ensure privateKey is prefixed before converting to buffer 2018-06-13 21:06:33 -07:00
controllers Add Estimated time to pending tx (#6924) 2019-10-31 23:21:28 -02:30
lib Add web3 deprecation warning (#7334) 2019-10-31 21:56:02 -02:30
migrations Add a/b test for full screen transaction confirmations (#7162) 2019-09-24 17:08:38 -04:00
platforms Close window after opening fullscreen (#6966) 2019-08-08 11:50:32 -03:00
background.js Add hostname and extensionId to site metadata (#7218) 2019-10-29 13:14:41 -03:00
chromereload.js Fix console.error references 2016-08-29 17:32:39 -07:00
contentscript.js Remove reload from Share Address button (#6991) 2019-08-09 15:00:59 -02:30
createStandardProvider.js Refactor ProviderApprovalController to use rpc and publicConfigStore (#6410) 2019-05-03 13:32:05 -04:00
edge-encryptor.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
first-time-state.js controllers - network - move default config out of first-time-state 2018-05-02 18:03:59 -07:00
inpage.js Add web3 deprecation warning (#7334) 2019-10-31 21:56:02 -02:30
metamask-controller.js I#6704 eth_getTransactionByHash will now check metamask's local history for pending transactions (#7327) 2019-10-30 12:15:54 -10:00
phishing-detect.js Rename accountManager usages (#6790) 2019-07-10 16:31:48 -02:30
README.md add READMEs to folders, re #3427 2018-03-14 15:33:22 +02:00
ui.js Freeze Promise global on boot (#7309) 2019-10-24 06:54:32 -07:00

Main MetaMask Code

This folder contains the core-code.

Currently, it is organized mostly based on file category, like:

controllers, migrations, lib

Ongoing Task

Refactor code-structure, thus the subsystems are reflected on the filesystem.

Examples