From a3b7a923d3e76c0419fdd55e474859363795a875 Mon Sep 17 00:00:00 2001 From: starksama <257340800+starksama@users.noreply.github.com> Date: Mon, 2 Feb 2026 17:35:24 +0800 Subject: [PATCH 1/5] feat: add notifications for position history & custom tags --- src/config/notifications.ts | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/src/config/notifications.ts b/src/config/notifications.ts index f491ebfb..bc211eb3 100644 --- a/src/config/notifications.ts +++ b/src/config/notifications.ts @@ -35,16 +35,26 @@ export type NotificationConfig = { * Personalized notifications require a conditionId that maps to useNotificationConditions. */ export const NOTIFICATIONS: NotificationConfig[] = [ - // Example global notification (uncomment to test): - // { - // id: 'autovault-launch-2026', - // message: 'AutoVault is now live! Deploy your own automated lending vault.', - // type: 'info', - // category: 'global', - // action: { - // label: 'Try AutoVault', - // href: '/autovault', - // }, - // expiresAt: new Date('2026-01-04'), - // }, + { + id: 'position-history-chart-2026-02', + message: '✨ New: Position History — see how your allocations evolved over time!', + type: 'info', + category: 'global', + action: { + label: 'View Positions', + href: '/positions', + }, + expiresAt: new Date('2026-02-16'), + }, + { + id: 'custom-tags-2026-02', + message: '🏷️ New: Custom Tags — filter markets by flow thresholds in Settings → Experimental', + type: 'info', + category: 'global', + action: { + label: 'Explore Markets', + href: '/markets', + }, + expiresAt: new Date('2026-02-16'), + }, ]; From b384bd5867b48ff5bdbd47e75374b5b39fddfe1c Mon Sep 17 00:00:00 2001 From: starksama <257340800+starksama@users.noreply.github.com> Date: Mon, 2 Feb 2026 17:36:54 +0800 Subject: [PATCH 2/5] fix: make position history description more general --- src/config/notifications.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/notifications.ts b/src/config/notifications.ts index bc211eb3..0e4fd6e7 100644 --- a/src/config/notifications.ts +++ b/src/config/notifications.ts @@ -37,7 +37,7 @@ export type NotificationConfig = { export const NOTIFICATIONS: NotificationConfig[] = [ { id: 'position-history-chart-2026-02', - message: '✨ New: Position History — see how your allocations evolved over time!', + message: '✨ New: Position History Graph — analyze any account\'s allocation changes over time', type: 'info', category: 'global', action: { From 419150b4464d79cb10d029f59819fde93d005c63 Mon Sep 17 00:00:00 2001 From: starksama <257340800+starksama@users.noreply.github.com> Date: Mon, 2 Feb 2026 17:47:40 +0800 Subject: [PATCH 3/5] fix: add z-index to close button, improve notification copy --- src/components/layout/notification-banner.tsx | 2 +- src/config/notifications.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/layout/notification-banner.tsx b/src/components/layout/notification-banner.tsx index f49b53a3..a40ce58a 100644 --- a/src/components/layout/notification-banner.tsx +++ b/src/components/layout/notification-banner.tsx @@ -67,7 +67,7 @@ export function NotificationBanner() {