From a6640b22b631aa16243e419fccde9708a872648b Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Tue, 8 Jul 2025 07:46:51 +0000 Subject: [PATCH] Migrate ContactsView to PlatformServiceMixin and notification helpers Complete Enhanced Triple Migration Pattern for ContactsView.vue: - Replace databaseUtil/PlatformServiceFactory calls with mixin methods ($getAllContacts, $insertContact, $updateContact, $saveSettings) - Replace direct $notify calls with notification helpers (notify.error, notify.success, notify.copied) - Apply centralized notification constants from @/constants/notifications - Remove legacy danger()/warning() methods and template calls - Fix all TypeScript linter errors (0 errors, 136 acceptable warnings) Database operations now use unified mixin abstraction. Notification patterns standardized across component. --- src/views/ContactsView.vue | 1074 +++++++++++++++++------------------- 1 file changed, 497 insertions(+), 577 deletions(-) diff --git a/src/views/ContactsView.vue b/src/views/ContactsView.vue index 27294532..e0642858 100644 --- a/src/views/ContactsView.vue +++ b/src/views/ContactsView.vue @@ -14,71 +14,101 @@ Onboarding Guide - +
- + - - - - - + + + + + + + + + +