Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Adds possibility to use holochain link language when sharing a perspective & Adds a new expression language: Junto Short Form #4

Open
wants to merge 48 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
374baac
add profiles dna
jdeepee Jan 4, 2021
df0f877
others fn in linkadapter to return promise
jdeepee Jan 4, 2021
c25c439
first pass of "social context" link language
jdeepee Jan 4, 2021
63b6784
cleanup of langs
jdeepee Jan 4, 2021
63899bb
remove gun-links & use bash oneliner for build-languages
jdeepee Jan 5, 2021
845a87f
ipfs links others() fn as async
jdeepee Jan 5, 2021
a66d20f
add missing rollup config for public social context links
jdeepee Jan 5, 2021
502295d
add dna.js to sc
jdeepee Jan 5, 2021
2a04526
script for cleaning holochain dir and building shortform
jdeepee Jan 5, 2021
a24c5f9
Merge remote-tracking branch 'upstream/develop' into develop
jdeepee Jan 7, 2021
8be6f86
styling tweaks to ConstructorIcon.svelte
cubanmercury Jan 7, 2021
b79b376
Merge branch 'develop' of github.com:jdeepee/perspectivism into develop
cubanmercury Jan 7, 2021
458f412
Merge branch 'master' of https://github.com/lucksus/perspectivism int…
jdeepee Jan 7, 2021
032ae88
Merge remote-tracking branch 'upstream/develop' into develop
jdeepee Jan 7, 2021
87e7de0
Merge remote-tracking branch 'upstream/develop' into develop
jdeepee Jan 8, 2021
e39f986
Merge remote-tracking branch 'upstream/develop' into develop
jdeepee Jan 8, 2021
4ba9d9a
Merge remote-tracking branch 'upstream/develop' into develop
jdeepee Jan 9, 2021
229b361
lock file
jdeepee Jan 9, 2021
704317c
Merge remote-tracking branch 'upstream/develop' into develop
jdeepee Jan 12, 2021
352ab54
Merge remote-tracking branch 'upstream/develop' into develop
jdeepee Jan 12, 2021
02e3cbc
fix imports
jdeepee Jan 12, 2021
24333b1
wire up basic social context link store
jdeepee Jan 12, 2021
3e196e5
return get_others response from link language directly
jdeepee Jan 12, 2021
c89850b
holochain link language now an option for a shared perpective
jdeepee Jan 13, 2021
5af7fb0
short form dna now integrates with acai much more closely by storing …
jdeepee Jan 14, 2021
3218bb1
Merge remote-tracking branch 'upstream/develop' into develop
jdeepee Jan 14, 2021
2e37891
add back gun-links
jdeepee Jan 15, 2021
604f43b
added integration with update & delete zome functions for social context
jdeepee Jan 15, 2021
49aad64
add gun links rollup files
jdeepee Jan 15, 2021
25ab785
remove dev cleanup script
jdeepee Jan 15, 2021
4b41132
Merge pull request #5 from lucksus/develop
lucksus Jan 18, 2021
9c494c5
Added missing rollup files for social context
jdeepee Jan 19, 2021
204e144
added possibility to insert seed into holochain link language such th…
jdeepee Jan 20, 2021
81721a8
Merge branch 'master' of https://github.com/lucksus/perspectivism int…
jdeepee Feb 13, 2021
18b4f9f
Merge branch 'develop' of https://github.com/lucksus/perspectivism in…
jdeepee Feb 13, 2021
0ac4ef0
Updated social context dna
jdeepee Feb 13, 2021
baf2845
use lucksus remote for forked deps
jdeepee Feb 13, 2021
01af3d0
update package lock
jdeepee Feb 13, 2021
1018d9b
add languages dna js file
jdeepee Feb 13, 2021
b76e77b
add languages dna js file
jdeepee Feb 13, 2021
359a490
fix holochain link language
jdeepee Feb 13, 2021
a5d73a5
Merge branch 'develop'
lucksus Feb 24, 2021
c025fc6
Rename directory ACAI -> AD4M plus more string/doc/path replacements
lucksus Feb 24, 2021
b31d052
More path renaming acai -> ad4m
lucksus Feb 24, 2021
4b4eb64
Rewrite AD4M README
lucksus Feb 24, 2021
d7640ab
Replace old screenshots with logo in main readme
lucksus Feb 24, 2021
93bec0c
Fix typo
lucksus Feb 24, 2021
ab91494
Merge remote-tracking branch 'upstream/master' into develop
jdeepee Mar 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added integration with update & delete zome functions for social context
  • Loading branch information
jdeepee committed Jan 15, 2021
commit 604f43b3e20fe8d49fbf5becd59a49ddf111924e
5 changes: 5 additions & 0 deletions src/languages/social-context/linksAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,14 @@ export class JuntoSocialContextLinkAdapter implements LinksAdapter {
}

async updateLink(oldLinkExpression: Expression, newLinkExpression: Expression) {
let source_link = prepareExpressionLink(oldLinkExpression);
let target_link = prepareExpressionLink(newLinkExpression);
await this.#socialContextDna.call(DNA_NICK, "social_context_acai", "update_link", {source: source_link, target: target_link})
}

async removeLink(link: Expression) {
let data = prepareExpressionLink(link);
await this.#socialContextDna.call(DNA_NICK, "social_context_acai", "remove_link", data)
}

async getLinks(query: LinkQuery): Promise<Expression[]> {
Expand Down
Binary file modified src/languages/social-context/social-context.dna.gz
Binary file not shown.