This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-02-06
Channels
- # aleph (43)
- # announcements (11)
- # babashka (35)
- # beginners (70)
- # calva (4)
- # cider (8)
- # clerk (15)
- # clojure (192)
- # clojure-dev (7)
- # clojure-europe (44)
- # clojure-nl (2)
- # clojure-norway (65)
- # clojure-uk (4)
- # code-reviews (4)
- # conjure (1)
- # cursive (41)
- # data-science (1)
- # datomic (8)
- # emacs (7)
- # fulcro (13)
- # humbleui (17)
- # hyperfiddle (53)
- # kaocha (4)
- # malli (7)
- # missionary (17)
- # music (1)
- # obb (1)
- # off-topic (8)
- # polylith (1)
- # portal (3)
- # releases (11)
- # shadow-cljs (36)
- # squint (4)
- # tools-deps (4)
Hi, Is there a way to auto-expand all values in portal?
i’ve seen the commands expand-inc
and toggle-expand
which act of the selected value, but i’d like to automatically expand all values which are submitted to portal. Is that possible?
Currently, the easiest way to do this is to switch to the tree viewer which by default expands all nested values. You can also automatically set that as the default viewer in your tap handler via attaching metadata before submitting it to Portal. You can also use the https://github.com/djblue/portal/blob/master/src/portal/viewer.cljc#L86C7-L89 helper fn to set the metadata.
Thank you