1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-24 20:32:02 +02:00
metamask-extension/ui/app/ducks
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
..
alerts @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
app colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
confirm-transaction add chainId to all new transaction metadata (#10528) 2021-03-01 09:15:42 -06:00
gas Fix #10081 - Use fetchWithCache to retrieve and store basic gas estimates (#10384) 2021-03-09 13:49:27 -06:00
history @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
locale @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
metamask fix: remove unused metamask.rpcUrl from redux state + fix tests to reflect that (#10714) 2021-03-24 15:54:24 -07:00
send @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
swaps Reduce calls of the /featureFlag API (#10859) 2021-04-14 04:46:27 -02:30
index.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00