Skip to content

Commit

Permalink
Various updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Harlan T Wood committed Apr 21, 2023
1 parent e4cd520 commit a98edea
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion dnas/mewsfeed/coordinator_zomes/mews/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ hdk = {version = "=0.1.2", features = ["encoding"]}
itertools = "0.10"

[dev-dependencies]
holochain = { version = "=0.1.3", default-features = false, features = [ "test_utils" ] }
holochain = { version = "=0.1.4", default-features = false, features = [ "test_utils" ] }
# holochain = { git = "https://github.com/holochain/holochain.git", package = "holochain_wasm_test_utils", tag = "holochain-0.1.4" }
tokio = { version = "1.3", features = ["full"] }
futures = { version = "0.3.1", default-features = false }
serial_test = "*"
2 changes: 1 addition & 1 deletion dnas/mewsfeed/coordinator_zomes/mews/tests/mews_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use holochain::test_utils::consistency_10s;

use mews_integrity::*; // for the types

const DNA_FILEPATH: &str = "../../workdir/clutter.dna";
const DNA_FILEPATH: &str = "../../workdir/mewsfeed.dna";
const ZOME_NAME: &str = "mews";

#[tokio::test(flavor = "multi_thread")]
Expand Down
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
packages = with pkgs; [
# add further packages from nixpkgs
cargo-watch
nodejs
nodejs-18_x
sqlite # temporary workaround, should be fixed in holochain-0.1.5
];
};
};
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"cargo:clippy": "cargo clippy --all-targets --all-features -- -D warnings",
"cargo:clippy:watch": "cargo watch --clear -- npm run cargo:clippy",
"cargo:fmt": "cargo fmt",
"cargo:fmt:check": "cargo fmt --check"
"cargo:fmt:check": "cargo fmt --check",
"checks": "npm run cargo:fmt && npm run cargo:clippy && npm run lint"
},
"devDependencies": {
"@holochain-playground/cli": "^0.1.0",
Expand Down
21 changes: 9 additions & 12 deletions ui/src/components/TrustGraphWrapper.vue
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
<template>
<q-card square class="q-mb-md text-body1">
Adjust Trust in this Agent
( this goes below the agent avatar and name)
Adjust Trust in this Agent ( this goes below the agent avatar and name)
<!--
Indicator of how much trust you have in this agent - thermometer
click to edit
Becomes range selector
-->


<TrustGraphAtom
v-for="(atom, i) in atoms"
:key="i"
:value="atom"
@input="(val) => handleInput(val, i)"
/>

</q-card>
<TrustGraphAtom
v-for="(atom, i) in atoms"
:key="i"
:value="atom"
@input="(val) => handleInput(val, i)"
/>
</q-card>

<q-card square class="q-mb-md text-body1">
<q-checkbox v-model="allTopics" label="Add Trust Tags" />
<!--
<!--
Add Trust Ratings
Add Trust Tags
Expand Down
4 changes: 2 additions & 2 deletions ui/src/layouts/MainLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@
:to="{ name: ROUTES.basket }"
icon="basket"
label="Trusted Mews"
/>
<!--
/>
<!--
Trusted Mews
Trusted
-->
Expand Down
4 changes: 2 additions & 2 deletions ui/src/pages/BasketFeed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
<script setup lang="ts">
import CreateMewField from "@/components/CreateMewField.vue";
import MewList from "@/components/MewList.vue";
import { useClutterStore } from "@/stores";
import { useMewsfeedStore } from "@/stores";
import { pageHeightCorrection } from "@/utils/page-layout";
import { ActionHash } from "@holochain/client";
import { onMounted } from "vue";
const store = useClutterStore();
const store = useMewsfeedStore();
onMounted(store.fetchBasketFeed);
const onToggleLickMew = (hash: ActionHash) => store.reloadMew(hash);
Expand Down

0 comments on commit a98edea

Please sign in to comment.