diff --git a/README.md b/README.md
index 57ac895..64c34dd 100644
--- a/README.md
+++ b/README.md
@@ -26,31 +26,13 @@ npm run build
npm run lint
```
-## Tests
-### Web-push
-For your own web-push tests, change the 'vapid' URL in App.vue, and install apps on the same domain.
-### Test key contents
-
-See [this page](openssl_signing_console.rst)
+## Tests
### Register new user on test server
-New users require registration. This can be done with a claim payload like this
-by an existing user:
-
-```
- const vcClaim = {
- "@context": "https://schema.org",
- "@type": "RegisterAction",
- agent: { identifier: identity0.did },
- object: SERVICE_ID,
- participant: { identifier: newIdentity.did },
- };
-```
-
On the test server, User #0 has rights to register others, so you can start
playing one of two ways:
@@ -66,14 +48,37 @@ playing one of two ways:
### Create multiple identifiers
-Go to /start and create or import a new one. Then switch identifiers on the bottom of the Your Identity page.
+Under the "Your Identity" screen, click "Advanced", click "Switch Identity / No Identity", then "Add Another Identity...".
### Create keys with alternate tools
-See [this page](openssl_signing_console.rst)
+[This page](openssl_signing_console.rst) is a tool to create a JWT from a locally-generated keypair.
+
+### Web-push
+
+For your own web-push tests, change the 'vapid' URL in App.vue, and install apps on the same domain.
+
+### Manual walk-through
+
+- Clear the browser cache for localhost to be a new user.
+ - On each page, verify the messaging.
+ - On the home page, see message prompting to generate an ID.
+- As User #0 in another browser, add a give record. (See User #0 details above.)
+ - With the new user on the home page, see the feed that shows users without names.
+- As the new user on the contacts page, add a contact.
+ - On the discovery page, check that they can see projects.
+ - Choose a search area and see items show nearby.
+- Generate an ID.
+ - On the home page, check that it now prompts them to get registered.
+ - On the account page, check that they see messages on limits.
+- Register the ID from User #0.
+ - As the new user on the home page, check that they can now record a gift.
+ Also that they see a hint on the user name in the feed (since user #0 is visible to them).
+ - On the contacts page, check that they cannot register someone else yet.
+- As the new user, add User #0 to contacts.
+ - On the home page, see the name of user #0 info in the feed.
+- Walk through the functions on each page.
-### Customize Vue configuration
-See [Configuration Reference](https://cli.vuejs.org/config/).
## Scenarios
@@ -90,8 +95,8 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
### 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).
+Clear the browser cache for localhost.
+
@@ -102,110 +107,10 @@ Clear cache for localhost, then go to http://localhost:8080/start
* Notifications can be type of `toast` (self-dismiss), `info`, `success`, `warning`, and `danger`.
They are done via [notiwind](https://www.npmjs.com/package/notiwind) and set up in App.vue.
-```
-// reference material from https://github.com/trentlarson/endorser-mobile/blob/8dc8e0353e0cc80ffa7ed89ded15c8b0da92726b/src/utility/idUtility.ts#L83
-
-// Import an existing ID
-export const importAndStoreIdentifier = async (mnemonic: string, mnemonicPassword: string, toLowercase: boolean, previousIdentifiers: Array
@@ -15,7 +28,7 @@
- We are building networks of people who want to grow a gifting society.
+ We are building networks of people who want to grow a giving society.
First of all, you can record ways you've seen people give, and that
leaves a permanent record -- one that came from you, and the recipient
can prove it was for them. This is personally gratifying, but it extends
@@ -36,22 +49,39 @@
the control; this app gives you the control.
You need someone to register you -- usually the person who told you
about this app, on the Contacts
-
Note that there are limits to how many others each person can register,
so you may have to wait.
+
+ To start scanning, go
+
+ If they are not nearby to scan QR codes, tell them to copy their ID from
+ their Identity
There are two sets of data to backup: the identifier secrets and the
@@ -113,27 +143,20 @@
How do I restore my other (non-identifier-secret) data?
- Tell them to copy their ID, which typically starts with "did:ethr:...",
- and send it to you. Go to the Contacts
-
Before doing this, note that it is an advanced feature that affects
functionality (eg. the words "Alt ID" next to results, backup features)
- so beware if you think that may cause confusion. You can
+ so beware. You can
- Sometimes the reason you don't see something is because the search time
- is limited. Go to the bottom and make sure to load all the data on a
- list. If you still don't see it, try a search or view on a different
- page.
+ Sometimes the reason you don't see something is because the search
+ results are limited. Go to the bottom and make sure to load all the data
+ on a list. If you still don't see it, try a search or view on a
+ different page.
- Your Contact Info
-
+
+
+
+
+ Your Contact Info
+
+
- Help
-
+
+
+
+
+ Help
+
+ What is the philosophy here?
How do I take my first action?
+ How do I get started?
How do I add someone else?
+ How do I backup all my data?
-
- How do I add someone to my contacts?
-
- How do I create another identity?
What is your privacy policy?
@@ -171,11 +194,11 @@
- Contact us through - CommunityCred.org. + Contact us at + info@TimeSafari.app
@@ -186,8 +209,30 @@ import * as Package from "../../package.json"; import { Component, Vue } from "vue-facing-decorator"; import QuickNav from "@/components/QuickNav.vue"; +interface Notification { + group: string; + type: string; + title: string; + text: string; +} + @Component({ components: { QuickNav } }) export default class Help extends Vue { + $notify!: (notification: Notification, timeout?: number) => void; + package = Package; + + showOnboardInfo() { + this.$notify( + { + group: "alert", + type: "info", + title: "Onboard Someone", + // If you edit this, check that the numbers still line up on the side in the alert (on mobile, preferably). + text: "1) Check that they've entered their name. 2) Go to the scanning page via the Identity page and then the through the QR icon at the top, and then scan and register them. 3) Have them go to that page and scan you.", + }, + -1, + ); + } } diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 5aaeac6..4abb6ab 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -29,7 +29,7 @@