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

Expression & Ontology creation palette #8

Draft
wants to merge 266 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
266 commits
Select commit Hold shift + click to select a range
d009fa2
Refactor languages language to use public npm packages
lucksus Apr 30, 2021
34565a8
Refactor shared-perspectives language to use public npm packages
lucksus Apr 30, 2021
7423f57
Refactor shared-perspectives language to use public npm packages
lucksus Apr 30, 2021
8af42c0
Refactor note-ipfs language to use public npm packages
lucksus Apr 30, 2021
4f076f1
package-lock
lucksus Apr 30, 2021
361f125
Remove directory main-thread replaced by ad4m-executor
lucksus Apr 30, 2021
69a1167
Remove tsc from build step since there are no TS files left after rep…
lucksus May 10, 2021
44c88f8
package-lock.json
lucksus May 10, 2021
100f435
Add get-languages build step to download pre-build languages
lucksus May 10, 2021
bb47bcc
.nvmrc added
lucksus May 13, 2021
ed5ec9b
Update ad4m-executor dep
lucksus May 13, 2021
d382ce8
Merge branch 'master' of github.com:perspect3vism/perspect3ve
lucksus May 13, 2021
91a7e0d
Update missed import paths after repo reorg
lucksus May 13, 2021
5b06066
Fix social-context build URL
lucksus May 13, 2021
e1bdfd9
Replace util/rollup-plugin-hc-dna.js with @perspect3vism/rollup-plugi…
lucksus May 13, 2021
d81d935
Fix import of badly named ad4m/Links
lucksus May 13, 2021
16e7f59
Remove unused rollup import
lucksus May 13, 2021
3f45c36
Languages' package-lock files
lucksus May 13, 2021
93bb7b7
Add react as dep to avoid svelte/rollup warning
lucksus May 13, 2021
9053c39
Extract build-ui as separate step
lucksus May 13, 2021
f84c549
Replace ipfs-links with socail-context in languages list
lucksus May 13, 2021
2b21e51
Update @perspect3vism deps
lucksus May 13, 2021
f711903
package-lock
lucksus May 13, 2021
3720f5b
Update README with working build steps and clean up after repo reorg
lucksus May 15, 2021
de278a3
Remove unused signal callback
lucksus May 17, 2021
f0d5f55
Download social-context DNA as well
lucksus May 17, 2021
8b412b5
Update ad4m-executor to 0.0.6
lucksus May 17, 2021
ec31267
WIP: online peers view
lucksus May 17, 2021
ee02479
"Perspectivism" -> "Perspect3ve"
lucksus May 17, 2021
eb5f9e8
Fix build of languages language - use pinned HDK version
lucksus May 27, 2021
f89962c
Update PUBLISH_PERSPECTIVE query
lucksus May 27, 2021
beaa9b4
Update ad4m-executor version
lucksus May 27, 2021
3a1556a
Upate Social-Context version
lucksus May 27, 2021
79989a0
Make PeersView actually work
lucksus May 27, 2021
4e5b755
Refactor extract class World from PeersView into context object
lucksus May 28, 2021
04241a5
Ignore .hc files
lucksus May 28, 2021
e79115c
No duplictes in result of World.getOnlinePeers()
lucksus May 28, 2021
b0e1dc4
Call new fn ad4mCore.initLanguages() on boot
lucksus May 28, 2021
cb74f45
Add tsc back in
lucksus May 28, 2021
8fbdf69
WIP: user controller that manages and user's default perspectives
lucksus May 28, 2021
e73f89a
Aggregate and show agent data (name, avatar, publicPerspective) in Pe…
lucksus May 28, 2021
2bf7c18
WIP: open peer perspectiv from PeersView
lucksus May 29, 2021
b3d419a
Fix opening of already installed perspectives by adding missing `shar…
lucksus May 31, 2021
8986f00
Add nix-shell for current develop head of holochain
lucksus Jun 1, 2021
a83913b
Build languages language against HDK 0.0.101-alpha.0
lucksus Jun 1, 2021
e6d9bb0
Retrieve profiles DNA for agent-profiles from GH release
lucksus Jun 1, 2021
849b9bb
Bump languages and nix-shell to rev 1ff2cc2935e6a2bfbb95aef5f2860eb09…
lucksus Jun 4, 2021
0845e73
Quick-fix agent-profiles language after updating profiles DNA
lucksus Jun 4, 2021
dd4949b
Add script for creating symlinks to binaries in nix-shell
lucksus Jun 4, 2021
4d5b2a6
Adjust to new ad4m.init() config parameter style
lucksus Jun 7, 2021
f298b87
Feature: showing raw expression data in expression browser
lucksus Jun 7, 2021
73f6bc7
Refactor __world perspective as bootstrap fixture to ensure same link…
lucksus Jun 7, 2021
177e917
Bump ad4m-executor version to 0.0.12
lucksus Jun 8, 2021
68a771c
Update build and run instructions
lucksus Jun 8, 2021
462a2ea
Simplify build - everything in `npm run build`
lucksus Jun 8, 2021
27140fd
Update Social-Context to v0.0.4
Jun 15, 2021
d5b6dda
Adjust ad4m imports for refactor
lucksus Jul 1, 2021
3567c23
Point ad4m/ad4m-executor to local repos for now
lucksus Jul 1, 2021
0bc99ab
WIP: refactor gql queries - keystore unlock/init working
lucksus Jul 2, 2021
437d9c9
Deactivate user.ts for now
lucksus Jul 2, 2021
f333d02
Fix build
lucksus Aug 4, 2021
e44ca58
Overwrite symlinks if exist
harlantwood Aug 23, 2021
5a50a07
Merge pull request #3 from perspect3vism/overwrite-symlinks
lucksus Aug 28, 2021
c8f0fb9
Update ad4m-executor to 0.1.7 and languages
lucksus Aug 30, 2021
57f8636
Use @peculiar/webcrypto for now to fix this nasty node crypto problem
lucksus Aug 30, 2021
55edb8a
Fix name of neighbourhoods language
lucksus Sep 1, 2021
211f952
Add postinstall that takes default.nix from ad4m-executor
lucksus Sep 1, 2021
432129c
Convert splash over to Ad4mClient
lucksus Sep 1, 2021
f97e252
Fix ad4m imports
lucksus Sep 1, 2021
96ccdf5
Fix some old queries
lucksus Sep 1, 2021
f90dee1
Deactivate world stuff
lucksus Sep 1, 2021
a262063
Migrate App and MainView over to Ad4mClient
lucksus Sep 1, 2021
0a83502
Migrate Perspective.svelte over to Ad4mClient
lucksus Sep 2, 2021
8f3578b
Turn off graphql cache
lucksus Sep 2, 2021
537d4a8
Migrate ExpressionIcon.svelte over to Ad4mClient
lucksus Sep 3, 2021
7ad7b9a
Migrate LanguagesSettings over to Ad4mClient
lucksus Sep 3, 2021
45e2285
WIP: PerspectiveSettings.svelte with neighbourhood publishing
lucksus Sep 5, 2021
e27e363
WIP: new language cloning in PerspectiveSettings.svelte
lucksus Sep 10, 2021
db61738
No need to build languages - all used ones are downloaded
lucksus Sep 10, 2021
6ec0a8f
Update all Perspect3vism deps
lucksus Sep 10, 2021
110df14
Make Neighbourhood publishing work again
lucksus Sep 10, 2021
477a713
Show LinkLanguage meta in Perspective settings when shared
lucksus Sep 10, 2021
e77a947
don't run create-symlinks on build, it gets run on postinstall
lucksus Sep 12, 2021
caa8c9e
AgentProfileSettings working with new ad4m version
lucksus Sep 12, 2021
60b146f
Bump ad4m
lucksus Sep 12, 2021
99f7895
Deal with bad states PerspectiveSettings.svelte
lucksus Sep 12, 2021
c42d0c0
AgentProfile view handle Literal exceptions
lucksus Dec 3, 2021
75fd72a
Update ad4m-executor and languages
lucksus Dec 3, 2021
80ff8b8
Refactor Expression Author view to use agent perspective
lucksus Dec 3, 2021
fee58c1
Fix perspective edit view
lucksus Dec 3, 2021
d253b0e
Update ad4m deps
lucksus Dec 3, 2021
832e326
Update note-ipfs lang
lucksus Dec 5, 2021
918902c
Merge pull request #4 from perspect3vism/ad4m-refactor-0.1.0
lucksus Dec 5, 2021
b43284e
WIP: Zumly <> Svelte POC
lucksus Dec 10, 2021
77e1fc3
Exatract PerspectivesStore from MainView
lucksus Dec 14, 2021
e8ec95e
Position zoom container
lucksus Dec 14, 2021
ca8ba61
WIP: code to render perspectives in zoom root (can't get svelte context)
lucksus Dec 14, 2021
5736069
Set new Zumly parameter `componentContext` to make Svelte comps work
lucksus Dec 14, 2021
a91c46d
Indentation
lucksus Dec 14, 2021
f49fc89
Make Perspective.svelte work inside Zumly by init'ing with UID
lucksus Dec 14, 2021
edfb74f
z-view positioning with temp. debugging border
lucksus Dec 14, 2021
782d872
z-view global styles
lucksus Dec 14, 2021
51a9916
Remove z-view from ZoomRoot as it is added by Zumly
lucksus Dec 14, 2021
80c2906
Catch some mouse events in Perspective.svelte to prevent Zumly zooming
lucksus Dec 15, 2021
f75c202
cleanup
lucksus Dec 15, 2021
4b5b1ca
Use new published Zumly version
lucksus Dec 16, 2021
c7e737b
Merge branch 'zumly'
lucksus Dec 16, 2021
5c97361
PerspectiveWrapper
lucksus Dec 16, 2021
2434a6e
Remove side bar from Perspective
lucksus Dec 16, 2021
a5a1e5c
Perspective styles with blue frames
lucksus Dec 16, 2021
2d93267
PerspectiveSettings working in PerspectiveWrapper
lucksus Dec 16, 2021
b5afb7f
ZoomRoot bubbles
lucksus Dec 16, 2021
10b8dac
clean
lucksus Dec 16, 2021
a17b6ba
Zoom parameters
lucksus Dec 16, 2021
76e1e03
PerspectiveWrapper for agent perspective
lucksus Dec 16, 2021
85f7ba3
Extract LinksStore.ts
lucksus Dec 17, 2021
6473608
cleanup
lucksus Dec 17, 2021
27b4439
cleanup
lucksus Dec 17, 2021
d1c07d9
Add VisGraph with Josh's code from neighbourhood-link-vis
lucksus Dec 17, 2021
16456b9
Add @smui/tab
lucksus Dec 17, 2021
e4b2051
Only show one perspective in VisGraph
lucksus Dec 17, 2021
5c793a4
Render ExpressionIcons over graph nodes
lucksus Dec 17, 2021
965e5da
Comment out child nodes in ExpressionIcon
lucksus Dec 17, 2021
7494699
Update graph when perspective links change
lucksus Dec 17, 2021
0fa9398
Update position of ExpressionIcons in all cases
lucksus Dec 17, 2021
10551ac
Only render ExpressionIcon when URL is valid
lucksus Dec 17, 2021
ff62f91
Rendering Literals differently
lucksus Dec 18, 2021
1a13644
Non-hierarchical graph rendering options
lucksus Dec 18, 2021
2fbaed8
No outline on vis-network
lucksus Dec 18, 2021
d8d189d
Switch header/content context menu
lucksus Dec 18, 2021
d76ca83
"Unlink expression" also working on sources
lucksus Dec 18, 2021
94a932f
Copy expression URL
lucksus Dec 18, 2021
0f37d96
Side panel
lucksus Dec 18, 2021
f6a2e36
WIP: Perspective REPL (scope not working yet)
lucksus Dec 18, 2021
85e0599
LinkWizard
lucksus Dec 19, 2021
c857eec
Add link from context menu using LinkWizard
lucksus Dec 19, 2021
d1be87b
LinkContextMenu for deleting links
lucksus Dec 19, 2021
fb9bff4
WIP: ExpressionConstruction Wizard working with Literals
lucksus Dec 20, 2021
2ab8454
Reset wizards on open
lucksus Dec 20, 2021
e814a41
Creating of expressions through wizard
lucksus Dec 20, 2021
1a6e80b
Show target in expression wizard dialog
lucksus Dec 20, 2021
7ad63fb
cleanup
lucksus Dec 20, 2021
99b5f49
WIP: language icons
lucksus Dec 20, 2021
fb0992c
Add child expression from context menu
lucksus Dec 20, 2021
3391107
Make sharing neighbourhoods work again w/ linklanguage fixture
lucksus Dec 20, 2021
5bce1f7
Add missed changes to package.json
lucksus Dec 20, 2021
2b2e6c9
Zoom into Neighbourhood expressions. Needs z-index hacking.
lucksus Dec 20, 2021
43c3494
Longer graph edges
lucksus Dec 21, 2021
b046027
Prolog repl
lucksus Dec 21, 2021
515ecde
Handle true/false in PerspectiveShell
lucksus Dec 21, 2021
4a2e539
Prolog/SocialDNA view
lucksus Dec 21, 2021
d02c1d1
Correctly show true/false in perspective shell
lucksus Dec 22, 2021
3fa34da
Catch key event to prevent Zumly from zooming when entering text
lucksus Dec 22, 2021
b08c9cd
Shell format multi-variable results
lucksus Dec 22, 2021
50549b0
Social DNA code syntax highlighting
lucksus Dec 22, 2021
cced65c
Show customActions as button for selected expression
lucksus Dec 22, 2021
38aa7fa
Remove debugger statement
lucksus Dec 22, 2021
188c725
Handle object-literals in PerspectiveGraph, show stringified
lucksus Dec 23, 2021
2456b5e
Implement executeCustomAction() for array/object representation of code
lucksus Dec 23, 2021
bcbf0de
ActionsView
lucksus Dec 23, 2021
2b7ea4c
Hierarchical repulsion
lucksus Dec 26, 2021
3ae3b2e
VisGraph hides nodes where "hiddenExpression(X)" holds
lucksus Dec 28, 2021
1bad97b
Add toggling of prolog zomes
lucksus Dec 28, 2021
95c2dba
Make sure 'hidden' gets correctly initialized on change/update
lucksus Dec 28, 2021
3d71a40
Hidden string literals need special care
lucksus Dec 29, 2021
695789a
Fix customActions with double qoutes
lucksus Dec 29, 2021
ba24512
Add virtual-icon language to get-languages script
lucksus Dec 29, 2021
9b23a21
New splash
lucksus Jan 2, 2022
afd724d
Dashboard background
lucksus Jan 2, 2022
9f4bbbc
Perspective thumbs with silver flower icon
lucksus Jan 2, 2022
3c44a6e
Proper shutdown & update Electron 10 -> 16
lucksus Jan 6, 2022
b67d7a5
dashboard-background source file
lucksus Jan 6, 2022
1d4e975
Dashboard with Vis graph
lucksus Jan 6, 2022
686203d
Reduce drawer to settings & Cleanup MainView
lucksus Jan 6, 2022
705b695
Update ad4m and ad4m-executor to new releases
lucksus Jan 7, 2022
607ff46
README update
lucksus Jan 7, 2022
e0f2e68
Fix screenshot path
lucksus Jan 7, 2022
e0b4b46
Merge pull request #5 from perspect3vism/perspective-views
lucksus Jan 7, 2022
b9f396e
Have agent perspective initialized in all cases
lucksus Jan 7, 2022
bcb1dac
Update Social Context
lucksus Jan 20, 2022
d84fd39
Update ad4m and executor and linkListener handling with it
lucksus Jan 24, 2022
d3389ee
Update languages and fixtures
lucksus Jan 24, 2022
b1c0a11
Fix updating of PrologExpressionView
lucksus Jan 25, 2022
ccaa63d
Update agent-language
lucksus Jan 26, 2022
3377ca7
Try parsing expression data in ExpressionIcon
lucksus Jan 26, 2022
7451ff8
initial pass at connecting to ad4min
weswalla May 24, 2022
1c09ab0
connect to executor spawned by ad4min
weswalla May 24, 2022
c1c37d2
read port from config and connect to running executor
weswalla May 26, 2022
0090af0
optionally spawn executor when running in dev mode
weswalla May 31, 2022
fc3b293
prompt agent unlock from perspect3ve when connecting to ad4min spawne…
weswalla Jun 1, 2022
0145bf5
Use perspect3vism/appdata-path for portability
lucksus Jun 14, 2022
ad78d7a
basic first pass at requesting capability from ad4min
weswalla Jun 25, 2022
3893e27
Fix path for deployment
lucksus Jun 22, 2022
e4a549e
electron-forge
lucksus Jun 27, 2022
fcdc6b8
App icon
lucksus Jun 27, 2022
c059012
request capability dialog in main app window
weswalla Jun 27, 2022
9a3fb5d
Move capability dialog to splash screen
lucksus Jun 27, 2022
81d2882
Move capability dialog to splash screen
lucksus Jun 29, 2022
2bd877d
Update to latest executor and fix dev spawning of executor
lucksus Jun 29, 2022
22b24a6
Update node-sass to fix build
lucksus Jun 29, 2022
c4cd2a5
naive persistance of capability token
weswalla Jun 30, 2022
425c6b6
check if stored jwt is valid, request new one if not
weswalla Jun 30, 2022
02349eb
show user if code is invalid
weswalla Jun 30, 2022
eeb5065
change text on dialog depending on if jwt is corrupted or non-existent
weswalla Jul 1, 2022
4fe2813
Merge pull request #12 from perspect3vism/capability-storage
lucksus Jul 4, 2022
6778ca7
Merge pull request #11 from perspect3vism/electron-package-deployment
lucksus Jul 4, 2022
b03596c
Merge branch 'ad4min-connection' into capability-request
lucksus Jul 4, 2022
eb4e92b
Fix re-requesting of cap token
lucksus Jul 7, 2022
5dfd931
Merge pull request #10 from perspect3vism/capability-request
lucksus Jul 10, 2022
110f617
Merge pull request #9 from perspect3vism/ad4min-connection
lucksus Jul 10, 2022
f8424c1
Set window icon (=desktop icon on Linux)
lucksus Jul 11, 2022
9dcf7da
Update executor version and adjust config dir handling
lucksus Jul 11, 2022
59fc94f
Linux .deb and .zip packaging
lucksus Jul 11, 2022
b291c84
GH CI release task
lucksus Jul 11, 2022
e39b0e7
Fix workflow file
lucksus Jul 11, 2022
f41d7fe
Don't run create-symlinks on postinstall to not break nix-less CI
lucksus Jul 11, 2022
d357a76
Windows .ico logo and deployment
lucksus Jul 11, 2022
45f23a6
Add msvs to Windows release CI
lucksus Jul 11, 2022
e98b0a5
Publish all macOS release files
lucksus Jul 11, 2022
7e51c76
Include more VS versions in release CI
lucksus Jul 11, 2022
4f09452
Fix msbuild version string
lucksus Jul 11, 2022
ac26e9e
Remove version range
lucksus Jul 11, 2022
80152eb
Try ilammy/msvc-dev-cmd@v1 for Windows CI build
lucksus Jul 12, 2022
b097bd6
Try npm i -g windows-build-tools
lucksus Jul 12, 2022
4dd4534
Beautify and generalize CapabiltyDialog (WIP)
lucksus Jul 13, 2022
c3ba14e
Extract Electron IPC out of CapabilityDialog
lucksus Jul 13, 2022
8839c62
Add optional QR scanner button
lucksus Jul 13, 2022
64f9e07
Extract onMount from CapabilityDialog
lucksus Jul 13, 2022
7c13199
Use (local) ad4m-connect
lucksus Jul 13, 2022
07486c1
Update executor and config path handling
lucksus Jul 13, 2022
8871498
Use published v0.0.1 of ad4m-connect
lucksus Jul 14, 2022
7fb9c34
Make npm run dev work again
lucksus Jul 14, 2022
6cba3fd
SDNA buttons
lucksus Jul 14, 2022
7de2991
Update ad4m-connect to v0.0.2
lucksus Jul 14, 2022
0977068
Extract urlToNode() from loadConnectedLinks()
lucksus Jul 18, 2022
5691afa
writeNodePositions()
lucksus Jul 18, 2022
cba0276
Catch case when no SDNA flows are defined
lucksus Jul 18, 2022
145d597
Fix retrieval of node position
lucksus Jul 18, 2022
6e9b504
Don't render nor store position of position nodes
lucksus Jul 18, 2022
3dd6ef7
Autosaving node positions
lucksus Jul 23, 2022
302697b
Debounce PerspectiveWrapper updateToolbar()
lucksus Jul 23, 2022
211766a
PerspectiveWrapper toolbar update speed improved
lucksus Jul 26, 2022
8ef64b4
Import typed version of vis-network
lucksus Jul 26, 2022
862b7d4
Ontology class definitions with decorations
lucksus Jul 27, 2022
693aa25
Fix for when new ontology decorations are not defined
lucksus Jul 28, 2022
6ffccc0
Basic palette mark-up added
lucksus Jul 28, 2022
a3d5db2
Extract `executeCustomAction()` to reuse
lucksus Jul 28, 2022
e782be7
Make palette clickable with z-index
lucksus Jul 28, 2022
ad7e237
Clicking of ontology classes in palette creates expression with tag
lucksus Jul 28, 2022
57cfe35
style fixes
lucksus Jul 29, 2022
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
AgentProfile view handle Literal exceptions
  • Loading branch information
lucksus committed Dec 3, 2021
commit c42d0c022f675a8bc2e761e47a25585a19e2c4d1
20 changes: 17 additions & 3 deletions src/ui/AgentProfileSettings.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,23 @@
let agentPerspective

async function populateUiFromPerspective() {
firstName = Literal.fromUrl(await agentPerspective.getSingleTarget({source: did, predicate: 'foaf://givenName'})).get()
lastName = Literal.fromUrl(await agentPerspective.getSingleTarget({source: did, predicate: 'foaf://familyName'})).get()
email = Literal.fromUrl(await agentPerspective.getSingleTarget({source: did, predicate: 'foaf://mbox'})).get()
try {
firstName = Literal.fromUrl(await agentPerspective.getSingleTarget({source: did, predicate: 'foaf://givenName'})).get()
}catch(e) {
firstName = "<not set>"
}

try {
lastName = Literal.fromUrl(await agentPerspective.getSingleTarget({source: did, predicate: 'foaf://familyName'})).get()
}catch(e) {
lastName = "<not set>"
}

try {
email = Literal.fromUrl(await agentPerspective.getSingleTarget({source: did, predicate: 'foaf://mbox'})).get()
}catch(e) {
email = "<not set>"
}
}

async function init() {
Expand Down