This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-10
Channels
- # announcements (10)
- # aws (5)
- # babashka (81)
- # babashka-sci-dev (4)
- # beginners (100)
- # calva (60)
- # clj-kondo (34)
- # clojars (1)
- # clojure (30)
- # clojure-austin (12)
- # clojure-berlin (1)
- # clojure-europe (45)
- # clojure-italy (5)
- # clojure-losangeles (9)
- # clojure-nl (3)
- # clojure-norway (10)
- # clojure-spec (1)
- # clojurescript (8)
- # community-development (2)
- # conjure (5)
- # cursive (10)
- # data-science (2)
- # datalog (1)
- # emacs (4)
- # events (10)
- # fulcro (6)
- # jobs-discuss (8)
- # lambdaisland (3)
- # leiningen (2)
- # luminus (5)
- # membrane (61)
- # off-topic (8)
- # portal (5)
- # releases (20)
- # sci (25)
- # scittle (6)
- # shadow-cljs (25)
- # testing (6)
- # xtdb (11)
Hi, great project, Chris o/ For the JVM, am I able to call the server from a button click using the Hiccup viewer? I see that we have a handler function available in the browser and I’m able to call SCI from it (but it’s as if the state were always empty from the browser POV).
If I am not able to, I guess I can hack a little bit and create a small server and use the HTML viewer to do a fetch to this server.
Interactivity is something I want to support in Portal natively but haven't gotten around to making something that I would want to support long term. I think your solution works for now, but I do see a future where it's natively supported and a little easier.
Reveal-like sticker (sticks to a Portal window, not to your screen in this case) using a small server + some watchers for Portal (the entire server and system sticker code should be visible on the left!). I'm planning to use it to introduce new people to Clojure and to the system (in https://diataxis.fr/ jargon, this would be a Tutorial), I have seen that people take a long time to appreciate the REPL (or never reach there) and they feel anxious that they don't understand what's going on, Portal seems an excellent way to build small UIs with the accompanying text (the context) that we need (the flexibility in that you can choose any viewer for any small part is just tremendous). Particular to this system, it leverages Pathom 2 and Malli, so I have been able to generate Malli examples from Portal, have documentation about a given attribute (just a qualified keyword), navigate from one attribute to the applicable ones, and analyze Pathoms queries so we can check if an attribute is reachable from another one. Basically Portal as a https://dl.acm.org/doi/pdf/10.1145/358896.358899#:~:text=If%20it%20is%20to%20be,generaliza%2D%20tion%2C%20and%20specialization.. Appreciate this project, Chris, thank you very much o/