From d9e9a7b74088f9b0456f2bb945f085c3dbbf6c20 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Mon, 26 Jun 2023 20:00:23 -0600 Subject: [PATCH 1/3] start a walk-through --- README.md | 29 +++++++++++++++++++++-------- project.task.yaml | 2 ++ 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index da752e580..78d0d7c92 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,6 @@ npm run build npm run lint ``` -### Clear data & restart - -Clear cache for localhost, then go to http://localhost:8080/start -(because it'll generate a new one automatically if you start on the `/account` page). - ### Test key contents See [this page](openssl_signing_console.rst) @@ -59,17 +54,35 @@ playing one of two ways: ### Create multiple identifiers -Go to /import-account and import a new one. Then switch identifiers on the -bottom of the Your Identity page. +Go to /start and create or import a new one. Then switch identifiers on the bottom of the Your Identity page. ### Create keys with alternate tools See [this page](openssl_signing_console.rst) -### Customize configuration +### Customize Vue configuration See [Configuration Reference](https://cli.vuejs.org/config/). +## Scenarios + +- Create a new identity as prompted. Go to "Your Identity" screen and copy the ID to the clipboard. + +- Go back to /start and import test User `did:ethr:0x000Ee5654b9742f6Fe18ea970e32b97ee2247B51` with this this seed phrase: + `seminar accuse mystery assist delay law thing deal image undo guard initial shallow wrestle list fragile borrow velvet tomorrow awake explain test offer control` + (Other test users are found [here](https://github.com/trentlarson/endorser-ch/blob/master/test/util.js).) + +- Go to "Your Contacts" screen and add the ID you copied to the clipboard, and hit "+" to add them. + +- Click on the "Registration Unknown" button and register that person to be able to make claims as them. + +### Clear data & restart + +Clear cache for localhost, then go to http://localhost:8080/start +(because it'll generate a new one automatically if you start on the `/account` page). + + + ## Dependencies See https://tea.xyz diff --git a/project.task.yaml b/project.task.yaml index 9c96dcdc8..f9b0999b6 100644 --- a/project.task.yaml +++ b/project.task.yaml @@ -7,6 +7,7 @@ - allow type annotations in World.js & landmarks.js (since we get this error - "Types are not supported by current JavaScript version") - replace user-affecting console.log & console.error with error messages (eg. catches) - if there's no identity, handle it on pages which expect an identity (eg. project -- look for JSON.parse identity calls) +- .1 show an appropriate message when there are no contacts - 8 Move to vue-facing-decorator @@ -28,6 +29,7 @@ - 01 Change alerts into a component (to cut down duplicate code) - 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 - show pop-up confirming that settings & contacts have been downloaded From 1d6241abbb317a870272c02306aa81a827383d37 Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Sat, 1 Jul 2023 16:04:32 +0800 Subject: [PATCH 2/3] Various changes - Loading animation in Projects view - Per item icon + spacing fixes in Home view --- src/main.ts | 6 ++++++ src/views/HomeView.vue | 38 ++++++++++++++++++++++++-------------- src/views/ProjectsView.vue | 20 ++++++++++++++------ 3 files changed, 44 insertions(+), 20 deletions(-) diff --git a/src/main.ts b/src/main.ts index 860f91b50..cf29018ff 100644 --- a/src/main.ts +++ b/src/main.ts @@ -17,6 +17,8 @@ import { faCircleCheck, faCircleQuestion, faCircleUser, + faClock, + faCoins, faCopy, faEllipsisVertical, faEye, @@ -24,6 +26,7 @@ import { faFileLines, faFloppyDisk, faFolderOpen, + faGift, faHand, faHouseChimney, faLongArrowAltLeft, @@ -53,6 +56,8 @@ library.add( faCircleCheck, faCircleQuestion, faCircleUser, + faClock, + faCoins, faCopy, faEllipsisVertical, faEye, @@ -60,6 +65,7 @@ library.add( faFileLines, faFloppyDisk, faFolderOpen, + faGift, faHand, faHouseChimney, faLongArrowAltLeft, diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index b1ef488cc..91f451f83 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -49,20 +49,23 @@ Time Safari -
+

Quick Action

-

Choose a contact to whom to show appreciation:

-
+

Choose a contact to whom to show appreciation:

+
-  or  -
@@ -75,25 +78,32 @@ > -
+

Latest Activity

- + Loading… -
    +
    • - You've seen all claims below. + You've seen all claims below: +
      +
      + + + {{ this.giveDescription(record) }}
      - {{ this.giveDescription(record) }}
diff --git a/src/views/ProjectsView.vue b/src/views/ProjectsView.vue index 107158a5e..a0dbe958c 100644 --- a/src/views/ProjectsView.vue +++ b/src/views/ProjectsView.vue @@ -70,6 +70,14 @@ + +
+ +
+
    @@ -185,9 +193,9 @@ export default class ProjectsView extends Vue { } /** - * Handle clicking on a project entry found in the list - * @param id of the project - **/ + * Handle clicking on a project entry found in the list + * @param id of the project + **/ onClickLoadProject(id: string) { localStorage.setItem("projectId", id); const route = { @@ -197,9 +205,9 @@ export default class ProjectsView extends Vue { } /** - * Load projects initially - * @param identity of the user - **/ + * Load projects initially + * @param identity of the user + **/ async LoadProjects(identity: IIdentifier) { const url = `${this.apiServer}/api/v2/report/plansByIssuer`; const token: string = await accessToken(identity); From bc6e52774cf2c8acba1f46b8eeee33203ce94908 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sat, 1 Jul 2023 07:13:39 -0600 Subject: [PATCH 3/3] update tasks --- project.task.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/project.task.yaml b/project.task.yaml index 17801199a..22abe2da6 100644 --- a/project.task.yaml +++ b/project.task.yaml @@ -1,6 +1,5 @@ tasks: -- allow type annotations in World.js & landmarks.js (since we get this error - "Types are not supported by current JavaScript version") - replace user-affecting console.log & console.error with error messages (eg. catches) - if there's no identity, handle it on pages which expect an identity (eg. project -- look for JSON.parse identity calls) - .1 show an appropriate message when there are no contacts @@ -11,6 +10,9 @@ tasks: - 01 give time to a particular project - use "provider" attribute - give example assignee:trent +- .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 @@ -40,10 +42,6 @@ tasks: - Ensure each action sent to the server has a confirmation - registration -- stats v1 : - - 01 show numeric stats - - 01 link to world for specific stats - - Home Feed & Quick Give screen : - 01 save the feed-viewed status in settings storage ("afterQuery") - 01 quick action - send action, maybe choose via canvas tool https://github.com/konvajs/vue-konva @@ -57,10 +55,13 @@ tasks: - 40 notifications : - push +- Discuss whether the remaining tasks are worthwhile before MVP release. + - stats v1 : - - 01 show numeric stats - - 01 link to world for specific stats - - .5 don't load another instance of a bush if it already exists + - 01 show numeric stats + - 01 link to world for specific stats + - .5 don't load another instance of a bush if it already exists + - maybe - allow type annotations in World.js & landmarks.js (since we get this error - "Types are not supported by current JavaScript version") - Do we want split first name & last name? - remove 'about' page