From 1f3f9e2ca81463f58ac6270dbb240b71bc5a563f Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 9 Jul 2025 15:42:33 -0400 Subject: [PATCH] feat: Add InterestDuplicateNotificationBanner for sales/admin users and implement duplicate detection logic --- .../InterestDuplicateNotificationBanner.vue | 96 ++++++ pages/dashboard/interest-list.vue | 4 +- server/api/interests/duplicates/find.ts | 325 ++++++++++++++++++ 3 files changed, 423 insertions(+), 2 deletions(-) create mode 100644 components/InterestDuplicateNotificationBanner.vue create mode 100644 server/api/interests/duplicates/find.ts diff --git a/components/InterestDuplicateNotificationBanner.vue b/components/InterestDuplicateNotificationBanner.vue new file mode 100644 index 0000000..d7bfd86 --- /dev/null +++ b/components/InterestDuplicateNotificationBanner.vue @@ -0,0 +1,96 @@ + + + diff --git a/pages/dashboard/interest-list.vue b/pages/dashboard/interest-list.vue index e2fc7d7..f8dbb7a 100644 --- a/pages/dashboard/interest-list.vue +++ b/pages/dashboard/interest-list.vue @@ -1,8 +1,8 @@