feat: add multiple alert component#23664
Merged
vinistevam merged 53 commits intodevelopfrom May 1, 2024
Merged
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. |
Collaborator
Builds ready [59334f1]
Page Load Metrics (682 ± 440 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Collaborator
Builds ready [9d99df2]
Page Load Metrics (810 ± 460 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #23664 +/- ##
===========================================
+ Coverage 67.28% 67.31% +0.03%
===========================================
Files 1275 1276 +1
Lines 49707 49741 +34
Branches 12916 12922 +6
===========================================
+ Hits 33444 33481 +37
+ Misses 16263 16260 -3 ☔ View full report in Codecov by Sentry. |
ui/pages/confirmations/components/alerts/alert-modal/alert-modal.tsx
Outdated
Show resolved
Hide resolved
ui/pages/confirmations/components/alerts/alert-modal/alert-modal.tsx
Outdated
Show resolved
Hide resolved
ui/pages/confirmations/components/alerts/alert-modal/alert-modal.tsx
Outdated
Show resolved
Hide resolved
ui/pages/confirmations/components/alerts/multiple-alert-modal/multiple-alert-modal.tsx
Outdated
Show resolved
Hide resolved
ui/pages/confirmations/components/alerts/multiple-alert-modal/multiple-alert-modal.tsx
Outdated
Show resolved
Hide resolved
ui/pages/confirmations/components/alerts/multiple-alert-modal/multiple-alert-modal.tsx
Outdated
Show resolved
Hide resolved
ui/pages/confirmations/components/alerts/multiple-alert-modal/multiple-alert-modal.tsx
Outdated
Show resolved
Hide resolved
ui/pages/confirmations/components/alerts/multiple-alert-modal/multiple-alert-modal.test.tsx
Show resolved
Hide resolved
ui/pages/confirmations/components/alerts/multiple-alert-modal/multiple-alert-modal.stories.tsx
Outdated
Show resolved
Hide resolved
ui/pages/confirmations/components/alerts/multiple-alert-modal/multiple-alert-modal.stories.tsx
Show resolved
Hide resolved
…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>
…lert-modal-component
OGPoyraz
previously approved these changes
Apr 26, 2024
Co-authored-by: George Marshall <george.marshall@consensys.net>
….tsx Co-authored-by: George Marshall <george.marshall@consensys.net>
…lert-modal-component
…lert-modal-component
matthewwalsh0
previously approved these changes
Apr 29, 2024
The base branch was changed.
Collaborator
Builds ready [28f9430]
Page Load Metrics (1768 ± 746 ms)
Bundle size diffs
|
matthewwalsh0
approved these changes
Apr 29, 2024
OGPoyraz
approved these changes
Apr 30, 2024
Collaborator
Builds ready [947d51b]
Page Load Metrics (958 ± 596 ms)
Bundle size diffs
|
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.
This PR aims to introduce a multiple alert component leveraging
AlertModalcomponent and improving by adding an extra navigation to go through existing non-confirmed alerts. Additionally, reducers, ducks and hooks are also included to support and manage the alert state.Description
Related issues
Fixes: https://github.com/MetaMask/MetaMask-planning/issues/2244
Manual testing steps
The component will start to be used in the following tickets.
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist