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. |
|
|
||
| return currentDate >= newPrivacyPolicyDate | ||
| ? renderOnboarding() | ||
| : renderLegacyOnboarding(); |
There was a problem hiding this comment.
Do we plan to remove this after the 4th of June?
There was a problem hiding this comment.
Date is to be set, but yes at some point we need to revert the PR cc @jonybur
There was a problem hiding this comment.
Nit: perhaps we can add a // TODO: comment to remember about this
darkwing
left a comment
There was a problem hiding this comment.
Assuming jest gets fixed, this looks good!
|
Except for |
Co-authored-by: Michele Esposito <34438276+mikesposito@users.noreply.github.com>
Co-authored-by: Michele Esposito <34438276+mikesposito@users.noreply.github.com>
mikesposito
left a comment
There was a problem hiding this comment.
A small nit left, but this looks good!
| ); | ||
| }; | ||
|
|
||
| return currentDate >= newPrivacyPolicyDate |
There was a problem hiding this comment.
Nit: can we add a TODO so that we don't forget about the possibility of removing this and making it simple again in the future?
| return currentDate >= newPrivacyPolicyDate | |
| // TODO: The legacy onboarding can be completely removed after 2024-06-04 | |
| return currentDate >= newPrivacyPolicyDate |
There was a problem hiding this comment.
We will probably reuse this in the future, once the privacy policy gets updated once again
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #24050 +/- ##
===========================================
+ Coverage 67.37% 67.43% +0.06%
===========================================
Files 1278 1289 +11
Lines 49881 50249 +368
Branches 12944 13027 +83
===========================================
+ Hits 33605 33883 +278
- Misses 16276 16366 +90 ☔ View full report in Codecov by Sentry. |
Builds ready [a7cb32d]
Page Load Metrics (452 ± 441 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [adcdba8]
Page Load Metrics (1544 ± 787 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
Updates the "Help us improve MetaMask" copy during onboarding.
Related issues
Fixes: https://github.com/MetaMask/MetaMask-planning/issues/2336
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist