diff --git a/README.md b/README.md index 5660880aa..0c8c0d156 100644 --- a/README.md +++ b/README.md @@ -42,11 +42,15 @@ New users require registration. This can be done with a claim payload like this }; ``` -On the test server, the user starting 0x000 has rights to register others, and the keys for that test User #0 are found in the codebase. You can invoke registration by User #0 on the `/account` page: +On the test server, the user starting 0x000 has rights to register others, so you can start playing one of two ways: -* Edit the `src/views/AccountViewView.vue` file and uncomment the lines referring to "test". +- Import the keys for that test User #0 by importing 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` -* Use the [Vue Devtools browser extension](https://devtools.vuejs.org/) and type this into the console: `$vm.ctx.testRegisterUser()` +- Register someone else under User #0 on the `/account` page: + + * Edit the `src/views/AccountViewView.vue` file and uncomment the lines referring to "test". + + * Use the [Vue Devtools browser extension](https://devtools.vuejs.org/) and type this into the console: `$vm.ctx.testRegisterUser()` diff --git a/project.yaml b/project.yaml index 58196753f..a188687ad 100644 --- a/project.yaml +++ b/project.yaml @@ -1,6 +1,18 @@ - top screens from img/screens.pdf : - - discover - - view + - view all : + - also extract plan identifier (instead of claim ID) assignee:trent + - search bar isn't highlighted & icon on right doesn't show + - no tab bar across bottom + - view one + - change lookup to pull from new /api/ext/plan with plan identifier assignee:trent + - edit + - make sure to save with plan identifier if it isn't already - new - - commit + - make sure to save with plan identifier if it isn't already blocks: ref:https://raw.githubusercontent.com/trentlarson/lives-of-gifts/master/project.yaml#kickstarter%20for%20time + +- replace user-affecting console.logs with error messages + +- commit screen + +- discover screen diff --git a/src/views/ProjectsView.vue b/src/views/ProjectsView.vue index d2ba3d09a..5059df294 100644 --- a/src/views/ProjectsView.vue +++ b/src/views/ProjectsView.vue @@ -82,7 +82,10 @@ export default class ProjectsView extends Vue { async LoadProjects(identity: IIdentifier) { const endorserApiServer = AppString.DEFAULT_ENDORSER_API_SERVER; - const url = endorserApiServer + "/api/claim/?claimContents=" + identity.did; + const url = + endorserApiServer + + "/api/claim/?claimType=PlanAction&issuer=" + + identity.did; const token = await accessToken(identity); const headers = { "Content-Type": "application/json",