Skip to content

feat: New onboarding text#24050

Merged
jonybur merged 19 commits intodevelopfrom
fix-2336
May 16, 2024
Merged

feat: New onboarding text#24050
jonybur merged 19 commits intodevelopfrom
fix-2336

Conversation

@jonybur
Copy link
Copy Markdown
Contributor

@jonybur jonybur commented Apr 16, 2024

Description

Updates the "Help us improve MetaMask" copy during onboarding.

Open in GitHub Codespaces

Related issues

Fixes: https://github.com/MetaMask/MetaMask-planning/issues/2336

Manual testing steps

  1. Start onboarding
  2. Check that the copy in the 'Help us improve MetaMask' screen matches the new copy.
  3. Test the Privacy Policy link

Screenshots/Recordings

Before

Screenshot 2024-04-16 at 12 25 09

After

Screenshot 2024-05-05 at 01 52 00

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've completed the PR template to the best of my ability
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@github-actions
Copy link
Copy Markdown
Contributor

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.

@jonybur jonybur added team-core-extension-ux Core Extension UX team needs-assets-ux-review A shared label between the Assets and UX team to flag PRs ready for consolidated team review. labels Apr 18, 2024
@jonybur jonybur marked this pull request as ready for review May 5, 2024 00:55
@jonybur jonybur requested a review from a team as a code owner May 5, 2024 00:55
@jonybur jonybur marked this pull request as draft May 5, 2024 01:08
@jonybur jonybur marked this pull request as ready for review May 5, 2024 01:58
@jonybur jonybur marked this pull request as draft May 5, 2024 02:03
@jonybur jonybur marked this pull request as ready for review May 5, 2024 02:03
@jonybur jonybur requested a review from salimtb May 9, 2024 10:42

return currentDate >= newPrivacyPolicyDate
? renderOnboarding()
: renderLegacyOnboarding();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we plan to remove this after the 4th of June?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Date is to be set, but yes at some point we need to revert the PR cc @jonybur

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: perhaps we can add a // TODO: comment to remember about this

Copy link
Copy Markdown
Contributor

@darkwing darkwing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming jest gets fixed, this looks good!

@mikesposito
Copy link
Copy Markdown
Member

Except for test-unit-jest-main (which should become green after the above-suggested changes), other failures seem unrelated to this PR

Jony Bursztyn and others added 2 commits May 10, 2024 12:37
Co-authored-by: Michele Esposito <34438276+mikesposito@users.noreply.github.com>
Co-authored-by: Michele Esposito <34438276+mikesposito@users.noreply.github.com>
mikesposito
mikesposito previously approved these changes May 10, 2024
Copy link
Copy Markdown
Member

@mikesposito mikesposito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A small nit left, but this looks good!

);
};

return currentDate >= newPrivacyPolicyDate
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Suggested change
return currentDate >= newPrivacyPolicyDate
// TODO: The legacy onboarding can be completely removed after 2024-06-04
return currentDate >= newPrivacyPolicyDate

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will probably reuse this in the future, once the privacy policy gets updated once again

vthomas13
vthomas13 previously approved these changes May 10, 2024
@codecov
Copy link
Copy Markdown

codecov bot commented May 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.43%. Comparing base (d27a233) to head (941467f).
Report is 59 commits behind head on develop.

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.
📢 Have feedback on the report? Share it here.

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [a7cb32d]
Page Load Metrics (452 ± 441 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint66168872612
domContentLoaded95116126
load542765452918441
domInteractive95116126
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 0 Bytes (0.00%)
  • ui: 3.18 KiB (0.05%)
  • common: 1.51 KiB (0.02%)

@jonybur jonybur dismissed stale reviews from vthomas13 and mikesposito via 941467f May 14, 2024 14:40
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [adcdba8]
Page Load Metrics (1544 ± 787 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint732021174421
domContentLoaded10441784
load59387915441639787
domInteractive10441784
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 0 Bytes (0.00%)
  • ui: 2.81 KiB (0.04%)
  • common: 1.51 KiB (0.02%)

@jonybur jonybur requested a review from mikesposito May 16, 2024 08:04
@jonybur jonybur merged commit 6be0bad into develop May 16, 2024
@jonybur jonybur deleted the fix-2336 branch May 16, 2024 18:55
@github-actions github-actions bot locked and limited conversation to collaborators May 16, 2024
@gauthierpetetin gauthierpetetin added the release-12.0.0 Issue or pull request that will be included in release 12.0.0 label Jun 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-privacy needs-assets-ux-review A shared label between the Assets and UX team to flag PRs ready for consolidated team review. release-12.0.0 Issue or pull request that will be included in release 12.0.0 team-core-extension-ux Core Extension UX team

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

9 participants