-
Notifications
You must be signed in to change notification settings - Fork 5k
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
[MMI] adds segment events to Metametrics constants #19468
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. |
Codecov Report
@@ Coverage Diff @@
## develop #19468 +/- ##
===========================================
+ Coverage 69.47% 69.48% +0.01%
===========================================
Files 988 988
Lines 37313 37323 +10
Branches 9989 9990 +1
===========================================
+ Hits 25923 25933 +10
Misses 11390 11390
|
Builds ready [265faf0]
Page Load Metrics (1477 ± 37 ms)
Bundle size diffs
|
shared/constants/metametrics.ts
Outdated
UserClickedRefreshTokenLink = 'User clicked refresh token link', | ||
ShowDeeplinkForSignature = 'Show deeplink for signature', | ||
CustodianOnboarding = 'Custodian onboarding', | ||
InstitutionalFeatureConnection = 'Institutional feature connection', | ||
CustodianSelected = 'Custodian selected', | ||
ConnectCustodian = 'Connect to custodian', | ||
ConnectCustodianCancel = 'Connect to custodian cancel', | ||
ConnectCustodianError = 'Connect to custodian error', | ||
CustodialAccountsConnected = 'Custodial accounts connected', |
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.
Event names should all have title casing, and some of these don't make sense as actions. What does 'Custodian Onboarding' mean?. Has @worldlyjohn been asked to validate this schema?
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.
thanks @brad-decker . i have not, but here are the relevant links.
- these events must be defined in our MM-wide data schema. it's a new process that we just started implemented. MetaMask: Working with Analytics/Events (Slide Deck)
- Event Naming Conventions (Consensys Notion)
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.
Hey folks, thanks for the feedback, I'll update the event names to be Title Casing, they are the ones we have in use already, I'll also check the "Custodian Onboarding" one. My plan was to add/update them here in the extension and then add them in the Segment Schema repo.
Also I don't have access to the Event Naming Conventions (Consensys Notion) can you provide it to me?
Builds ready [442243c]
Page Load Metrics (1737 ± 57 ms)
Bundle size diffs
|
Builds ready [8d174af]
Page Load Metrics (1641 ± 66 ms)
Bundle size diffs
|
Hi @worldlyjohn can you give me write access to this repo: segment-schema |
hey @zone-live please request access via [email protected] |
Builds ready [f672619]
Page Load Metrics (1754 ± 76 ms)
Bundle size diffs
|
Hi @brad-decker I've updated this PR, with the work done in the segment-schema repo that has been approved by @worldlyjohn. |
Adds MMI segment events enums to the Metametrics constants file to be in line with what MetaMask already has.
Segment-schema repo changes:
https://github.com/Consensys/segment-schema/pull/70
Pre-merge author checklist
Pre-merge reviewer checklist
If further QA is required (e.g. new feature, complex testing steps, large refactor), add the
Extension QA Board
label.In this case, a QA Engineer approval will be be required.