-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: add tracking for receive action #11695
base: main
Are you sure you want to change the base?
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. |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@metamask/smart-transactions-controller@13.0.0 |
Bitrise✅✅✅ Commit hash: 5ddd60d Note
|
Quality Gate passedIssues Measures |
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.
There's nothing interesting going on here supply-chain wise.
I'm surprised seeing arbitrary human readable strings assigned to a field called origin, but I'm likely missing context here.
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.
LGTM
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.
LGTM
@@ -181,7 +181,7 @@ | |||
"@metamask/selected-network-controller": "^15.0.2", | |||
"@metamask/signature-controller": "^19.1.0", | |||
"@metamask/slip44": "3.1.0", | |||
"@metamask/smart-transactions-controller": "^13.0.0", | |||
"@metamask/smart-transactions-controller": "^13.2.0", |
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.
can you explain pls why this upgrade is needed ?
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.
We need to import the new definitions from MetaMetricsEventCategory
and MetaMetricsEventName
, which are available on 13.2.0
@@ -119,6 +119,7 @@ const AssetOverview: React.FC<AssetOverviewProps> = ({ | |||
navigation.navigate(Routes.QR_TAB_SWITCHER, { | |||
initialScreen: QRTabSwitcherScreens.Receive, | |||
disableTabber: true, | |||
origin: 'Token details', |
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.
Nit: origin is sometimes defined as part of AppConstants; definitely not a blocker
Description
This PR adds metrics tracking to the interactions with the "Receive" and "Request" features.
Related issues
Fixes: https://github.com/MetaMask/MetaMask-planning/issues/3260
Manual testing steps
Click on top QR for scanner, onReceive being ran should trigger a trackingEvent
Same thing for action button on lower menu
Same thing for asset in asset list
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist