diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7ea2962..7891136 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,11 +54,11 @@ importers: specifier: ^0.17.0-dev.7 version: 0.17.0-dev.7 '@leosprograms/graphql-client-holochain': - specifier: ^0.1.2 - version: 0.1.2(@apollo/client@3.8.10)(graphql@15.8.0) + specifier: ^0.1.3 + version: 0.1.3(@apollo/client@3.8.10)(graphql@15.8.0) '@leosprograms/vf-graphql-holochain': - specifier: ^0.1.2 - version: 0.1.2(graphql@15.8.0) + specifier: ^0.1.3 + version: 0.1.3(graphql@15.8.0) '@lightningrodlabs/we-applet': specifier: ^0.14.2 version: 0.14.2 @@ -1109,15 +1109,15 @@ packages: '@jridgewell/resolve-uri': 3.1.1 '@jridgewell/sourcemap-codec': 1.4.15 - /@leosprograms/graphql-client-holochain@0.1.2(@apollo/client@3.8.10)(graphql@15.8.0): - resolution: {integrity: sha512-RNq5VsAeKOE/IRRLhVBNhAoOPCJH3weM7R6unyOoQ5fTLdKs8zHUUJG2nHURcd8Z2VF6mgzAhj67uK4a9h6jMQ==} + /@leosprograms/graphql-client-holochain@0.1.3(@apollo/client@3.8.10)(graphql@15.8.0): + resolution: {integrity: sha512-zFeR2Vf2ww2/Vm/+NmzOtB5ns5zhkjFgXh3kBAKocSTZRhh4HxwHgGMKj/PsSLQZ2hgpYlJcouTmsKYBObOzLQ==} peerDependencies: '@apollo/client': '>=3' - graphql: '>=14' + graphql: '14' dependencies: '@apollo/client': 3.8.10(graphql@15.8.0) '@apollo/link-schema': 2.0.0-beta.3(graphql@15.8.0) - '@leosprograms/vf-graphql-holochain': 0.1.2(graphql@15.8.0) + '@leosprograms/vf-graphql-holochain': 0.1.3(graphql@15.8.0) graphql: 15.8.0 tslib: 2.6.2 transitivePeerDependencies: @@ -1129,10 +1129,10 @@ packages: - utf-8-validate dev: false - /@leosprograms/vf-graphql-holochain@0.1.2(graphql@15.8.0): - resolution: {integrity: sha512-dW2KJZd9aLSG40EXFBHzq7r+Cq79Q0BZSqM5+YE+rDQ/xmBhv/+/Z51yZ9VCGBhN8VNluo57Mm01xyiTMfVR2g==} + /@leosprograms/vf-graphql-holochain@0.1.3(graphql@15.8.0): + resolution: {integrity: sha512-K632jA/Qdqc4YFlIT8z+XwwhIB14aOieyGiePg0udaS5JkDt6SAq+n+kCxPK4c5hOfN+JhhoSW8QNqT2/YUU9w==} peerDependencies: - graphql: '>=14' + graphql: '14' dependencies: '@graphql-tools/schema': 9.0.19(graphql@15.8.0) '@graphql-tools/utils': 9.2.1(graphql@15.8.0) diff --git a/ui/package.json b/ui/package.json index c8dddcf..487996b 100644 --- a/ui/package.json +++ b/ui/package.json @@ -20,8 +20,8 @@ "@tailwindcss/forms": "^0.5.3", "@vaadin/date-time-picker": "^23.3.13", "@valueflows/vf-graphql": "^0.9.0-alpha.9", - "@leosprograms/graphql-client-holochain": "^0.1.2", - "@leosprograms/vf-graphql-holochain": "^0.1.2", + "@leosprograms/graphql-client-holochain": "^0.1.3", + "@leosprograms/vf-graphql-holochain": "^0.1.3", "date-picker-svelte": "^2.4.3", "dayjs": "^1.11.9", "graphql": "^15.8.0", diff --git a/ui/src/lib/PlanModal.svelte b/ui/src/lib/PlanModal.svelte index b73b578..3c8007b 100644 --- a/ui/src/lib/PlanModal.svelte +++ b/ui/src/lib/PlanModal.svelte @@ -32,6 +32,8 @@ // let name = '' // let note = '' + $: commitmentsSavedCount; + const dispatch = createEventDispatcher(); function checkKey(e: any) { @@ -599,7 +601,9 @@ } savingPlan = false; - goto(`/plans/update/${p.data.res.plan.id}`) + // goto(`/plans/update/${p.data.res.plan.id}`) + console.log("Go To Plan Update Page", encodeURIComponent(p.data.res.plan.id)) + goto(`/plans/update/${encodeURIComponent(p.data.res.plan.id)}`) diff --git a/ui/src/routes/plans/+page.svelte b/ui/src/routes/plans/+page.svelte index 4a8bacb..c2ead0f 100644 --- a/ui/src/routes/plans/+page.svelte +++ b/ui/src/routes/plans/+page.svelte @@ -126,7 +126,7 @@ class="relative whitespace-nowrap py-4 pl-3 pr-4 text-right text-sm font-medium sm:pr-3" >   diff --git a/workdir/happ.yaml b/workdir/happ.yaml index 22f9e27..249937b 100644 --- a/workdir/happ.yaml +++ b/workdir/happ.yaml @@ -18,96 +18,12 @@ roles: version: ~ clone_limit: 0 - - name: hrea_observation_0 + - name: hrea_combined_0 provisioning: strategy: create deferred: false dna: - bundled: "./hrea_observation.dna" - modifiers: - network_seed: ~ - properties: ~ - origin_time: ~ - quantum_time: ~ - version: ~ - clone_limit: 0 - - - name: hrea_specification_0 - provisioning: - strategy: create - deferred: false - dna: - bundled: "./hrea_specification.dna" - modifiers: - network_seed: ~ - properties: ~ - origin_time: ~ - quantum_time: ~ - version: ~ - clone_limit: 0 - - - name: hrea_agent_0 - provisioning: - strategy: create - deferred: false - dna: - bundled: "./hrea_agent.dna" - modifiers: - network_seed: ~ - properties: ~ - origin_time: ~ - quantum_time: ~ - version: ~ - clone_limit: 0 - - - name: hrea_planning_0 - provisioning: - strategy: create - deferred: false - dna: - bundled: "./hrea_planning.dna" - modifiers: - network_seed: ~ - properties: ~ - origin_time: ~ - quantum_time: ~ - version: ~ - clone_limit: 0 - - - name: hrea_proposal_0 - provisioning: - strategy: create - deferred: false - dna: - bundled: "./hrea_proposal.dna" - modifiers: - network_seed: ~ - properties: ~ - origin_time: ~ - quantum_time: ~ - version: ~ - clone_limit: 0 - - - name: hrea_plan_0 - provisioning: - strategy: create - deferred: false - dna: - bundled: "./hrea_plan.dna" - modifiers: - network_seed: ~ - properties: ~ - origin_time: ~ - quantum_time: ~ - version: ~ - clone_limit: 0 - - - name: hrea_agreement_0 - provisioning: - strategy: create - deferred: false - dna: - bundled: "./hrea_agreement.dna" + bundled: "./hrea_combined.dna" modifiers: network_seed: ~ properties: ~