1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 20:02:58 +01:00
metamask-extension/app/scripts
Pedro Figueiredo e5ad6ef2b7 feat: Add more state props from controllers to Sentry mask (#20595)
* feat: update sentry mask adding  controller props to improve error monitoring

* fix:remove changes in chrome-driver dependency

* Remove properties from mask

* Add more values to mask

* Sort the mask alphabetically

* Add termsOfUseLastAgreed to mask

* Fix test imports

* Update policy gap test to compare UI mask

* Reorganize tests under one describe block

* Update snapshots

* Mask another timestamp in state snapshots

* Mask browser environment properties

* Add missing UI field mask, and refactor field masking/removal

* Eliminate remaining policy gaps

* Simplify ganache options

* Eliminate extra mask properties

* Update mask to capture dynamic keys

The mask now supports dynamic keys. This lets set more fine-grained rules
for which data to include within dynamic data structures.

The mask has been updated to include just top-level keys for various
token-related data collections in state. This lets us see the chain IDs
that users have tokens on. This will be useful in debugging Sentry
reports of invalid keys in these data structures.

* Add additional 'expected missing state' entries

* Remove unnecessary properties from state snapshot

* Add providerConfig.chainId to state snapshot

* Update error state snapshots

---------

Co-authored-by: Danica Shen <zhaodanica@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-08-30 16:21:06 -02:30
..
account-import-strategies
constants
controllers Add whats new popup for changes to advanced gas fee (#20632) 2023-08-30 16:21:06 -02:30
lib feat: Add more state props from controllers to Sentry mask (#20595) 2023-08-30 16:21:06 -02:30
migrations fix: Remove obsolete network controller state properties (#20586) 2023-08-30 16:21:06 -02:30
platforms Support translation in background code (#19650) 2023-06-20 13:44:11 +01:00
app-init.js fix: skip snow usage for MV3 test build (#19827) 2023-06-30 13:22:07 +01:00
background.js fix: Remove obsolete network controller state properties (#20586) 2023-08-30 16:21:06 -02:30
contentscript.js solves 1114 (#20307) 2023-08-16 15:20:24 -02:30
detect-multiple-instances.js
detect-multiple-instances.test.js
disable-console.js Disable warn logs in content-script (#19754) 2023-06-26 14:00:38 +03:00
first-time-state.js
init-globals.js
inpage.js
lockdown-more.js Bump SES to fix audit failure (#20434) 2023-08-16 22:51:49 -02:30
lockdown-run.js update ses@0.18.4 (#17521) 2023-04-27 21:31:52 +09:00
metamask-controller.actions.test.js Update @metamask/phishing-controller to v4.0.0 (#18840) 2023-07-31 17:55:48 -02:30
metamask-controller.js Fix infinite rerender on network change while active signature request (#20473) 2023-08-30 16:21:06 -02:30
metamask-controller.test.js Remove fallback phishing warning configuration (#20327) 2023-08-01 00:17:07 -02:30
mmi-keyring-builder-factory.js [MMI] adds mmi code fences to mm controller (#18279) 2023-05-29 16:38:28 +01:00
sentry-install.js
translate.test.ts Support translation in background code (#19650) 2023-06-20 13:44:11 +01:00
translate.ts Support translation in background code (#19650) 2023-06-20 13:44:11 +01:00
ui.js Fix pre-initialization UI error state capture (#20529) 2023-08-18 16:35:03 -02:30
use-snow.js fix: skip snow usage for MV3 test build (#19827) 2023-06-30 13:22:07 +01:00