1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 12:56:01 +01:00
metamask-extension/app/scripts
Mark Stacey 2ceac1f27f Add warning about reload on network change
We are soon removing the automatic refresh on network change behavior.
A warning has been added to ensure sites know about this upcoming
change.

Any site that calls `.enable` is advised to use a
`networkChanged` event handler to reload manually if they rely upon
that behavior. They are also advised to set the flag
`autoRefreshOnNetworkChange` to `false` to opt-out of the reload
behavior early.

This warning might be irritating for certain sites, as they might be
indifferent to whether or not the site reloads, and not eager to set a
flag to opt-in early just to silence the warning. However there was no
other obvious way to warning the right people about this change, as
any warning prior to an actual reload would only be seen by the few
people that set their browser console to preserve logs.

Relates to #3599
2019-08-21 14:14:35 -03:00
..
account-import-strategies
controllers Fetch & display received transactions (#6996) 2019-08-16 16:24:10 -02:30
lib Close window after opening fullscreen (#6966) 2019-08-08 11:50:32 -03:00
migrations Connections settings tab (#7013) 2019-08-15 18:37:18 -02:30
platforms Close window after opening fullscreen (#6966) 2019-08-08 11:50:32 -03:00
background.js Connections settings tab (#7013) 2019-08-15 18:37:18 -02:30
chromereload.js
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
inpage.js Add warning about reload on network change 2019-08-21 14:14:35 -03:00
metamask-controller.js Fetch & display received transactions (#6996) 2019-08-16 16:24:10 -02:30
phishing-detect.js Rename accountManager usages (#6790) 2019-07-10 16:31:48 -02:30
README.md
ui.js Restrict unconnected notice to specific protocols (#6954) 2019-08-02 16:29:28 -02:30

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