1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00
metamask-extension/ui/app/pages
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
..
add-token Fix 10562 - Hide the suggested token pane when not on Mainnet or test network (#10702) 2021-03-25 14:25:22 -05:00
asset Position the 3dot menu in the same spot on asset screen and home screen (#10642) 2021-03-15 09:56:26 -05:00
confirm-add-suggested-token @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
confirm-add-token @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
confirm-approve rule out empty string for symbol (#10712) 2021-03-24 17:04:15 -05:00
confirm-decrypt-message Add Custom Network UI (#10310) 2021-02-22 10:20:42 -06:00
confirm-deploy-contract @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
confirm-encryption-public-key Add Custom Network UI (#10310) 2021-02-22 10:20:42 -06:00
confirm-send-ether @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
confirm-send-token @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
confirm-token-transaction-base @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
confirm-transaction remove transactionCategory in favor of more types (#10615) 2021-03-10 14:16:44 -06:00
confirm-transaction-base colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
confirm-transaction-switch remove transactionCategory in favor of more types (#10615) 2021-03-10 14:16:44 -06:00
confirmation resolve issue with missing template error (#10692) 2021-03-23 16:12:32 -05:00
connected-accounts @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
connected-sites @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
create-account Add MetaMask to list of BIP44 HD path examples (#10703) 2021-03-24 12:45:28 -02:30
error Updating references to MetaMask support (#10563) 2021-03-03 10:15:24 -07:00
first-time-flow Adding recovery phrase video to onboarding process (#10717) 2021-04-13 15:29:44 -07:00
home resolve issue with missing template error (#10692) 2021-03-23 16:12:32 -05:00
keychains Removing hard references to 12 word seed phrases in copy (#10704) 2021-03-24 10:55:03 -07:00
lock colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
mobile-sync @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
permissions-connect @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
routes prefer chainId over networkId in most cases (#10594) 2021-03-12 16:23:26 -06:00
send @metamask/eslint-config*@6.0.0 (#10858) 2021-04-08 14:34:55 -07:00
settings Adding default properties to NetworkForm (#10682) 2021-03-22 09:57:34 -07:00
swaps Reduce calls of the /featureFlag API (#10859) 2021-04-14 04:46:27 -02:30
unlock-page colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
index.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
pages.scss Add Custom Network UI (#10310) 2021-02-22 10:20:42 -06:00