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: remove circular dependencies in ui/pages/snap-account-redirect/* #30279

Merged
merged 7 commits into from
Feb 19, 2025

Conversation

davidmurdoch
Copy link
Contributor

@davidmurdoch davidmurdoch commented Feb 12, 2025

This PR solves an issue with circular dependencies. It does not change the behavior of the application. It only rearranges functions/files to avoid circular references.

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.

@metamaskbot metamaskbot added the team-extension-platform Extension Platform team label Feb 12, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [96620db]
Page Load Metrics (1613 ± 54 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint14091805161311354
domContentLoaded14011787158411254
load14251805161311254
domInteractive2491382110
backgroundConnect86429199
firstReactRender1469342311
getState56014168
initialActions00000
loadScripts1005128811539043
setupStore65310105
uiStartup16352059182512359
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: -567 Bytes (-0.01%)
  • common: 0 Bytes (0.00%)

@davidmurdoch davidmurdoch marked this pull request as ready for review February 13, 2025 00:09
@davidmurdoch davidmurdoch requested review from HowardBraham, dbrans and a team as code owners February 13, 2025 00:09
HowardBraham
HowardBraham previously approved these changes Feb 13, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [7197c34]
Page Load Metrics (1616 ± 69 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint14292120161014670
domContentLoaded14172098158614168
load14312124161614369
domInteractive238736199
backgroundConnect1099312110
firstReactRender1372302110
getState470212110
initialActions01000
loadScripts10001567114611957
setupStore7491194
uiStartup16502407185120699
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: -567 Bytes (-0.01%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [56f0a87]
Page Load Metrics (1626 ± 54 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint14491861163811455
domContentLoaded14071847160111656
load14481862162611354
domInteractive248134157
backgroundConnect97627199
firstReactRender1493292411
getState45421189
initialActions01000
loadScripts9891380115610550
setupStore77019199
uiStartup16702225191215574
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: -567 Bytes (-0.01%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [ad2f2d2]
Page Load Metrics (1658 ± 50 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint23118541598328158
domContentLoaded14691835163510048
load14731901165810550
domInteractive24105422411
backgroundConnect1073302010
firstReactRender1499402713
getState55313136
initialActions00000
loadScripts1048135811839445
setupStore7100222512
uiStartup17012498193317685
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: -567 Bytes (-0.01%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [2c740db]
Page Load Metrics (1601 ± 46 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint39317571540280134
domContentLoaded1409169115798641
load1417176116019646
domInteractive23104462713
backgroundConnect789282512
firstReactRender1480402512
getState45316178
initialActions01000
loadScripts968126611458039
setupStore76111126
uiStartup15842191182813967
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: -567 Bytes (-0.01%)
  • common: 0 Bytes (0.00%)

HowardBraham
HowardBraham previously approved these changes Feb 19, 2025
@DDDDDanica
Copy link
Contributor

LGTM !

@metamaskbot
Copy link
Collaborator

Builds ready [9d4e699]
Page Load Metrics (1845 ± 84 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint16732241184517282
domContentLoaded16312225181817383
load16352245184517484
domInteractive28110402210
backgroundConnect87434199
firstReactRender1576372512
getState57015178
initialActions01000
loadScripts11621670132015172
setupStore85918178
uiStartup190626492119223107
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: -567 Bytes (-0.01%)
  • common: 0 Bytes (0.00%)

@davidmurdoch davidmurdoch added this pull request to the merge queue Feb 19, 2025
Merged via the queue into main with commit 7b03791 Feb 19, 2025
79 checks passed
@davidmurdoch davidmurdoch deleted the circles-snap-account branch February 19, 2025 22:42
@github-actions github-actions bot locked and limited conversation to collaborators Feb 19, 2025
@metamaskbot metamaskbot added the release-12.14.0 Issue or pull request that will be included in release 12.14.0 label Feb 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-12.14.0 Issue or pull request that will be included in release 12.14.0 team-extension-platform Extension Platform team
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants