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

fix: Removing warning prop from settings #27990

Merged
merged 4 commits into from
Nov 1, 2024
Merged

Conversation

NiranjanaBinoy
Copy link
Contributor

@NiranjanaBinoy NiranjanaBinoy commented Oct 21, 2024

Description

Even though warning property is still used in the setting-tab and security-tab, we are no longer using displayWarning to update the error from the settings. This makes the error displayed in the tabs irrelevant to the component. So with this PR we are removing the warning property from settings-tab and security-tab.
We are removing the warning property from advance-tab in #26999

Open in GitHub Codespaces

Related issues

Related to #25838

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

Screenshot 2024-11-01 at 9 52 31 AM Screenshot 2024-11-01 at 9 52 07 AM Screenshot 2024-11-01 at 9 52 19 AM

After

Screenshot 2024-11-01 at 10 20 47 AM Screenshot 2024-11-01 at 10 21 23 AM Screenshot 2024-11-01 at 10 21 14 AM

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.

@NiranjanaBinoy NiranjanaBinoy self-assigned this Oct 21, 2024
@NiranjanaBinoy NiranjanaBinoy requested a review from a team as a code owner October 21, 2024 15:24
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 requested a review from a team October 21, 2024 15:25
@NiranjanaBinoy NiranjanaBinoy changed the title Removing warning prop from settings fix: Removing warning prop from settings Oct 21, 2024
@metamaskbot
Copy link
Collaborator

Builds ready [0f80da0]
Page Load Metrics (1902 ± 137 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint33524901801429206
domContentLoaded155224351872286137
load156324421902285137
domInteractive1798492211
backgroundConnect86431199
firstReactRender44133932411
getState54913126
initialActions01000
loadScripts113619081417251121
setupStore1076242110
uiStartup174926982097312150
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: -294 Bytes (-0.00%)
  • common: 0 Bytes (0.00%)

Copy link
Contributor

@hjetpoluru hjetpoluru left a comment

Choose a reason for hiding this comment

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

LGTM

@metamaskbot
Copy link
Collaborator

Builds ready [82a60e4]
Page Load Metrics (2062 ± 140 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint29727331899607291
domContentLoaded171927182041289139
load172727552062292140
domInteractive26178594019
backgroundConnect769252110
firstReactRender482941116230
getState582262512
initialActions01000
loadScripts118620671505261125
setupStore1295322412
uiStartup191430432308309148
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: -294 Bytes (-0.00%)
  • common: 0 Bytes (0.00%)

@DDDDDanica DDDDDanica added this pull request to the merge queue Nov 1, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 1, 2024
@DDDDDanica DDDDDanica added this pull request to the merge queue Nov 1, 2024
@DDDDDanica DDDDDanica removed this pull request from the merge queue due to a manual request Nov 1, 2024
@DDDDDanica DDDDDanica enabled auto-merge November 1, 2024 16:39
@DDDDDanica DDDDDanica disabled auto-merge November 1, 2024 16:39
@DDDDDanica DDDDDanica enabled auto-merge November 1, 2024 16:40
@DDDDDanica DDDDDanica added this pull request to the merge queue Nov 1, 2024
@metamaskbot
Copy link
Collaborator

Builds ready [64555ad]
Page Load Metrics (1945 ± 79 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint36222541864378182
domContentLoaded16752243190415876
load16832316194516579
domInteractive16233524522
backgroundConnect968362110
firstReactRender50210973115
getState568252311
initialActions01000
loadScripts11761740140614067
setupStore1274272110
uiStartup18632483215718187
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: -294 Bytes (-0.00%)
  • common: 0 Bytes (0.00%)

Merged via the queue into develop with commit a94de6a Nov 1, 2024
76 checks passed
@DDDDDanica DDDDDanica deleted the remove-warning-settings branch November 1, 2024 19:39
@github-actions github-actions bot locked and limited conversation to collaborators Nov 1, 2024
@metamaskbot metamaskbot added the release-12.8.0 Issue or pull request that will be included in release 12.8.0 label Nov 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
external-contributor release-12.8.0 Issue or pull request that will be included in release 12.8.0 team-extension-platform
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants