-
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
Adding metrics events for EIP-1559 V2 flow #13329
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. |
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.
Left some comments!
...onents/app/advanced-gas-fee-popover/advanced-gas-fee-gas-limit/advanced-gas-fee-gas-limit.js
Outdated
Show resolved
Hide resolved
...mponents/app/advanced-gas-fee-popover/advanced-gas-fee-defaults/advanced-gas-fee-defaults.js
Outdated
Show resolved
Hide resolved
ui/components/app/advanced-gas-fee-popover/advanced-gas-fee-save/advanced-gas-fee-save.js
Outdated
Show resolved
Hide resolved
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.
The event signaturess in this PR are the old metrics format, not the new...furthermore we need the fragment system in place to report the metrics in the way that product wants to use then..hold until event fragments for transactions are available
Builds ready [b837ef1]Page Load Metrics (1190 ± 38 ms)
highlights:storybook
|
954dd8e
to
0116132
Compare
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.
Added some additional direction. Feel free to push back on these -- this is just the design implementation I had envisioned when doing the proceeding work.
… EIP_1559_V2_capturing_gas_defaults
… EIP_1559_V2_capturing_gas_defaults
… EIP_1559_V2_capturing_gas_defaults
5c1a43d
to
2bbcd62
Compare
Builds ready [2bbcd62]Page Load Metrics (1233 ± 104 ms)
highlights:storybook
|
Builds ready [e8d554a]Page Load Metrics (1336 ± 98 ms)
highlights:storybook
|
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.
This all looks good, just some typos I noticed.
@@ -26,6 +28,11 @@ const AdvancedGasFeeSaveButton = () => { | |||
maxPriorityFeePerGas: decGWEIToHexWEI(maxPriorityFeePerGas), | |||
gasLimit, | |||
}); | |||
updateTransactionEventFragment({ | |||
properties: { | |||
gas_edit_type: 'advance', |
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.
advanced
?
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.
my bad, Just fixed
openModal('editGasFee'); | ||
}; | ||
|
||
const openAdvanceGasFeeModal = () => { |
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.
Advance -> Advanced
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.
Fixed
|
||
const openAdvanceGasFeeModal = () => { | ||
updateTransactionEventFragment({ | ||
gas_edit_attempted: 'advance', |
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.
advance -> advanced
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.
Also fixed
Builds ready [bf06141]Page Load Metrics (1111 ± 27 ms)
highlights:storybook
|
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!
Fixes: #12107
Adding metrics events for EIP-1559 V2