Closed pospi closed 5 years ago
@ivanminutillo if you start work on this before feature/basic-devops-scripts
is merged to master, I recommend you fork off that branch instead. Reason is there is some JS style standardisation in there by eslint that will cause you a lot of conflicts if you don't start with it already implemented. Also there are fixes to make things compatible with Typescript so that you can start the conversion easier (if you wish to).
FYI enough of the GraphQL stuff is in master
to start a new branch for this work there now.
Rough UI is there, literally just some unstyled react-table
s broken down by each user's name. There is a refresh button, because I found the initial load script for provisioning all the scenario data takes quite a while & it's therefore nicer to redraw the status output that way. If @ivanminutillo wants to take some time to make this pretty, feel free. But I'm not all that concerned about aesthetics for a quick demo.
Updating tactic here: let's just aim straight for queries against the Holochain backend schemas, rather than NRP. You can use the NRP API schema as a guide when writing, just omit the top-level
viewerQuery
block from the bindings you write.None of your queries will work yet because
src/graphql-adapter/src/queries.ts
needs to be implemented in order to bind the GraphQL API to the Holochain API (see #4)- but completing this task should make it clear what needs to be done there.