1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/ui/helpers/utils
vthomas13 532a10f9f5
Adding browser outdated notification (#17027)
* Adding browser outdated notification

* updating dependency

* adding unit tests for util function

* adding unit tests for selectors, lintfix

* Added Tests, refactored notification delay logic

* lint:fix

* adding test coverage for method parameter

* Update app/scripts/controllers/app-state.js

adding documentation details

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* moving declaration into test

* Update app/scripts/controllers/app-state.test.js

spacing in test file

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* Update jest.config.js

removing duplicate entries

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* using async submitRequestToBackground method

* removing unused import

* removing unnecessary link syntax in notification

* adding opera and edge and associated tests

* handling the undefined case in bowser.satisfies

* setOutdatedBrowserWarningLastShown try/catch

* lint:fix

* Removing try/catch and letting errors bubble up

Removing deprecated displayWarning method

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* taking out forceMetamaskUpdateState call

* excludint app-state test from mocha test suite

* Added note: Jest files should match Mocha excluded

* syntax error, lint:fix

---------

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-02-02 13:56:41 -05:00
..
__snapshots__ Final conversion of tests from enzyme to @testing-library/react (#16862) 2023-01-17 07:51:35 -08:00
optimism Update quote selection for Optimism (#16998) 2022-12-21 20:59:34 +01:00
accounts.js Prevent account name collisions (#16752) 2022-12-22 11:27:31 -06:00
build-types.js BETA - Update logo imagery (#16304) 2022-11-09 10:58:47 -06:00
collectibles.js Add alt text for NFT images (#17284) 2023-01-25 08:08:35 -06:00
collectibles.test.js Add alt text for NFT images (#17284) 2023-01-25 08:08:35 -06:00
common.util.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
common.util.test.js Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
confirm-tx.util.test.js Replace usages of conversion util in rest of UI folder in favor of Numeric (#17334) 2023-01-24 08:44:49 -06:00
confirm-tx.util.ts Convert confirm-tx.utils.js to typescript (#17349) 2023-02-02 12:35:05 -06:00
export-utils.js Fix 3box replacement for MV3 (#15851) 2022-09-29 07:34:20 +04:00
formatters.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
gas.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
gas.test.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
hardware.js Create function for hardware keyring checking (#12457) 2021-10-27 18:54:18 -05:00
i18n-helper.test.js feat(mme-17214): migrate L33 files to typescript (#17372) 2023-01-31 12:01:10 +00:00
i18n-helper.tsx feat(mme-17214): migrate L33 files to typescript (#17372) 2023-01-31 12:01:10 +00:00
icon-factory.js Token detection V2 Flag Removal and Re-introducing the use of legacy token list when token detection is OFF (#15138) 2022-08-09 22:56:25 -02:30
ipfs.js Privacy - Show default selected network after a custom network has been added during onboarding (#16789) 2022-12-08 10:42:23 -06:00
is-mobile-view.js Update media query instances (#15068) 2022-08-04 09:03:02 -05:00
metric.test.js Adding the AdvancedGasFeePopover template (#12780) 2021-11-23 23:16:33 +05:30
metrics.js Adding the AdvancedGasFeePopover template (#12780) 2021-11-23 23:16:33 +05:30
moonpay.test.js Ability to buy tokens with Moonpay (#15924) 2022-09-23 09:38:40 -07:00
moonpay.ts feat(mme-17214): migrate L33 files to typescript (#17372) 2023-01-31 12:01:10 +00:00
permission.js [FLASK] Add snap alerts and prompts via snap_dialog RPC method (#16048) 2022-12-01 16:46:06 +01:00
settings-search.js Add snaps view search (#14419) 2022-04-19 11:08:09 -04:00
settings-search.test.js Enable the Token Allowance flow by default for all users (#16740) 2023-01-23 21:49:55 +05:30
token-util.js Replace usages of conversion util in rest of UI folder in favor of Numeric (#17334) 2023-01-24 08:44:49 -06:00
transactions.util.js Relocate conversion utils to shared/modules/conversion.utils.js (#17319) 2023-01-20 11:04:37 -06:00
transactions.util.test.js Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
tx-helper.test.js feat(mme-17214): migrate L33 files to typescript (#17372) 2023-01-31 12:01:10 +00:00
tx-helper.ts feat(mme-17214): migrate L33 files to typescript (#17372) 2023-01-31 12:01:10 +00:00
util.js Adding browser outdated notification (#17027) 2023-02-02 13:56:41 -05:00
util.test.js Adding browser outdated notification (#17027) 2023-02-02 13:56:41 -05:00
webcam-utils.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00