From 07ebd1c32ff49a2bfb62c9c02b9dfb385c3e4457 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sat, 21 Feb 2026 15:14:00 -0700 Subject: [PATCH] cache the user-profile lookup results in a list --- src/libs/fontawesome.ts | 2 ++ src/router/index.ts | 5 +++++ src/utils/PlatformServiceMixin.ts | 4 ++-- src/views/ContactEditView.vue | 3 +++ src/views/ContactsView.vue | 27 +++++++++++++++++++++++++++ 5 files changed, 39 insertions(+), 2 deletions(-) diff --git a/src/libs/fontawesome.ts b/src/libs/fontawesome.ts index 897f3f8e..35dbbbee 100644 --- a/src/libs/fontawesome.ts +++ b/src/libs/fontawesome.ts @@ -34,6 +34,7 @@ import { faCircleQuestion, faCircleRight, faCircleUser, + faCircleXmark, faClock, faCoins, faComment, @@ -135,6 +136,7 @@ library.add( faCircleQuestion, faCircleRight, faCircleUser, + faCircleXmark, faClock, faCoins, faComment, diff --git a/src/router/index.ts b/src/router/index.ts index 4660de52..6fcca363 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -62,6 +62,11 @@ const routes: Array = [ name: "contact-import", component: () => import("../views/ContactImportView.vue"), }, + { + path: "/contact-profile-check", + name: "contact-profile-check", + component: () => import("../views/ContactProfileCheckView.vue"), + }, { path: "/contact-qr", name: "contact-qr", diff --git a/src/utils/PlatformServiceMixin.ts b/src/utils/PlatformServiceMixin.ts index 54a4fef8..6448b647 100644 --- a/src/utils/PlatformServiceMixin.ts +++ b/src/utils/PlatformServiceMixin.ts @@ -1734,7 +1734,7 @@ export const PlatformServiceMixin = { /** * Get data from temp table by ID * Currently set by main.capacitor.ts storeSharedImageInTempDB() - * + * * @param id Temporary storage ID * @returns Promise Temporary data or null if not found */ @@ -1749,7 +1749,7 @@ export const PlatformServiceMixin = { /** * Delete data from temp table by ID - * + * * @param id Temporary storage ID * @returns Promise Success status */ diff --git a/src/views/ContactEditView.vue b/src/views/ContactEditView.vue index 377893a7..ce633f54 100644 --- a/src/views/ContactEditView.vue +++ b/src/views/ContactEditView.vue @@ -55,6 +55,9 @@
+
diff --git a/src/views/ContactsView.vue b/src/views/ContactsView.vue index 2ff35379..b4286efd 100644 --- a/src/views/ContactsView.vue +++ b/src/views/ContactsView.vue @@ -127,6 +127,20 @@
+ +
+ +
+
    0 ? "text-md bg-gradient-to-b from-blue-400 to-blue-700 " +