From cdeece179507fc6d08716896495574d285997efb Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sun, 2 Jul 2023 07:55:45 -0600 Subject: [PATCH] add project search (which just goes to console for now) --- project.task.yaml | 20 +++---- src/views/DiscoverView.vue | 106 +++++++++++++++++++++++++++++++++++-- src/views/HomeView.vue | 1 + 3 files changed, 115 insertions(+), 12 deletions(-) diff --git a/project.task.yaml b/project.task.yaml index f9c926bc7..24086c012 100644 --- a/project.task.yaml +++ b/project.task.yaml @@ -13,12 +13,11 @@ tasks: - .1 remove commitments from ProjectView UI - 01 add list of 'give' records for a project on ProjectView UI -- 02 Discover page : - - search : - - give example assignee:trent +- 02 Discover page - display results (currently in console.log), spin when searching - 08 search by location, endpoint, etc assignee:trent - 01 add a location for a project via map pin : - give attribute to use assignee:trent +- 01 remove all the "form" fields (or at least investigate to see if that page refresh is desired) - 08 Scan QR code to import into contacts. @@ -33,7 +32,7 @@ tasks: - refactor UI : - .5 Alerts show at the top and can be missed, eg. account data download - - 01 Change alerts into a component (to cut down duplicate code) + - 01 Change alert popup code a component (to cut down duplicate code; see "in many files") - 01 Change "nav" tabs across the bottom into a component (eliminating duplicate code). - .5 Fix how icons show on top of bottom bar on ContactAmounts page - .2 Hide "Advanced" section in Account page by default @@ -57,6 +56,9 @@ tasks: - Discuss whether the remaining tasks are worthwhile before MVP release. +- 01 fix images on project page, on discovery page +- .2 fix "Rotary" and static icon to the right on project page + - stats v1 : - 01 show numeric stats - 01 link to world for specific stats @@ -81,6 +83,11 @@ tasks: - 40 notifications v+ : - pull, w/ scheduled runs +- linking between projects or plans : + - terminology: + - for subtasks: fulfills (is it really the same?), feeds, contributes to, supplies, boosts, advances + - for blocking: blocks, precedes, comes before, is sought by -- vs follows, seeks, builds on ("contributes to" isn't specific enough, "succeeds" has different, possibly confusing meaning) + - Stats : - 01 point out user's location on the world - 01 present a credential selected from the stats @@ -89,11 +96,6 @@ tasks: - badge for amount given/offered to your project - set a goal of given/offers -- linking between projects or plans : - - terminology: - - Fulfills, Feeds, contributes to, supplies, boosts, advances - - Precedes, comes before, is sought by -- vs follows, seeks, builds on ("contributes to" isn't specific enough, "succeeds" has different, possibly confusing meaning) - - automated tests, eg. cypress - Notifications (wake on the phone, push notifications) diff --git a/src/views/DiscoverView.vue b/src/views/DiscoverView.vue index d08137fd1..f78623dc7 100644 --- a/src/views/DiscoverView.vue +++ b/src/views/DiscoverView.vue @@ -51,18 +51,20 @@ -
+
- +
@@ -151,14 +153,112 @@ + + +
+ +

{{ alertTitle }}

+

{{ alertMessage }}

+
diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 91f451f83..aae0afd23 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -204,6 +204,7 @@ export default class HomeView extends Vue { console.log("Error with feed load:", e); this.alertMessage = e.userMessage || "There was an error retrieving feed data."; + this.alertTitle = "Error"; }); this.isHiddenSpinner = true;