metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

Add deprecated comment on `displayWarning`

Open OGPoyraz opened this issue 2 years ago • 3 comments

Description

This PR aims to mark displayWarning as deprecated.

Related issues

N/A

Manual testing steps

No functional change

Screenshots/Recordings

N/A

Before

N/A

After

N/A

Pre-merge author checklist

  • [ ] I’ve followed MetaMask Coding Standards.
  • [ ] I've clearly explained what problem this PR is solving and how it is solved.
  • [ ] I've linked related issues
  • [ ] I've included manual testing steps
  • [ ] I've included screenshots/recordings if applicable
  • [ ] 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.
  • [ ] I’ve properly set the pull request status:
    • [ ] In case it's not yet "ready for review", I've set it to "draft".
    • [ ] In case it's "ready for review", I've changed it from "draft" to "non-draft".

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.

OGPoyraz avatar Feb 07 '24 13:02 OGPoyraz

Comment originally added here: #17465, but it was accidentally removed later.

Gudahtt avatar Feb 07 '24 13:02 Gudahtt

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (3e00753) 68.44% compared to head (1518ca3) 68.44%. Report is 6 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop   #22853   +/-   ##
========================================
  Coverage    68.44%   68.44%           
========================================
  Files         1089     1089           
  Lines        42899    42899           
  Branches     11427    11427           
========================================
  Hits         29362    29362           
  Misses       13537    13537           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Feb 08 '24 09:02 codecov[bot]

Builds ready [1518ca3]
Page Load Metrics (818 ± 26 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint94148110157
domContentLoaded9482084
load7449358185426
domInteractive9482084
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

metamaskbot avatar Feb 08 '24 09:02 metamaskbot