Fork me on GitHub
#hyperfiddle
<
2018-11-20
>
Dustin Getz14:11:28

@alexandrkozyrev Paste this stage, like in this screenshot:

Dustin Getz14:11:33

[[:db/add "-1510509501" :link/rel :hf/remove]
 [:db/add 17592186046654 :fiddle/links "-1510509501"]
 [:db/add "-1510509501" :link/path "0"]]

Dustin Getz14:11:26

link/rel is one of seven choices, listed in the tooltip link/path is a path into the Datomic query/pull. Here, 0 means find-element index 0 Most of the fiddle/links table is automatic, the default values are almost always what you want. The link/rel indicates your intent and we use that to do the right thing

alexandrkozyrev18:11:59

works like a magic

Dustin Getz18:11:11

Does it make sense?

alexandrkozyrev18:11:30

yes it does, are there example “tanks” for each kind of built-in rel?

Dustin Getz18:11:21

Yeah, but not very organized, i will improve that in the next couple days. Also, if you toggle from "view" to "data" hyperfiddle will auto generate a pattern of links for an admin dashboard

Dustin Getz18:11:54

That is only visible in development – in production, you have to model any links you want

Dustin Getz18:11:04

We are deploying right now sry

alexandrkozyrev18:11:33

“cljs-ns” is at the bottom - hurra-a-a-y!