1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00
metamask-extension/ui/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
..
components Reduce calls of the /featureFlag API (#10859) 2021-04-14 04:46:27 -02:30
contexts @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
css Remove react-select and SimpleDropdown, use Dropdown (#10468) 2021-02-19 13:03:44 -06:00
ducks Reduce calls of the /featureFlag API (#10859) 2021-04-14 04:46:27 -02:30
helpers Adding recovery phrase video to onboarding process (#10717) 2021-04-13 15:29:44 -07:00
hooks Change 'Send ETH' title to 'Send' (#10651) 2021-03-19 14:42:11 -02:30
pages Reduce calls of the /featureFlag API (#10859) 2021-04-14 04:46:27 -02:30
selectors @metamask/eslint-config*@6.0.0 (#10858) 2021-04-08 14:34:55 -07:00
store Fix 10517 - Prevent tokens without addresses from being added to token list (#10593) 2021-03-29 16:05:36 -05:00