portal

Panel 2024-03-06T05:46:13.554259Z

Can I reverse the list of values ? Show new value at the bottom like in a terminal ?

djblue 2024-03-06T06:28:28.074169Z

Yup, https://cljdoc.org/d/djblue/portal/0.52.2/doc/guides/custom-tap-list is about how you do so 👍

❤️ 1
dmegas 2024-03-06T19:08:59.452789Z

I have trouble requiring clojure.zip in a custom viewer

Could not find namespace: clojure.zip.
   {:error #object[Error Error: Could not find namespace: clojure.zip.],
    :message "Could not find namespace: clojure.zip.",
    :op :portal.rpc/response,
    :portal.rpc/id 12}
              launcher.clj:  124  portal.runtime.jvm.launcher/eval-str
Any ideas? (`clojure.walk` for instance loads just fine)

djblue 2024-03-07T00:28:06.098919Z

This may not be included in the default set of namespace https://github.com/babashka/sciships with and I didn't manually add it for Portal 🤔

djblue 2024-03-07T00:30:38.450689Z

For now, I would make sure https://github.com/clojure/clojurescript/blob/master/src/main/cljs/clojure/zip.cljs is available on your classpath, Portal should be able to dynamically load it. I'll see about adding it to sci on the Portal side.

djblue 2024-03-07T00:35:37.599079Z

Well... that was easy enough https://github.com/djblue/portal/commit/cf1bf857434f5b08596738ab298064d0859f36f8, should roll out in the next release 👌

dmegas 2024-03-07T06:59:08.143639Z

Amazing, thank you very much! 🚀

djblue 2024-03-23T08:11:23.438709Z

Should now be available as part of 0.53.0 👌

dmegas 2024-03-23T11:24:56.441979Z

That’s great, thanks! Also, for my future reference, when you said ‘make sure that zip.cljs is available on my classpath’, how would I do that (since it’s a clojurescript namespace)?

djblue 2024-03-24T01:04:18.482809Z

Ohh, I just meant to make sure that ClojureScript was included as a dependency for your REPL process