From 6f5661d61c583a35abafb6a7cc923c2ad6d06d57 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sun, 24 Aug 2025 17:44:15 -0600 Subject: [PATCH 1/3] fix: enhance the message & provide link on confirmation page when something isn't seen --- src/views/QuickActionBvcEndView.vue | 42 ++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 7 deletions(-) diff --git a/src/views/QuickActionBvcEndView.vue b/src/views/QuickActionBvcEndView.vue index f02af128..f3c0969d 100644 --- a/src/views/QuickActionBvcEndView.vue +++ b/src/views/QuickActionBvcEndView.vue @@ -69,10 +69,17 @@
{{ claimCountWithHiddenText }} - so if you expected but do not see details from someone then ask them to - check that their activity is visible to you on their Contacts - - page. + If you don't see expected info above for someone, ask them to check that + their activity is visible ( + + + ) to you on + + this page .
@@ -120,10 +127,11 @@ import { DateTime } from "luxon"; import * as R from "ramda"; import { Component, Vue } from "vue-facing-decorator"; import { Router } from "vue-router"; +import { useClipboard } from "@vueuse/core"; import QuickNav from "../components/QuickNav.vue"; import TopMessage from "../components/TopMessage.vue"; -import { NotificationIface } from "../constants/app"; +import { NotificationIface, APP_SERVER } from "../constants/app"; import { Contact } from "../db/tables/contacts"; import { GenericCredWrapper, @@ -148,6 +156,7 @@ import { NOTIFY_ALL_CONFIRMATIONS_ERROR, NOTIFY_GIVE_SEND_ERROR, NOTIFY_CLAIMS_SEND_ERROR, + NOTIFY_COPIED_TO_CLIPBOARD, createConfirmationSuccessMessage, createCombinedSuccessMessage, } from "@/constants/notifications"; @@ -195,8 +204,8 @@ export default class QuickActionBvcEndView extends Vue { get claimCountWithHiddenText() { if (this.claimCountWithHidden === 0) return ""; return this.claimCountWithHidden === 1 - ? "There is 1 other claim with hidden details," - : `There are ${this.claimCountWithHidden} other claims with hidden details,`; + ? "There is 1 other claim with hidden details." + : `There are ${this.claimCountWithHidden} other claims with hidden details.`; } get claimCountByUserText() { @@ -295,6 +304,25 @@ export default class QuickActionBvcEndView extends Vue { (this.$router as Router).push(route); } + copyContactsLinkToClipboard() { + const deepLinkUrl = `${APP_SERVER}/deep-link/did/${this.activeDid}`; + useClipboard() + .copy(deepLinkUrl) + .then(() => { + this.notify.success( + NOTIFY_COPIED_TO_CLIPBOARD.message("Your info link"), + TIMEOUTS.SHORT, + ); + }) + .catch((error) => { + logger.error("Failed to copy to clipboard:", error); + this.notify.error( + "Failed to copy link to clipboard. Please try again.", + TIMEOUTS.SHORT, + ); + }); + } + async record() { try { if (this.claimsToConfirmSelected.length > 0) { From 8991b36a56b12f112a282cddcb9b77ccc1b02f9f Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sun, 24 Aug 2025 17:49:01 -0600 Subject: [PATCH 2/3] fix: give consistent "you" verbiage on button --- src/views/DIDView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/DIDView.vue b/src/views/DIDView.vue index a6212ece..1e6860f6 100644 --- a/src/views/DIDView.vue +++ b/src/views/DIDView.vue @@ -95,7 +95,7 @@ contactFromDid.did !== activeDid " class="text-sm uppercase bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white mx-0.5 my-0.5 px-2 py-1.5 rounded-md" - title="I view their content" + title="You view their content" @click="confirmViewContent(contactFromDid, false)" > @@ -107,7 +107,7 @@ contactFromDid?.did !== activeDid " class="text-sm uppercase bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white mx-0.5 my-0.5 px-2 py-1.5 rounded-md" - title="I do not view their content" + title="You do not view their content" @click="confirmViewContent(contactFromDid, true)" > From 528a68ef6ce337780e25d63fba46386ba293a76b Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sun, 24 Aug 2025 18:15:08 -0600 Subject: [PATCH 3/3] fix: reorder and reword visibility messages on confirmation & DID view pages --- src/views/DIDView.vue | 16 ++++++++-------- src/views/QuickActionBvcEndView.vue | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/views/DIDView.vue b/src/views/DIDView.vue index 1e6860f6..0b15a604 100644 --- a/src/views/DIDView.vue +++ b/src/views/DIDView.vue @@ -71,22 +71,22 @@ contactFromDid?.seesMe && contactFromDid.did !== activeDid " class="text-sm uppercase bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white mx-0.5 my-0.5 px-2 py-1.5 rounded-md" - title="They can see you" + title="They can see your activity" @click="confirmSetVisibility(contactFromDid, false)" > - +