UI: Payment notifications improvements #52
Merged
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 (written by Copilot)
Addresses this card & this card
This pull request introduces several updates to improve the design, functionality, and maintainability of the notifications dropdown and payment notifications components. The changes include styling enhancements, refactoring for better code readability, and improved user interface elements. Below is a breakdown of the most important updates grouped by theme.
Notifications Dropdown Enhancements:
TransactionWrapper,RootNotification,NotificationsWrapper,ActionRow) to enhance the structure and styling of notification elements. (src/components/header/components/notificationsDropdown/NotificationsOverlay/NotificationsOverlay.styles.ts, src/components/header/components/notificationsDropdown/NotificationsOverlay/NotificationsOverlay.styles.tsR59-R81)Payment Notifications Overlay Improvements:
PaymentNotificationsOverlaycomponent to useS.RootNotificationinstead ofBaseNotification, improving consistency with the new styling. (src/components/header/components/notificationsDropdown/PaymentNotificationsOverlay/PaymentNotificationsOverlay.tsx, src/components/header/components/notificationsDropdown/PaymentNotificationsOverlay/PaymentNotificationsOverlay.tsxL51-R48)TransactionWrapper,ActionRow) to improve the layout of transaction details and action buttons. (src/components/header/components/notificationsDropdown/PaymentNotificationsOverlay/PaymentNotificationsOverlay.tsx, src/components/header/components/notificationsDropdown/PaymentNotificationsOverlay/PaymentNotificationsOverlay.tsxR89-R118)Payment Notifications Component Updates:
BaseCardwithS.Rootfor the main container, introducing a new design with padding adjustments and responsive styles. (src/components/payment/PaymentNotifications/PaymentNotifications.tsx, src/components/payment/PaymentNotifications/PaymentNotifications.tsxL120-R147)NotificationItemusing theCardcomponent, adding shadows, transparent backgrounds, and improved responsiveness. (src/components/payment/PaymentNotifications/PaymentNotifications.styles.ts, src/components/payment/PaymentNotifications/PaymentNotifications.styles.tsL21-R78)TransactionWrapper,LeftSideTX,CardFooter) for better layout and organization of transaction details. (src/components/payment/PaymentNotifications/PaymentNotifications.styles.ts, src/components/payment/PaymentNotifications/PaymentNotifications.styles.tsR185-R237)General Styling Improvements:
MetaLabel,MetaValue,CopyButton,ExpirationInfo) to enhance readability. (src/components/payment/PaymentNotifications/PaymentNotifications.styles.ts, [1] [2] [3]src/components/payment/PaymentNotifications/PaymentNotifications.tsx, src/components/payment/PaymentNotifications/PaymentNotifications.tsxL120-R147)