This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-10-18
Channels
- # announcements (12)
- # babashka (6)
- # beginners (62)
- # calva (3)
- # cider (41)
- # clerk (5)
- # clojure (192)
- # clojure-bay-area (1)
- # clojure-europe (14)
- # clojure-norway (97)
- # clojure-uk (6)
- # clojuredesign-podcast (4)
- # clojurescript (30)
- # code-reviews (7)
- # cursive (32)
- # datahike (4)
- # datomic (35)
- # docker (8)
- # emacs (8)
- # events (1)
- # fulcro (13)
- # helix (19)
- # hoplon (4)
- # hyperfiddle (37)
- # jobs-discuss (10)
- # membrane (11)
- # missionary (19)
- # off-topic (28)
- # polylith (8)
- # portal (10)
- # practicalli (8)
- # re-frame (31)
- # reitit (6)
- # shadow-cljs (39)
- # timbre (3)
- # vim (1)
- # xtdb (6)
super simple test runner I've started using: https://github.com/JJ-Atkinson/portal-test-reporter/commits/master
I've bound it to a repl command, and (run-test {} \*ns\*)
works great with intellij change repl ns
.

I feel like I just added the source-location viewer, it's cool to see it getting usage here! It looks like you made really good use of the hiccup + portal viewers in general in your implementation 👏
Our of curiosity, how did you go about building this / finding out all the Portal bits you needed to know to get this working?
In terms of...? Presumably the hiccup support for nested viewers? I saw hiccup support and figured "If I implemented this, I'd have made a way to nest custom viewers in it". Since I didn't see it mentioned in the docs I went to the hiccup viewer source and read what it does 😂. Found a couple usages in the cljdoc viewer. While looking at the clj doc viewer I realized it's what rendered the help system, and looking at that I found example usages for the source location viewer and relative time viewer.
Yeah, I think the hiccup nested viewer thing may only be mentioned in https://cljdoc.org/d/djblue/portal/0.48.0/doc/guides/default-viewer 😂 It might also be good idea to have a guide dedicated to it directly 👌