1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/app
Daniel e7d7d24d83
Reduce calls of the /featureFlag API (#10859)
* Remove periodic calls to the /featureFlag API

* Always show the Swap button on the main page

* Check if the Swaps feature is enabled, show loading animation while waiting

* Reuse an existing useEffect call

* Use ‘isFeatureFlagLoaded’ in React’s state, resolve lint issues

* Add a watch mode for Jest testing

* Add unit tests for Swaps: fetchSwapsLiveness, add /ducks/swaps into Jest testing

* Remove Swaps Jest tests from Mocha’s ESLint rules

* Ignore Swaps Jest tests while running Mocha, update paths

* Increase test coverage to the current max

* Fix ESLint issues for Swaps

* Enable the Swaps feature by default and after state reset, remove loading screen before seeing Swaps

* Update Jest config, fix tests

* Update Jest coverage threshold to the current maximum

* Update ESLint rule in jest.config.js

* Disable the “Review Swap” button if the feature flag hasn’t loaded yet

* Update jest threshold
2021-04-14 04:46:27 -02:30
..
_locales Adding recovery phrase video to onboarding process (#10717) 2021-04-13 15:29:44 -07:00
fonts Add euclid fontface (#9018) 2020-07-27 17:15:44 -05:00
images Adding recovery phrase video to onboarding process (#10717) 2021-04-13 15:29:44 -07:00
manifest Merge remote-tracking branch 'origin/develop' into sync-master 2021-04-06 16:54:44 -02:30
scripts Reduce calls of the /featureFlag API (#10859) 2021-04-14 04:46:27 -02:30
vendor/trezor Update postMessage structure for TrezorConnect 8 (#10192) 2021-01-21 11:12:54 -06:00
background.html Build - refactor background process to use html (#10769) 2021-03-31 11:12:28 +08:00
home.html Rename lockdown.cjs to lockdown.js (#10026) 2020-12-09 12:19:17 -03:30
loading.html refactor & change html pages 2019-05-04 18:57:19 +02:00
notification.html Rename lockdown.cjs to lockdown.js (#10026) 2020-12-09 12:19:17 -03:30
phishing.html Rename lockdown.cjs to lockdown.js (#10026) 2020-12-09 12:19:17 -03:30
popup.html Rename lockdown.cjs to lockdown.js (#10026) 2020-12-09 12:19:17 -03:30
trezor-usb-permissions.html trezor v5 working on firefox 2018-08-05 02:43:02 -04:00