reveal

Lukas Domagala 2021-12-26T10:13:40.151800Z

that looks really nice, especially the dynamic signals. is that two way? i had a quick look at the implementation but still don’t understand cljfx:) and could i bind the signals to atoms for updates?

vlaaad 2021-12-28T17:32:27.155700Z

I'm working on signal listeners now

vlaaad 2021-12-27T08:06:41.153Z

Ah makes sense. I'll see what I can do

vlaaad 2021-12-26T11:16:00.152Z

It's one-directional, jvm->vis

vlaaad 2021-12-26T11:16:49.152200Z

You can use observable view to drive updates, see example in vlaaad.reveal/vega-view docstring

vlaaad 2021-12-26T11:18:48.152400Z

My concern with making it 2 directional is that serialization now also has to work 2 way, and it will bring complexity where e.g. map vals are keywords in JVM, then that are serialized to strings when converted to json, so you receive something else back

vlaaad 2021-12-26T11:19:46.152600Z

Can you describe the usecase for 2-directional signals communication?

Lukas Domagala 2021-12-26T19:23:35.152800Z

i’m displaying flamegraphs of the running repl code through vega. when you click on a trace i’d like to know in clojure so i can jump the ide to that function def, rerun that function or show a detailed view for arguments/return values. i’ve got a prototype in portal already, just didn’t have the time to finish yet, would be interesting to also get it working with reveal. the more general usecase would be user interaction for data reload/streaming