-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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: single alert modal component and state alert #23625
Conversation
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
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. |
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
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>
Builds ready [b95d5fa]
Page Load Metrics (702 ± 450 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
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>
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
Builds ready [be59763]
Page Load Metrics (1987 ± 536 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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>
Builds ready [538927f]
Page Load Metrics (875 ± 595 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
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