diff --git a/e2e/screenshots/simulator/recurring/Recurring limit limit/form.jpg b/e2e/screenshots/simulator/recurring/Recurring limit limit/form.jpg index c35a52119..f3c47ed17 100644 Binary files a/e2e/screenshots/simulator/recurring/Recurring limit limit/form.jpg and b/e2e/screenshots/simulator/recurring/Recurring limit limit/form.jpg differ diff --git a/e2e/screenshots/simulator/recurring/Recurring limit range/form.jpg b/e2e/screenshots/simulator/recurring/Recurring limit range/form.jpg index 04779de73..6537dcdd9 100644 Binary files a/e2e/screenshots/simulator/recurring/Recurring limit range/form.jpg and b/e2e/screenshots/simulator/recurring/Recurring limit range/form.jpg differ diff --git a/e2e/screenshots/simulator/recurring/Recurring limit range/simulator-input-price.jpg b/e2e/screenshots/simulator/recurring/Recurring limit range/simulator-input-price.jpg index fc316a2a2..b8c2c38ac 100644 Binary files a/e2e/screenshots/simulator/recurring/Recurring limit range/simulator-input-price.jpg and b/e2e/screenshots/simulator/recurring/Recurring limit range/simulator-input-price.jpg differ diff --git a/e2e/screenshots/simulator/recurring/Recurring range limit/form.jpg b/e2e/screenshots/simulator/recurring/Recurring range limit/form.jpg index 8e94840dd..1577bf541 100644 Binary files a/e2e/screenshots/simulator/recurring/Recurring range limit/form.jpg and b/e2e/screenshots/simulator/recurring/Recurring range limit/form.jpg differ diff --git a/e2e/screenshots/simulator/recurring/Recurring range limit/simulator-input-price.jpg b/e2e/screenshots/simulator/recurring/Recurring range limit/simulator-input-price.jpg index 6064fe7dd..8d30f6e34 100644 Binary files a/e2e/screenshots/simulator/recurring/Recurring range limit/simulator-input-price.jpg and b/e2e/screenshots/simulator/recurring/Recurring range limit/simulator-input-price.jpg differ diff --git a/e2e/screenshots/simulator/recurring/Recurring range limit/simulator-results-animation.jpg b/e2e/screenshots/simulator/recurring/Recurring range limit/simulator-results-animation.jpg index d41137f82..21111e6ad 100644 Binary files a/e2e/screenshots/simulator/recurring/Recurring range limit/simulator-results-animation.jpg and b/e2e/screenshots/simulator/recurring/Recurring range limit/simulator-results-animation.jpg differ diff --git a/e2e/screenshots/simulator/recurring/Recurring range range/form.jpg b/e2e/screenshots/simulator/recurring/Recurring range range/form.jpg index 47a70198a..ab0a7aa36 100644 Binary files a/e2e/screenshots/simulator/recurring/Recurring range range/form.jpg and b/e2e/screenshots/simulator/recurring/Recurring range range/form.jpg differ diff --git a/e2e/screenshots/simulator/recurring/Recurring range range/simulator-input-price.jpg b/e2e/screenshots/simulator/recurring/Recurring range range/simulator-input-price.jpg index f51a4c1f6..aecd2c71c 100644 Binary files a/e2e/screenshots/simulator/recurring/Recurring range range/simulator-input-price.jpg and b/e2e/screenshots/simulator/recurring/Recurring range range/simulator-input-price.jpg differ diff --git a/e2e/screenshots/simulator/recurring/Recurring range range/simulator-results-animation.jpg b/e2e/screenshots/simulator/recurring/Recurring range range/simulator-results-animation.jpg index 56dbbe3d6..a1aa98801 100644 Binary files a/e2e/screenshots/simulator/recurring/Recurring range range/simulator-results-animation.jpg and b/e2e/screenshots/simulator/recurring/Recurring range range/simulator-results-animation.jpg differ diff --git a/e2e/screenshots/simulator/recurring/Recurring range range/simulator-results-summary.jpg b/e2e/screenshots/simulator/recurring/Recurring range range/simulator-results-summary.jpg index c5010ead2..0174716b8 100644 Binary files a/e2e/screenshots/simulator/recurring/Recurring range range/simulator-results-summary.jpg and b/e2e/screenshots/simulator/recurring/Recurring range range/simulator-results-summary.jpg differ diff --git a/e2e/screenshots/strategy/disposable/Disposable buy limit/create/form.jpg b/e2e/screenshots/strategy/disposable/Disposable buy limit/create/form.jpg index 16e64f916..32d7b15a0 100644 Binary files a/e2e/screenshots/strategy/disposable/Disposable buy limit/create/form.jpg and b/e2e/screenshots/strategy/disposable/Disposable buy limit/create/form.jpg differ diff --git a/e2e/screenshots/strategy/disposable/Disposable buy limit/create/my-strategy.jpg b/e2e/screenshots/strategy/disposable/Disposable buy limit/create/my-strategy.jpg index 08849450e..a21c2e906 100644 Binary files a/e2e/screenshots/strategy/disposable/Disposable buy limit/create/my-strategy.jpg and b/e2e/screenshots/strategy/disposable/Disposable buy limit/create/my-strategy.jpg differ diff --git a/e2e/screenshots/strategy/disposable/Disposable buy limit/deposit/form.jpg b/e2e/screenshots/strategy/disposable/Disposable buy limit/deposit/form.jpg index 4fee5a5ed..311468a0d 100644 Binary files a/e2e/screenshots/strategy/disposable/Disposable buy limit/deposit/form.jpg and b/e2e/screenshots/strategy/disposable/Disposable buy limit/deposit/form.jpg differ diff --git a/e2e/screenshots/strategy/disposable/Disposable buy limit/editPrices/form.jpg b/e2e/screenshots/strategy/disposable/Disposable buy limit/editPrices/form.jpg index 9f91b3dc5..b5cdaccfb 100644 Binary files a/e2e/screenshots/strategy/disposable/Disposable buy limit/editPrices/form.jpg and b/e2e/screenshots/strategy/disposable/Disposable buy limit/editPrices/form.jpg differ diff --git a/e2e/screenshots/strategy/disposable/Disposable buy limit/withdraw/form.jpg b/e2e/screenshots/strategy/disposable/Disposable buy limit/withdraw/form.jpg index 75aac1e65..f71ca2d63 100644 Binary files a/e2e/screenshots/strategy/disposable/Disposable buy limit/withdraw/form.jpg and b/e2e/screenshots/strategy/disposable/Disposable buy limit/withdraw/form.jpg differ diff --git a/e2e/screenshots/strategy/disposable/Disposable buy range/create/form.jpg b/e2e/screenshots/strategy/disposable/Disposable buy range/create/form.jpg index 6954144ab..a4bff563f 100644 Binary files a/e2e/screenshots/strategy/disposable/Disposable buy range/create/form.jpg and b/e2e/screenshots/strategy/disposable/Disposable buy range/create/form.jpg differ diff --git a/e2e/screenshots/strategy/disposable/Disposable buy range/deposit/form.jpg b/e2e/screenshots/strategy/disposable/Disposable buy range/deposit/form.jpg index 95ddbdd47..e8d989ca5 100644 Binary files a/e2e/screenshots/strategy/disposable/Disposable buy range/deposit/form.jpg and b/e2e/screenshots/strategy/disposable/Disposable buy range/deposit/form.jpg differ diff --git a/e2e/screenshots/strategy/disposable/Disposable buy range/editPrices/form.jpg b/e2e/screenshots/strategy/disposable/Disposable buy range/editPrices/form.jpg index 6a1592017..0720957c7 100644 Binary files a/e2e/screenshots/strategy/disposable/Disposable buy range/editPrices/form.jpg and b/e2e/screenshots/strategy/disposable/Disposable buy range/editPrices/form.jpg differ diff --git a/e2e/screenshots/strategy/disposable/Disposable buy range/withdraw/form.jpg b/e2e/screenshots/strategy/disposable/Disposable buy range/withdraw/form.jpg index 1393f4c0d..c1af62137 100644 Binary files a/e2e/screenshots/strategy/disposable/Disposable buy range/withdraw/form.jpg and b/e2e/screenshots/strategy/disposable/Disposable buy range/withdraw/form.jpg differ diff --git a/e2e/screenshots/strategy/disposable/Disposable sell limit/create/form.jpg b/e2e/screenshots/strategy/disposable/Disposable sell limit/create/form.jpg index c78a0237f..d5713cb33 100644 Binary files a/e2e/screenshots/strategy/disposable/Disposable sell limit/create/form.jpg and b/e2e/screenshots/strategy/disposable/Disposable sell limit/create/form.jpg differ diff --git a/e2e/screenshots/strategy/disposable/Disposable sell limit/deposit/form.jpg b/e2e/screenshots/strategy/disposable/Disposable sell limit/deposit/form.jpg index 2c63962fc..edfaae038 100644 Binary files a/e2e/screenshots/strategy/disposable/Disposable sell limit/deposit/form.jpg and b/e2e/screenshots/strategy/disposable/Disposable sell limit/deposit/form.jpg differ diff --git a/e2e/screenshots/strategy/disposable/Disposable sell limit/editPrices/form.jpg b/e2e/screenshots/strategy/disposable/Disposable sell limit/editPrices/form.jpg index c9c430eff..b82bab1e4 100644 Binary files a/e2e/screenshots/strategy/disposable/Disposable sell limit/editPrices/form.jpg and b/e2e/screenshots/strategy/disposable/Disposable sell limit/editPrices/form.jpg differ diff --git a/e2e/screenshots/strategy/disposable/Disposable sell limit/withdraw/form.jpg b/e2e/screenshots/strategy/disposable/Disposable sell limit/withdraw/form.jpg index 0fe2f339b..402eab9f8 100644 Binary files a/e2e/screenshots/strategy/disposable/Disposable sell limit/withdraw/form.jpg and b/e2e/screenshots/strategy/disposable/Disposable sell limit/withdraw/form.jpg differ diff --git a/e2e/screenshots/strategy/disposable/Disposable sell range/create/form.jpg b/e2e/screenshots/strategy/disposable/Disposable sell range/create/form.jpg index 7e967b53c..998b0c710 100644 Binary files a/e2e/screenshots/strategy/disposable/Disposable sell range/create/form.jpg and b/e2e/screenshots/strategy/disposable/Disposable sell range/create/form.jpg differ diff --git a/e2e/screenshots/strategy/disposable/Disposable sell range/deposit/form.jpg b/e2e/screenshots/strategy/disposable/Disposable sell range/deposit/form.jpg index 4a2ece7d7..5c9df7ce2 100644 Binary files a/e2e/screenshots/strategy/disposable/Disposable sell range/deposit/form.jpg and b/e2e/screenshots/strategy/disposable/Disposable sell range/deposit/form.jpg differ diff --git a/e2e/screenshots/strategy/disposable/Disposable sell range/editPrices/form.jpg b/e2e/screenshots/strategy/disposable/Disposable sell range/editPrices/form.jpg index eaa264af9..58d75f45c 100644 Binary files a/e2e/screenshots/strategy/disposable/Disposable sell range/editPrices/form.jpg and b/e2e/screenshots/strategy/disposable/Disposable sell range/editPrices/form.jpg differ diff --git a/e2e/screenshots/strategy/disposable/Disposable sell range/withdraw/form.jpg b/e2e/screenshots/strategy/disposable/Disposable sell range/withdraw/form.jpg index 92f5d5604..105e68c63 100644 Binary files a/e2e/screenshots/strategy/disposable/Disposable sell range/withdraw/form.jpg and b/e2e/screenshots/strategy/disposable/Disposable sell range/withdraw/form.jpg differ diff --git a/e2e/screenshots/strategy/overlapping/Overlapping/create/form.jpg b/e2e/screenshots/strategy/overlapping/Overlapping/create/form.jpg index 275c12a66..d2833696e 100644 Binary files a/e2e/screenshots/strategy/overlapping/Overlapping/create/form.jpg and b/e2e/screenshots/strategy/overlapping/Overlapping/create/form.jpg differ diff --git a/e2e/screenshots/strategy/overlapping/Overlapping/create/my-strategy.jpg b/e2e/screenshots/strategy/overlapping/Overlapping/create/my-strategy.jpg index 1b6cd5088..637616b35 100644 Binary files a/e2e/screenshots/strategy/overlapping/Overlapping/create/my-strategy.jpg and b/e2e/screenshots/strategy/overlapping/Overlapping/create/my-strategy.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring limit limit/create/form.jpg b/e2e/screenshots/strategy/recurring/Recurring limit limit/create/form.jpg index 8d09c02b3..df46a36d0 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring limit limit/create/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring limit limit/create/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring limit limit/create/my-strategy.jpg b/e2e/screenshots/strategy/recurring/Recurring limit limit/create/my-strategy.jpg index c4ee08d9b..22b7201b4 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring limit limit/create/my-strategy.jpg and b/e2e/screenshots/strategy/recurring/Recurring limit limit/create/my-strategy.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring limit limit/deposit/form.jpg b/e2e/screenshots/strategy/recurring/Recurring limit limit/deposit/form.jpg index 0eebc7fba..bc3426363 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring limit limit/deposit/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring limit limit/deposit/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring limit limit/editPrices/form.jpg b/e2e/screenshots/strategy/recurring/Recurring limit limit/editPrices/form.jpg index 4cb16a648..ec96236b9 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring limit limit/editPrices/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring limit limit/editPrices/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring limit limit/renew/form.jpg b/e2e/screenshots/strategy/recurring/Recurring limit limit/renew/form.jpg index 59b69cd71..fb5308e53 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring limit limit/renew/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring limit limit/renew/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring limit limit/withdraw/form.jpg b/e2e/screenshots/strategy/recurring/Recurring limit limit/withdraw/form.jpg index 7a10caa56..52d7aec09 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring limit limit/withdraw/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring limit limit/withdraw/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring limit range/create/form.jpg b/e2e/screenshots/strategy/recurring/Recurring limit range/create/form.jpg index 866f4cd84..cc796f050 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring limit range/create/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring limit range/create/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring limit range/create/my-strategy.jpg b/e2e/screenshots/strategy/recurring/Recurring limit range/create/my-strategy.jpg index b340239f2..7d0e4dead 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring limit range/create/my-strategy.jpg and b/e2e/screenshots/strategy/recurring/Recurring limit range/create/my-strategy.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring limit range/deposit/form.jpg b/e2e/screenshots/strategy/recurring/Recurring limit range/deposit/form.jpg index 655217742..bbb871485 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring limit range/deposit/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring limit range/deposit/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring limit range/editPrices/form.jpg b/e2e/screenshots/strategy/recurring/Recurring limit range/editPrices/form.jpg index 1232bc393..8395e7298 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring limit range/editPrices/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring limit range/editPrices/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring limit range/renew/form.jpg b/e2e/screenshots/strategy/recurring/Recurring limit range/renew/form.jpg index d21cffb67..794ad17e7 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring limit range/renew/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring limit range/renew/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring limit range/withdraw/form.jpg b/e2e/screenshots/strategy/recurring/Recurring limit range/withdraw/form.jpg index 41f5e87eb..1952973d6 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring limit range/withdraw/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring limit range/withdraw/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring range limit/create/form.jpg b/e2e/screenshots/strategy/recurring/Recurring range limit/create/form.jpg index cb98557bb..502dba98f 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring range limit/create/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring range limit/create/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring range limit/create/my-strategy.jpg b/e2e/screenshots/strategy/recurring/Recurring range limit/create/my-strategy.jpg index 7dbc97b3f..3671d6b2e 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring range limit/create/my-strategy.jpg and b/e2e/screenshots/strategy/recurring/Recurring range limit/create/my-strategy.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring range limit/deposit/form.jpg b/e2e/screenshots/strategy/recurring/Recurring range limit/deposit/form.jpg index ad65b8283..ec5302b2c 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring range limit/deposit/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring range limit/deposit/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring range limit/editPrices/form.jpg b/e2e/screenshots/strategy/recurring/Recurring range limit/editPrices/form.jpg index b87e4b8e6..c7ec3229d 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring range limit/editPrices/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring range limit/editPrices/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring range limit/renew/form.jpg b/e2e/screenshots/strategy/recurring/Recurring range limit/renew/form.jpg index a59767027..369fa69e5 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring range limit/renew/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring range limit/renew/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring range limit/withdraw/form.jpg b/e2e/screenshots/strategy/recurring/Recurring range limit/withdraw/form.jpg index f81bea3d2..dad2b4f31 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring range limit/withdraw/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring range limit/withdraw/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring range range/create/form.jpg b/e2e/screenshots/strategy/recurring/Recurring range range/create/form.jpg index 6acc2eac6..71a2a6705 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring range range/create/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring range range/create/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring range range/deposit/form.jpg b/e2e/screenshots/strategy/recurring/Recurring range range/deposit/form.jpg index 0e745638f..cafdc3928 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring range range/deposit/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring range range/deposit/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring range range/editPrices/form.jpg b/e2e/screenshots/strategy/recurring/Recurring range range/editPrices/form.jpg index 41046db2a..e51890905 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring range range/editPrices/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring range range/editPrices/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring range range/renew/form.jpg b/e2e/screenshots/strategy/recurring/Recurring range range/renew/form.jpg index 2c084845a..93d3dc2f2 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring range range/renew/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring range range/renew/form.jpg differ diff --git a/e2e/screenshots/strategy/recurring/Recurring range range/withdraw/form.jpg b/e2e/screenshots/strategy/recurring/Recurring range range/withdraw/form.jpg index 6d023258f..ae3f54326 100644 Binary files a/e2e/screenshots/strategy/recurring/Recurring range range/withdraw/form.jpg and b/e2e/screenshots/strategy/recurring/Recurring range range/withdraw/form.jpg differ diff --git a/src/libs/notifications/utils.ts b/src/libs/notifications/utils.ts index b35617eef..95bc033b9 100644 --- a/src/libs/notifications/utils.ts +++ b/src/libs/notifications/utils.ts @@ -1,9 +1,19 @@ -import { Notification } from 'libs/notifications/types'; +import { Notification, NotificationTx } from 'libs/notifications/types'; import { lsService } from 'services/localeStorage'; +// TODO: Remove this migration after July 2024 +type OldNotification = Omit; +const migrateNotification = ( + n: Notification | OldNotification +): Notification => { + if (!('type' in n)) return { ...n, type: 'tx' }; + return n; +}; + export const getLSUserNotifications = (user?: string): Notification[] => { if (!user) return []; - return lsService.getItem(`notifications-${user}`) || []; + const notifications = lsService.getItem(`notifications-${user}`) || []; + return notifications.map(migrateNotification); }; export const setLSUserNotifications = (