1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/ui
Elliot Winkler 7b963cabd7
Alert users when the network is busy (#12268)
When a lot of transactions are occurring on the network, such as during
an NFT drop, it drives gas fees up. When this happens, we want to not
only inform the user about this, but also dissuade them from using a
higher gas fee (as we have proved in testing that high gas fees can
cause bidding wars and exacerbate the situation).

The method for determining whether the network is "busy" is already
handled by GasFeeController, which exposes a `networkCongestion`
property within the gas fee estimate data. If this number exceeds 0.66 —
meaning that the current base fee is above the 66th percentile among the
base fees over the last several days — then we determine that the
network is "busy".
2022-01-07 12:18:02 -07:00
..
__mocks__ Increase Jest unit test coverage for the Swaps feature to ~60% (#11343) 2021-07-02 08:48:34 -05:00
components Alert users when the network is busy (#12268) 2022-01-07 12:18:02 -07:00
contexts Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
css Dark Mode Part 1: Switch to Using CSS Variables (#13147) 2022-01-06 11:35:49 -06:00
ducks Alert users when the network is busy (#12268) 2022-01-07 12:18:02 -07:00
helpers Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
hooks Alert users when the network is busy (#12268) 2022-01-07 12:18:02 -07:00
pages Alert users when the network is busy (#12268) 2022-01-07 12:18:02 -07:00
selectors Alert users when the network is busy (#12268) 2022-01-07 12:18:02 -07:00
store Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
1.INTRODUCTION.stories.mdx Docs/12367 Adding storybook essentials addons (#12393) 2021-10-29 07:22:07 -10:00
2.DOCUMENTATION.stories.mdx Updating storybook documentation guidelines (#12957) 2021-12-07 10:24:06 -08:00
index.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00