1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 11:28:51 +01:00
metamask-extension/ui/helpers/utils
Victor Thomas 2ff289e271
Add Opt-out Settings toggle for 4byte contract method names resolution (#20098)
* Adding 4byte toggle to settings UI and preferences

* Adding 4byte toggle to advanced settings tab

* adding use4ByteResolution privacy logic to getContractMethodData & getMethodDataAsync, removing unused useMethodData hook, adding clearKnownMethodData

* add 4byte setting to onboarding advanced option

* more test changes

* adding e2e for 4byte setting toggle

* test and copy changes, snap updates

* removing 4byte from advanced section

* adding settings constant and fixing refs

* removing clearKnownMethodData, adding flag to selector, test fixes

* e2e refactor, selectors refactor

* adding tests

* Fix jest tests, remove unwanted forceUpdateMetamaskState

* Fix jest tests

* lint:fix

* settingsRefs fixes

---------

Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2023-08-04 13:28:37 -04:00
..
__snapshots__ Support translation in background code (#19650) 2023-06-20 13:44:11 +01:00
optimism Upgrade assets-controllers to v9 (#19472) 2023-06-09 15:48:48 -05:00
accounts.js Updating Text and import paths (#19949) 2023-07-14 10:59:30 -07:00
accounts.test.js Fix #19608 - Make account name validation more strict (#19616) 2023-06-22 09:07:56 -05:00
build-types.js feat: add yaml feature management (#18125) 2023-04-25 16:32:51 +02: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 feat: Refactor Transaction Confirmation selector (#18796) 2023-05-11 07:56:17 +02:00
export-utils.js Add improved downloading logic when exporting state logs (#19872) 2023-07-27 13:33:36 -04:00
export-utils.test.js Add improved downloading logic when exporting state logs (#19872) 2023-07-27 13:33:36 -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 Support translation in background code (#19650) 2023-06-20 13:44:11 +01:00
i18n-helper.tsx Support translation in background code (#19650) 2023-06-20 13:44:11 +01: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
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 UX: Multichain: Analytics (#18674) 2023-04-27 09:28:08 -05:00
nfts.js NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
nfts.test.js NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
permission.js [FLASK] Bump Snaps packages (#20230) 2023-07-28 11:52:32 +02:00
portfolio.js UX: Multichain: Analytics (#18674) 2023-04-27 09:28:08 -05:00
settings-search.js Add snaps view search (#14419) 2022-04-19 11:08:09 -04:00
settings-search.test.js Add Opt-out Settings toggle for 4byte contract method names resolution (#20098) 2023-08-04 13:28:37 -04:00
token-util.js fix(18574): fix new BigNumber() not a number: undefined for setApprovalForAll method (#18660) 2023-04-19 19:20:18 +02:00
transactions.util.js Add Opt-out Settings toggle for 4byte contract method names resolution (#20098) 2023-08-04 13:28:37 -04:00
transactions.util.test.js Add Opt-out Settings toggle for 4byte contract method names resolution (#20098) 2023-08-04 13:28:37 -04:00
tx-helper.test.js Clean ConfirmTransaction page related code (#19208) 2023-06-01 16:10:26 +02:00
tx-helper.ts Clean ConfirmTransaction page related code (#19208) 2023-06-01 16:10:26 +02:00
util.js [FLASK] Add Snaps Keyring (#19710) 2023-06-29 09:24:08 -04:00
util.test.js Cleanup PR: Renaming getNetworkName and moving that to utils file (#19160) 2023-05-18 09:53:11 -04:00
webcam-utils.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
window.ts window open noopener (#17882) 2023-02-24 15:27:38 +00:00