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

feat: migrate AppMedataController to inherit from BaseController V2 #28783

Conversation

cryptodev-2s
Copy link
Contributor

@cryptodev-2s cryptodev-2s commented Nov 27, 2024

Description

This PR migrate AppMedataController to inherit from BaseController V2

Open in GitHub Codespaces

Related issues

Fixes: #28467

Manual testing steps

Screenshots/Recordings

Before

After

Pre-merge author checklist

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.

@cryptodev-2s cryptodev-2s self-assigned this Nov 27, 2024
@cryptodev-2s cryptodev-2s requested a review from a team as a code owner November 27, 2024 20:27
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
Copy link
Collaborator

Builds ready [0ec4c18]
Page Load Metrics (1616 ± 55 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint30018111533295142
domContentLoaded14421950159811857
load14921954161611455
domInteractive236937157
backgroundConnect75821147
firstReactRender1572332211
getState422742
initialActions01000
loadScripts1048146311729345
setupStore662212110
uiStartup16762150179811957
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -60 Bytes (-0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

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

A few things, but other than that, good to go.

app/scripts/controllers/app-metadata.ts Outdated Show resolved Hide resolved
app/scripts/controllers/app-metadata.ts Outdated Show resolved Hide resolved
app/scripts/controllers/app-metadata.test.ts Outdated Show resolved Hide resolved
@cryptodev-2s cryptodev-2s requested a review from mcmire November 27, 2024 22:30
Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!

@cryptodev-2s cryptodev-2s added this pull request to the merge queue Nov 27, 2024
@metamaskbot
Copy link
Collaborator

Builds ready [4473585]
Page Load Metrics (1642 ± 63 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint34420131571305146
domContentLoaded13911994161211957
load14322080164213163
domInteractive177732136
backgroundConnect987352311
firstReactRender1574332210
getState4471094
initialActions01000
loadScripts1002145211849747
setupStore65114147
uiStartup15522272182514268
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -60 Bytes (-0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Merged via the queue into develop with commit 208245a Nov 27, 2024
75 checks passed
@cryptodev-2s cryptodev-2s deleted the cryptodev2s/migrate-app-metadata-controller-to-base-controller-v2 branch November 27, 2024 23:25
@github-actions github-actions bot locked and limited conversation to collaborators Nov 27, 2024
@metamaskbot metamaskbot added the release-12.9.0 Issue or pull request that will be included in release 12.9.0 label Nov 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-12.9.0 Issue or pull request that will be included in release 12.9.0 team-wallet-framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate AppMetadataController to BaseControllerV2
4 participants