diff --git a/project.task.yaml b/project.task.yaml index 78810b3..e094022 100644 --- a/project.task.yaml +++ b/project.task.yaml @@ -1,10 +1,20 @@ tasks: +- image on give + - Show a camera to take a picture + - Scale the image to a reasonable size + - Upload to a public readable place + - check the rate limits + - use CID + - put the image URL in the claim + - Rates - images erased? + - image not associated with JWT ULID since that's assigned later +- mark a project as inactive +- make a shortcut for BVC - 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) +- choose a project's alternative agent ("authorized representative") 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?) - .5 bug - it didn't show the "fulfills offer" on the claim detail page for a give that had one - https://test.timesafari.app/claim/01HMFWRPA3PD6Q9EYFKX3MC41J - 01 replace all "confirm" prompts with nicer modal diff --git a/src/components/GiftedDialog.vue b/src/components/GiftedDialog.vue index 6120c7a..f18f54d 100644 --- a/src/components/GiftedDialog.vue +++ b/src/components/GiftedDialog.vue @@ -37,11 +37,11 @@
- + - + diff --git a/src/libs/endorserServer.ts b/src/libs/endorserServer.ts index fa4c855..0bda865 100644 --- a/src/libs/endorserServer.ts +++ b/src/libs/endorserServer.ts @@ -279,15 +279,17 @@ export function didInfo( ): string { if (!did) return "Someone Anonymous"; - const myId = R.find(R.equals(did), allMyDids); - if (myId) return `You${myId !== activeDid ? " (Alt ID)" : ""}`; - const contact = R.find((c) => c.did === did, contacts); - return contact - ? contact.name || "Contact With No Name" - : isHiddenDid(did) - ? "Someone Not In Network" - : "Someone Not In Contacts"; + if (contact) { + return contact.name || "Contact With No Name"; + } else { + const myId = R.find(R.equals(did), allMyDids); + return myId + ? `You${myId !== activeDid ? " (Alt ID)" : ""}` + : isHiddenDid(did) + ? "Someone Not In Network" + : "Someone Not In Contacts"; + } } export interface ResultWithType { diff --git a/src/views/ProjectViewView.vue b/src/views/ProjectViewView.vue index e30e4e2..8e4d329 100644 --- a/src/views/ProjectViewView.vue +++ b/src/views/ProjectViewView.vue @@ -118,30 +118,31 @@ @click="openOfferDialog()" class="block w-full text-lg font-bold uppercase bg-blue-600 text-white px-2 py-3 rounded-md" > - I offer… + Offer (maybe with conditions)...
-
- -

Or, record a contribution from:

-
- +
+

Record a contribution from:

+