feat: single alert modal component and state alert#23625
Merged
vinistevam merged 28 commits intodevelopfrom Apr 29, 2024
Merged
feat: single alert modal component and state alert#23625vinistevam merged 28 commits intodevelopfrom
vinistevam merged 28 commits intodevelopfrom
Conversation
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. |
1065c02 to
f04477c
Compare
Collaborator
Builds ready [f04477c]
Page Load Metrics (1205 ± 494 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #23625 +/- ##
===========================================
+ Coverage 67.24% 67.62% +0.37%
===========================================
Files 1271 1251 -20
Lines 49618 49024 -594
Branches 12899 12792 -107
===========================================
- Hits 33364 33148 -216
+ Misses 16254 15876 -378 ☔ View full report in Codecov by Sentry. |
Collaborator
Builds ready [a405398]
Page Load Metrics (1747 ± 520 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
ui/pages/confirmations/components/alerts/alert-modal/alert-modal.tsx
Outdated
Show resolved
Hide resolved
ui/pages/confirmations/components/alerts/alert-modal/alert-modal.test.tsx
Outdated
Show resolved
Hide resolved
ui/pages/confirmations/components/alerts/alert-modal/alert-modal.test.tsx
Outdated
Show resolved
Hide resolved
ui/pages/confirmations/components/alerts/alert-modal/alert-modal.tsx
Outdated
Show resolved
Hide resolved
Collaborator
Builds ready [603e861]
Page Load Metrics (1026 ± 448 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
…al.tsx Co-authored-by: Matthew Walsh <matthew.walsh@consensys.net>
…al.tsx Co-authored-by: Matthew Walsh <matthew.walsh@consensys.net>
…al.test.tsx Co-authored-by: Matthew Walsh <matthew.walsh@consensys.net>
Collaborator
Builds ready [b95d5fa]
Page Load Metrics (702 ± 450 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Collaborator
Builds ready [a9e2219]
Page Load Metrics (493 ± 395 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
ui/components/app/confirmations/alerts/alert-modal/alert-modal.tsx
Outdated
Show resolved
Hide resolved
ui/components/app/confirmations/alerts/alert-modal/alert-modal.tsx
Outdated
Show resolved
Hide resolved
ui/components/app/confirmations/alerts/alert-modal/alert-modal.tsx
Outdated
Show resolved
Hide resolved
ui/components/app/confirmations/alerts/alert-modal/alert-modal.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Matthew Walsh <matthew.walsh@consensys.net>
Co-authored-by: Matthew Walsh <matthew.walsh@consensys.net>
Co-authored-by: Matthew Walsh <matthew.walsh@consensys.net>
Collaborator
Builds ready [4087140]
Page Load Metrics (1563 ± 640 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
ui/components/app/confirmations/alerts/alert-modal/alert-modal.tsx
Outdated
Show resolved
Hide resolved
matthewwalsh0
previously approved these changes
Apr 19, 2024
Collaborator
Builds ready [be59763]
Page Load Metrics (1987 ± 536 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
OGPoyraz
reviewed
Apr 26, 2024
Contributor
georgewrmarshall
left a comment
There was a problem hiding this comment.
Looking great and excellent use of component library components! A couple small suggestions
ui/components/app/confirmations/alerts/alert-modal/alert-modal.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: George Marshall <george.marshall@consensys.net>
….tsx Co-authored-by: George Marshall <george.marshall@consensys.net>
matthewwalsh0
approved these changes
Apr 29, 2024
OGPoyraz
approved these changes
Apr 29, 2024
Collaborator
Builds ready [538927f]
Page Load Metrics (875 ± 595 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR aims to add an alert modal component and respective reducers, hooks, and selectors in the UI layer to support generic alerts.
Related issues
Fixes: https://github.com/MetaMask/MetaMask-planning/issues/2243 and https://github.com/MetaMask/MetaMask-planning/issues/2255
Manual testing steps
The component is not yet being used.
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist