Skip to content

feat: add inline alert to confirm AlertRow component#23719

Merged
vinistevam merged 86 commits intodevelopfrom
feat/add-inline-alert-info-row-component
May 9, 2024
Merged

feat: add inline alert to confirm AlertRow component#23719
vinistevam merged 86 commits intodevelopfrom
feat/add-inline-alert-info-row-component

Conversation

@vinistevam
Copy link
Copy Markdown
Contributor

@vinistevam vinistevam commented Mar 26, 2024

Description

This PR aims to include alongside the AlertRow component the InlineAlert component and adapt the styling accordingly based on the severity.

Open in GitHub Codespaces

Related issues

Fixes: https://github.com/MetaMask/MetaMask-planning/issues/2262

Manual testing steps

This component is currently not in use and is not available to users. It is part of the new alert system, and we will have a dedicated PR to integrate this component into the new confirmation screens.

Screenshots/Recordings

image

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.

@github-actions
Copy link
Copy Markdown
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.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 26, 2024

Codecov Report

Attention: Patch coverage is 62.06897% with 11 lines in your changes are missing coverage. Please review.

Project coverage is 67.35%. Comparing base (8db28c7) to head (3838c09).

Files Patch % Lines
...nents/app/confirm/info/row/alert-row/alert-row.tsx 60.71% 11 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #23719      +/-   ##
===========================================
- Coverage    67.35%   67.35%   -0.00%     
===========================================
  Files         1285     1286       +1     
  Lines        50113    50142      +29     
  Branches     13004    13014      +10     
===========================================
+ Hits         33753    33771      +18     
- Misses       16360    16371      +11     

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

@vinistevam vinistevam added the team-confirmations-system-deprecated DEPRECATED: please use "team-confirmations" instead label Mar 26, 2024
@vinistevam vinistevam marked this pull request as ready for review March 26, 2024 15:27
@vinistevam vinistevam requested a review from a team as a code owner March 26, 2024 15:27
@vinistevam vinistevam changed the title feat: add inline alert to info row component feat: add inline alert to confirm info row component Mar 26, 2024
vinistevam and others added 3 commits March 28, 2024 08:55
@vinistevam vinistevam dismissed stale reviews from jpuri and OGPoyraz May 1, 2024 05:30

The base branch was changed.

@vinistevam vinistevam force-pushed the feat/add-inline-alert-info-row-component branch from 4d48f9b to 91aefe6 Compare May 2, 2024 11:01
Copy link
Copy Markdown
Contributor

@pedronfigueiredo pedronfigueiredo 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
Copy Markdown
Collaborator

Builds ready [3838c09]
Page Load Metrics (1567 ± 653 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint70144982210
domContentLoaded10341473
load57303315671359653
domInteractive9341473
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 29 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@vinistevam vinistevam merged commit c2d9584 into develop May 9, 2024
@vinistevam vinistevam deleted the feat/add-inline-alert-info-row-component branch May 9, 2024 08:40
@github-actions github-actions bot locked and limited conversation to collaborators May 9, 2024
@metamaskbot
Copy link
Copy Markdown
Collaborator

Missing release label release-11.17.0 on PR. Adding release label release-11.17.0 on PR and removing other release labels(release-11.18.0), as PR was added to branch 11.17.0 when release was cut.

@gauthierpetetin gauthierpetetin added the release-12.0.0 Issue or pull request that will be included in release 12.0.0 label Jun 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-12.0.0 Issue or pull request that will be included in release 12.0.0 team-confirmations Push issues to confirmations team team-confirmations-system-deprecated DEPRECATED: please use "team-confirmations" instead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants