Pull only PlanAction records for this issuer #6

Merged
anomalist merged 2 commits from pull-only-plans into master 2 years ago
  1. 6
      README.md
  2. 18
      project.yaml
  3. 5
      src/views/ProjectsView.vue

6
README.md

@ -42,7 +42,11 @@ 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:
- 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`
- Register someone else under User #0 on the `/account` page:
* Edit the `src/views/AccountViewView.vue` file and uncomment the lines referring to "test".

18
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

5
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",

Loading…
Cancel
Save