Skip to content
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

fix: (cherry-pick Version v11.17.0) Signature Redesign "ui_customizations" metric (#24484) #24526

Conversation

digiwand
Copy link
Contributor

Description

Cherry-pick 26d38d9(#24484) into v11.17.0

Related issues

Fixes: #24483

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

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.

<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/24484?quickstart=1)

## **Related issues**

Fixes: #24483

## **Manual testing steps**

1. set `ENABLE_CONFIRMATION_REDESIGN=true` in .metamaskrc
2. enable Experimental > Redesign Confirmation in settings
3. enable Participate in MetaMetrics in settings
4. test signatures
5. observe Signature <Rejected|Canceled|Approved> event with new
ui_customization

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **Pre-merge author checklist**

- [ ] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [ ] 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](https://jsdoc.app/) format
if applicable
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
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.
@digiwand digiwand added the team-confirmations Push issues to confirmations team label May 14, 2024
@digiwand digiwand requested a review from a team as a code owner May 14, 2024 17:30
Copy link
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.

@digiwand digiwand changed the title fix: signature redesign ui_customizations metric (#24484) cherrypick: Fix Signature Redesign "ui_customizations" metric (#24484) May 14, 2024
@digiwand digiwand changed the title cherrypick: Fix Signature Redesign "ui_customizations" metric (#24484) fix: (cherry-pick Version v11.17.0) Signature Redesign "ui_customizations" metric (#24484) May 14, 2024
@metamaskbot
Copy link
Collaborator

Builds ready [2420dbe]
Page Load Metrics (844 ± 570 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint6812187157
domContentLoaded95016115
load5628448441187570
domInteractive95016115
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 438 Bytes (0.01%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Copy link

codecov bot commented May 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.49%. Comparing base (ad346f4) to head (2420dbe).

Additional details and impacted files
@@                 Coverage Diff                  @@
##           Version-v11.17.0   #24526      +/-   ##
====================================================
+ Coverage             67.48%   67.49%   +0.01%     
====================================================
  Files                  1288     1288              
  Lines                 50153    50150       -3     
  Branches              13023    13018       -5     
====================================================
+ Hits                  33842    33845       +3     
+ Misses                16311    16305       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@digiwand digiwand added the release-11.17.0 Issue or pull request that will be included in release 11.17.0 label May 15, 2024
@danjm danjm merged commit 8024546 into Version-v11.17.0 May 20, 2024
77 checks passed
@danjm danjm deleted the Version-v11.17.0-cherry-pick-fix-signature-redesign-ui-customization-valid-types branch May 20, 2024 13:45
@github-actions github-actions bot locked and limited conversation to collaborators May 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-11.17.0 Issue or pull request that will be included in release 11.17.0 team-confirmations Push issues to confirmations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants