From a0911bb0fd6ba48cee0a0d5efabf8098d4f77230 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sun, 21 Jan 2024 15:50:39 -0700 Subject: [PATCH] add copy-paste icon next to non-anonymous, non-hidden DIDs on details page --- project.task.yaml | 5 ++- src/libs/util.ts | 2 +- src/views/ClaimView.vue | 63 +++++++++++++++++++++++++++-------- src/views/ProjectViewView.vue | 2 +- 4 files changed, 54 insertions(+), 18 deletions(-) diff --git a/project.task.yaml b/project.task.yaml index 727fabd..78810b3 100644 --- a/project.task.yaml +++ b/project.task.yaml @@ -1,9 +1,8 @@ tasks: -- .5 give list of visible IDs on the claim detail page - - instead of text, make links to share the data with contacts and ask for help -- Add TimeSafari as a shareable app https://developer.mozilla.org/en-US/docs/Web/Manifest/share_target +- add share button for sending a message to confirmers when we can't see the claim +- add TimeSafari as a shareable app https://developer.mozilla.org/en-US/docs/Web/Manifest/share_target - make a shortcut for BVC - choose an agent via a contact chooser (not just copy-paste a DID) - .5 find out why clicking quickly back-and-forth onto the "my project" page often shows error "You need an identifier to load your projects." (easier to reproduce on desktop?) diff --git a/src/libs/util.ts b/src/libs/util.ts index d117463..14b1e75 100644 --- a/src/libs/util.ts +++ b/src/libs/util.ts @@ -55,7 +55,7 @@ export const doCopyTwoSecRedo = (text: string, fn: () => void) => { * @returns true if the user can confirm the claim * @param veriClaim is expected to have fields: claim, claimType, and issuer */ -export const giveRecordTheUserCanConfirm = ( +export const isGiveRecordTheUserCanConfirm = ( veriClaim: GenericServerRecord, activeDid: string, confirmerIdList: string[] = [], diff --git a/src/views/ClaimView.vue b/src/views/ClaimView.vue index 1b9f24d..9ba7b48 100644 --- a/src/views/ClaimView.vue +++ b/src/views/ClaimView.vue @@ -125,7 +125,7 @@ + @@ -193,12 +205,14 @@ - +
The following people can connect you with people who have issued or confirmed this claim. @@ -206,12 +220,24 @@
  • - {{ confsVisibleTo }} + {{ didInfo(confsVisibleTo) }} + + +
    @@ -258,7 +284,9 @@ If you'd like to ask any of your contacts to take a look and see if their contacts can see more details, - share this page with them and see if they are willing to make an introduction. @@ -277,7 +305,9 @@ If you'd like an introduction, - share this page with them and ask if they'll tell you more about about the participants. @@ -301,8 +331,15 @@ >