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

feat(multi-srp): add number_of_hd_entropies metrics user trait #30392

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

PatrykLucka
Copy link
Contributor

@PatrykLucka PatrykLucka commented Feb 18, 2025

Description

Adds number_of_hd_entropies to metametrics user traits.

Related issues

Manual testing steps

Screenshots/Recordings

Before

After

Pre-merge author checklist

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.

@PatrykLucka PatrykLucka self-assigned this Feb 18, 2025
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.

@metamaskbot metamaskbot added the team-mmi PRs from the MMI team label Feb 18, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [1269ed7]
Page Load Metrics (1738 ± 70 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint15542095173414067
domContentLoaded15342085170013967
load15552151173814670
domInteractive21102452612
backgroundConnect1077372211
firstReactRender1776382412
getState66218188
initialActions01000
loadScripts10971558123811756
setupStore882182010
uiStartup18012408202116881
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 360 Bytes (0.01%)
  • ui: 0 Bytes (0.00%)
  • common: 37 Bytes (0.00%)

@PatrykLucka PatrykLucka force-pushed the MMMULTISRP-41-add-number-of-hd-srps-to-segment-events branch from 82fdb5a to fad21cd Compare February 19, 2025 12:51
@github-actions github-actions bot locked and limited conversation to collaborators Feb 19, 2025
@PatrykLucka PatrykLucka reopened this Feb 19, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [fe06ffe]
Page Load Metrics (1750 ± 118 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint40123441678374180
domContentLoaded146123281724244117
load147024011750246118
domInteractive23121442713
backgroundConnect876312211
firstReactRender14100292613
getState579292411
initialActions01000
loadScripts10041793123220397
setupStore85815157
uiStartup171926642013298143
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 370 Bytes (0.01%)
  • ui: 0 Bytes (0.00%)
  • common: 47 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [fe06ffe]
Page Load Metrics (1750 ± 118 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint40123441678374180
domContentLoaded146123281724244117
load147024011750246118
domInteractive23121442713
backgroundConnect876312211
firstReactRender14100292613
getState579292411
initialActions01000
loadScripts10041793123220397
setupStore85815157
uiStartup171926642013298143
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 370 Bytes (0.01%)
  • ui: 0 Bytes (0.00%)
  • common: 47 Bytes (0.00%)

@PatrykLucka PatrykLucka force-pushed the MMMULTISRP-41-add-number-of-hd-srps-to-segment-events branch from fe06ffe to 86e4ab4 Compare February 19, 2025 15:17
@metamaskbot
Copy link
Collaborator

Builds ready [86e4ab4]
Page Load Metrics (1600 ± 44 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1466176215918742
domContentLoaded1456174115668742
load1468180716009144
domInteractive22121463115
backgroundConnect10160373718
firstReactRender1495412713
getState55213147
initialActions01000
loadScripts1022129311269244
setupStore77017199
uiStartup16832265183013163
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 370 Bytes (0.01%)
  • ui: 0 Bytes (0.00%)
  • common: 47 Bytes (0.00%)

@PatrykLucka PatrykLucka marked this pull request as ready for review February 20, 2025 09:34
@PatrykLucka PatrykLucka changed the title feat(multi-srp): add number_of_hd_srps metrics user trait feat(multi-srp): add number_of_hd_entropies metrics user trait Feb 20, 2025
@@ -175,6 +176,7 @@ export type MetaMaskState = {
};
};
///: END:ONLY_INCLUDE_IF
keyrings: { type: string; accounts: string[] }[];
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the accounts property used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not in this PR, but accounts are there, we're just adding something that was passed in the state anyway, but was not added to the type.

@@ -175,6 +176,7 @@ export type MetaMaskState = {
};
};
///: END:ONLY_INCLUDE_IF
keyrings: { type: string; accounts: string[] }[];
Copy link
Contributor

Choose a reason for hiding this comment

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

Can keyring.type by typed (KeyringType) or is there a reason to use a string here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's just for consistency. It is defined as string in the KeyringController and ui store (TemporaryBackgroundState).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
team-mmi PRs from the MMI team
Projects
Status: Needs dev review
Development

Successfully merging this pull request may close these issues.

3 participants