-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Adding a new controller for Metametrics Data Deletion #24503
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Builds ready [614ccfd]
Page Load Metrics (880 ± 596 ms)
Bundle size diffs
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #24503 +/- ##
===========================================
+ Coverage 69.96% 70.00% +0.04%
===========================================
Files 1441 1443 +2
Lines 50102 50194 +92
Branches 14012 14040 +28
===========================================
+ Hits 35049 35134 +85
- Misses 15053 15060 +7 ☔ View full report in Codecov by Sentry. |
Builds ready [d1cdd73]
Page Load Metrics (786 ± 599 ms)
Bundle size diffs
|
app/scripts/controllers/metametrics-data-deletion/metametrics-data-deletion.ts
Outdated
Show resolved
Hide resolved
app/scripts/controllers/metametrics-data-deletion/metametrics-data-deletion.ts
Outdated
Show resolved
Hide resolved
app/scripts/controllers/metametrics-data-deletion/metametrics-data-deletion.ts
Outdated
Show resolved
Hide resolved
app/scripts/controllers/metametrics-data-deletion/metametrics-data-deletion.ts
Outdated
Show resolved
Hide resolved
app/scripts/controllers/metametrics-data-deletion/metametrics-data-deletion.ts
Outdated
Show resolved
Hide resolved
app/scripts/controllers/metametrics-data-deletion/metametrics-data-deletion.ts
Outdated
Show resolved
Hide resolved
app/scripts/controllers/metametrics-data-deletion/services/services.ts
Outdated
Show resolved
Hide resolved
app/scripts/controllers/metametrics-data-deletion/services/services.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First review complete. I have left some comments
app/scripts/controllers/metametrics-data-deletion/metametrics-data-deletion.ts
Outdated
Show resolved
Hide resolved
app/scripts/controllers/metametrics-data-deletion/metametrics-data-deletion.ts
Outdated
Show resolved
Hide resolved
app/scripts/controllers/metametrics-data-deletion/metametrics-data-deletion.ts
Outdated
Show resolved
Hide resolved
app/scripts/controllers/metametrics-data-deletion/metametrics-data-deletion.ts
Outdated
Show resolved
Hide resolved
… while creating delete regulation
8b7326e
to
886abe4
Compare
Quality Gate passedIssues Measures |
Builds ready [886abe4]
Page Load Metrics (1971 ± 113 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
We are adding a new controller,
MetaMetricsDataDeletionController,
and a service class for MetaMetrics data deletion. The service class will have the API interaction for the data deletion, which will create the data deletion regulation and check the status of an existing relation. The controller handles the state update and service class interactions.The PR also initiates the controller by updating the metamask-controller and updating actions.ts with the new functions.
Related issues
Fixes:
fixes #24405
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist