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

[FLASK] Transaction Insights V2 Integration #20554

Merged
merged 127 commits into from
Nov 6, 2023
Merged

[FLASK] Transaction Insights V2 Integration #20554

merged 127 commits into from
Nov 6, 2023

Conversation

hmalik88
Copy link
Contributor

@hmalik88 hmalik88 commented Aug 22, 2023

Transaction Insights V2 Integration. This PR implements the spec outlined in SIP-11. The way we capture analytics is also changed slightly as a result of how we fetch data (eagerly) in v2.

Screen.Recording.2023-09-18.at.9.25.46.PM.mov

@github-actions
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.

@hmalik88 hmalik88 added the team-snaps DEPRECATED: Use "team-snaps-platform" or "team-snaps-ecosystem" instead label Sep 1, 2023
@metamaskbot
Copy link
Collaborator

Builds ready [41c60f8]
Page Load Metrics (1680 ± 46 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1151911462211
domContentLoaded1524186816799646
load1525186916809646
domInteractive1524186816799646
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 0 Bytes (0.00%)
  • ui: 1.35 KiB (0.02%)
  • common: 783 Bytes (0.02%)

@codecov
Copy link

codecov bot commented Sep 1, 2023

Codecov Report

Attention: 28 lines in your changes are missing coverage. Please review.

Comparison is base (82ceffb) 68.84% compared to head (35b2df2) 68.86%.
Report is 1 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #20554      +/-   ##
===========================================
+ Coverage    68.84%   68.86%   +0.02%     
===========================================
  Files         1039     1039              
  Lines        41403    41428      +25     
  Branches     11058    11055       -3     
===========================================
+ Hits         28501    28527      +26     
+ Misses       12902    12901       -1     
Files Coverage Δ
shared/constants/metametrics.ts 100.00% <100.00%> (ø)
ui/selectors/permissions.js 62.00% <100.00%> (+1.58%) ⬆️
ui/selectors/selectors.js 86.68% <100.00%> (+0.04%) ⬆️
app/scripts/metamask-controller.js 55.71% <33.33%> (+0.47%) ⬆️
ui/store/actions.ts 43.02% <0.00%> (-0.08%) ⬇️
...page-container/confirm-page-container.component.js 68.92% <58.82%> (+0.07%) ⬆️
ui/hooks/useTransactionInsights.js 50.00% <30.43%> (-4.17%) ⬇️

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

@hmalik88 hmalik88 marked this pull request as ready for review September 1, 2023 16:49
@hmalik88 hmalik88 requested review from a team as code owners September 1, 2023 16:49
@metamaskbot
Copy link
Collaborator

Builds ready [8111abd]
Page Load Metrics (1261 ± 460 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint851691212411
domContentLoaded711431102210
load8324071261959460
domInteractive711431102210
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 49 Bytes (0.00%)
  • ui: 2.54 KiB (0.03%)
  • common: 783 Bytes (0.02%)

@metamaskbot
Copy link
Collaborator

Builds ready [2468d61]
Page Load Metrics (1288 ± 337 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint81998963
domContentLoaded66948294
load7618301288702337
domInteractive66948294
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 49 Bytes (0.00%)
  • ui: 2.54 KiB (0.03%)
  • common: 783 Bytes (0.02%)

@metamaskbot
Copy link
Collaborator

Builds ready [221c2ca]
Page Load Metrics (1524 ± 346 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint821681092211
domContentLoaded781621032010
load7822511524720346
domInteractive781621032010
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 49 Bytes (0.00%)
  • ui: 2.77 KiB (0.03%)
  • common: 783 Bytes (0.02%)

@metamaskbot
Copy link
Collaborator

Builds ready [35b2df2]
Page Load Metrics (1420 ± 322 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint861199484
domContentLoaded691028884
load8019731420671322
domInteractive691028884
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 49 Bytes (0.00%)
  • ui: 2.77 KiB (0.03%)
  • common: 783 Bytes (0.02%)

Copy link
Member

@FrederikBolding FrederikBolding left a comment

Choose a reason for hiding this comment

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

When sending ETH this doesn't seem to prompt me with the modal.

@hmalik88 hmalik88 merged commit af6816f into develop Nov 6, 2023
64 checks passed
@hmalik88 hmalik88 deleted the hm/tx-insight-v2 branch November 6, 2023 15:11
@github-actions github-actions bot locked and limited conversation to collaborators Nov 6, 2023
@metamaskbot metamaskbot added the release-11.6.0 Issue or pull request that will be included in release 11.6.0 label Nov 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-11.6.0 Issue or pull request that will be included in release 11.6.0 team-snaps DEPRECATED: Use "team-snaps-platform" or "team-snaps-ecosystem" instead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants