From cf33a39fbc252f5457b73173e0b49e59738bd26d Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Wed, 18 Jun 2025 02:32:47 -0600 Subject: [PATCH] fix the invite-one setup, fix adeep link, and tweak other verbiage & error info --- src/services/deepLinks.ts | 2 +- src/views/ContactQRScanFullView.vue | 4 ++-- src/views/ContactQRScanShowView.vue | 4 ++-- src/views/DiscoverView.vue | 6 ++---- src/views/InviteOneView.vue | 4 ++-- 5 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/services/deepLinks.ts b/src/services/deepLinks.ts index 149665fc..e9f63a88 100644 --- a/src/services/deepLinks.ts +++ b/src/services/deepLinks.ts @@ -86,7 +86,7 @@ export class DeepLinkHandler { "claim-cert": { name: "claim-cert" }, "confirm-gift": { name: "confirm-gift" }, did: { name: "did", paramKey: "did" }, - "invite-one-accept": { name: "invite-one-accept" }, + "invite-one-accept": { name: "invite-one-accept", paramKey: "jwt" }, "onboard-meeting-members": { name: "onboard-meeting-members" }, "onboard-meeting-setup": { name: "onboard-meeting-setup" }, project: { name: "project" }, diff --git a/src/views/ContactQRScanFullView.vue b/src/views/ContactQRScanFullView.vue index 49366fbd..eba485ca 100644 --- a/src/views/ContactQRScanFullView.vue +++ b/src/views/ContactQRScanFullView.vue @@ -354,7 +354,7 @@ export default class ContactQRScanFull extends Vue { group: "alert", type: "danger", title: "Invalid QR Code", - text: "This QR code does not contain valid contact information. Please scan a TimeSafari contact QR code.", + text: "This QR code does not contain valid contact information. Scan a TimeSafari contact QR code.", }); return; } @@ -402,7 +402,7 @@ export default class ContactQRScanFull extends Vue { group: "alert", type: "danger", title: "Error", - text: "Could not determine the type of contact info. Please try again.", + text: "Could not determine the type of contact info. Try again, or tap the QR code to copy it and send it to them.", }); return; } diff --git a/src/views/ContactQRScanShowView.vue b/src/views/ContactQRScanShowView.vue index f5ff2d68..076ee279 100644 --- a/src/views/ContactQRScanShowView.vue +++ b/src/views/ContactQRScanShowView.vue @@ -473,7 +473,7 @@ export default class ContactQRScanShow extends Vue { group: "alert", type: "danger", title: "Invalid QR Code", - text: "This QR code does not contain valid contact information. Please scan a TimeSafari contact QR code.", + text: "This QR code does not contain valid contact information. Scan a TimeSafari contact QR code.", }); return; } @@ -521,7 +521,7 @@ export default class ContactQRScanShow extends Vue { group: "alert", type: "danger", title: "Error", - text: "Could not determine the type of contact info. Please try again.", + text: "Could not determine the type of contact info. Try again, or tap the QR code to copy it and send it to them.", }); return; } diff --git a/src/views/DiscoverView.vue b/src/views/DiscoverView.vue index 7f6b303e..07bde02f 100644 --- a/src/views/DiscoverView.vue +++ b/src/views/DiscoverView.vue @@ -523,9 +523,7 @@ export default class DiscoverView extends Vue { } // eslint-disable-next-line @typescript-eslint/no-explicit-any } catch (e: any) { - logger.error("Error with search all:", e); - // this sometimes gives different information - logger.error("Error with search all (error added): " + e); + logger.error("Error with search all: " + errorStringForLog(e)); this.$notify( { group: "alert", @@ -617,7 +615,7 @@ export default class DiscoverView extends Vue { } // eslint-disable-next-line @typescript-eslint/no-explicit-any } catch (e: any) { - logger.error("Error with search local:", e); + logger.error("Error with search local: " + errorStringForLog(e)); this.$notify( { group: "alert", diff --git a/src/views/InviteOneView.vue b/src/views/InviteOneView.vue index 0ae150c1..3629f1e9 100644 --- a/src/views/InviteOneView.vue +++ b/src/views/InviteOneView.vue @@ -83,7 +83,7 @@