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

refactor: Typescript conversion of log-web3-shim-usage.js #23732

Merged
merged 18 commits into from
Oct 8, 2024

Conversation

NiranjanaBinoy
Copy link
Contributor

@NiranjanaBinoy NiranjanaBinoy commented Mar 26, 2024

Part of #23014
Fixes #23470

Converting the level 6 dependency file app/scripts/lib/rpc-method-middleware/handlers/log-web3-shim-usage.js to typescript for contributing to metamask-controller.js.

Description

Open in GitHub Codespaces

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've completed the PR template to the best of my ability
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.

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.

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.

@NiranjanaBinoy NiranjanaBinoy changed the base branch from develop to extract-wrapper-type March 27, 2024 20:16
@NiranjanaBinoy NiranjanaBinoy changed the base branch from extract-wrapper-type to develop March 27, 2024 20:16
@NiranjanaBinoy NiranjanaBinoy changed the base branch from develop to extract-wrapper-type March 27, 2024 20:27
@metamaskbot
Copy link
Collaborator

Builds ready [975bbe0]
Page Load Metrics (1026 ± 503 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint762261133919
domContentLoaded107126189
load62242610261047503
domInteractive107126189
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Copy link
Contributor

github-actions bot commented Jun 8, 2024

This PR has been automatically marked as stale because it has not had recent activity in the last 60 days. It will be closed in 14 days. Thank you for your contributions.

@github-actions github-actions bot added the stale issues and PRs marked as stale label Jun 8, 2024
Copy link
Contributor

This PR was closed because there has been no follow up activity in the last 14 days. Thank you for your contributions.

@github-actions github-actions bot closed this Jun 22, 2024
@NiranjanaBinoy NiranjanaBinoy changed the base branch from extract-wrapper-type to develop June 25, 2024 15:13
Copy link

codecov bot commented Jun 25, 2024

Codecov Report

Attention: Patch coverage is 14.28571% with 6 lines in your changes missing coverage. Please review.

Project coverage is 70.14%. Comparing base (ce04ae8) to head (9000e66).

Files with missing lines Patch % Lines
...-method-middleware/handlers/log-web3-shim-usage.ts 14.29% 6 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop   #23732   +/-   ##
========================================
  Coverage    70.14%   70.14%           
========================================
  Files         1424     1424           
  Lines        49572    49572           
  Branches     13868    13868           
========================================
  Hits         34769    34769           
  Misses       14803    14803           

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

@metamaskbot
Copy link
Collaborator

Builds ready [aac4215]
Page Load Metrics (57 ± 7 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint7212391115
domContentLoaded10261342
load449457147
domInteractive10261342
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@github-actions github-actions bot removed the stale issues and PRs marked as stale label Jun 25, 2024
Copy link

sonarcloud bot commented Jul 18, 2024

@metamaskbot
Copy link
Collaborator

Builds ready [cb7ad5d]
Page Load Metrics (308 ± 272 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint64121100157
domContentLoaded95027105
load471854308566272
domInteractive95027105
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Copy link

sonarcloud bot commented Sep 3, 2024

@metamaskbot
Copy link
Collaborator

Builds ready [9000e66]
Page Load Metrics (1824 ± 97 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint23721881447664319
domContentLoaded15132244180820096
load15212247182420297
domInteractive156939168
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@NiranjanaBinoy NiranjanaBinoy force-pushed the ts-log-web3-shim-usage branch 2 times, most recently from 4737ce1 to 6997d6d Compare October 8, 2024 03:09
Copy link

sonarcloud bot commented Oct 8, 2024

@metamaskbot
Copy link
Collaborator

Builds ready [8445652]
Page Load Metrics (1694 ± 100 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint149822751692209100
domContentLoaded14902227166819895
load149822761694207100
domInteractive168840199
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@NiranjanaBinoy NiranjanaBinoy added this pull request to the merge queue Oct 8, 2024
Merged via the queue into develop with commit 29bc2f5 Oct 8, 2024
78 checks passed
@NiranjanaBinoy NiranjanaBinoy deleted the ts-log-web3-shim-usage branch October 8, 2024 17:01
@github-actions github-actions bot locked and limited conversation to collaborators Oct 8, 2024
@metamaskbot metamaskbot added the release-12.7.0 Issue or pull request that will be included in release 12.7.0 label Oct 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-12.7.0 Issue or pull request that will be included in release 12.7.0 team-extension-platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert log-web3-shim-usage.js to Typescript
4 participants