Browse Source

Merge pull request 'start a walk-through of the test' (#26) from scenarios into master

Reviewed-on: https://gitea.anomalistdesign.com/trent_larson/kick-starter-for-time-pwa/pulls/26
world-fix
trentlarson 1 year ago
parent
commit
ec1d8404ca
  1. 29
      README.md
  2. 2
      project.task.yaml

29
README.md

@ -20,11 +20,6 @@ npm run build
npm run lint 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 ### Test key contents
See [this page](openssl_signing_console.rst) See [this page](openssl_signing_console.rst)
@ -59,17 +54,35 @@ playing one of two ways:
### Create multiple identifiers ### Create multiple identifiers
Go to /import-account and import a new one. Then switch identifiers on the Go to /start and create or import a new one. Then switch identifiers on the bottom of the Your Identity page.
bottom of the Your Identity page.
### Create keys with alternate tools ### Create keys with alternate tools
See [this page](openssl_signing_console.rst) See [this page](openssl_signing_console.rst)
### Customize configuration ### Customize Vue configuration
See [Configuration Reference](https://cli.vuejs.org/config/). 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 ## Dependencies
See https://tea.xyz See https://tea.xyz

2
project.task.yaml

@ -3,6 +3,7 @@ tasks:
- allow type annotations in World.js & landmarks.js (since we get this error - "Types are not supported by current JavaScript version") - 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) - 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) - 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 - 8 Move to vue-facing-decorator
@ -33,6 +34,7 @@ tasks:
- 01 Change alerts into a component (to cut down duplicate code) - 01 Change alerts into a component (to cut down duplicate code)
- 01 Change "nav" tabs across the bottom into a component (eliminating 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 - .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 - show pop-up confirming that settings & contacts have been downloaded

Loading…
Cancel
Save