From 7f48149d6f0f9b946c88c2bdccdce865132da6ca Mon Sep 17 00:00:00 2001
From: Trent Larson
Date: Thu, 20 Jul 2023 20:59:53 -0600
Subject: [PATCH] add some detail for the map pin, plus other refactors
---
project.task.yaml | 3 ++-
src/views/ContactsView.vue | 8 +++-----
src/views/HelpView.vue | 16 ++++++++--------
3 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/project.task.yaml b/project.task.yaml
index 99c8becc..4e6e32bd 100644
--- a/project.task.yaml
+++ b/project.task.yaml
@@ -1,7 +1,8 @@
tasks:
- .2 bug - on contacts view, click on "to" & "from" and nothing happens
-- 01 add a location for a project via map pin
+- 01 add a location for a project via map pin :
+ - add with a "location" field containing this: { "geo":{ "@type":"GeoCoordinates", "latitude":40.883944, "longitude":-111.884787 } }
- 04 search by a bounding box for local projects (see API by clicking on "Nearby")
- 01 Replace Gifted/Give in ContactsView with GiftedDialog assignee:jose
- 02 Fix images on projectview - allow choice of image from a pallete of images or a url image.
diff --git a/src/views/ContactsView.vue b/src/views/ContactsView.vue
index 3bcfe72e..e3d21439 100644
--- a/src/views/ContactsView.vue
+++ b/src/views/ContactsView.vue
@@ -341,17 +341,15 @@ export default class ContactsView extends Vue {
};
try {
- const { headers, identity } = await this.getHeadersAndIdentity(
- this.activeDid,
- );
+ const { headers } = await this.getHeadersAndIdentity(this.activeDid);
const givenByUrl =
this.apiServer +
"/api/v2/report/gives?agentDid=" +
- encodeURIComponent(identity.did);
+ encodeURIComponent(this.activeDid);
const givenToUrl =
this.apiServer +
"/api/v2/report/gives?recipientDid=" +
- encodeURIComponent(identity.did);
+ encodeURIComponent(this.activeDid);
const [givenByMeResp, givenToMeResp] = await Promise.all([
this.axios.get(givenByUrl, { headers }),
diff --git a/src/views/HelpView.vue b/src/views/HelpView.vue
index 9b1888de..e7cfb24f 100644
--- a/src/views/HelpView.vue
+++ b/src/views/HelpView.vue
@@ -128,6 +128,14 @@
key.
+ How do I create another identity?
+
+ Go
+
+ create another identity here.
+
+
+
I know there is a record from someone, so why can't I see that info?
@@ -146,14 +154,6 @@
page.
- How do I create another identity?
-
- Go
-
- create another identity here.
-
-
-
What is your privacy policy?
See