This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-16
Channels
- # adventofcode (1)
- # announcements (16)
- # babashka (7)
- # beginners (77)
- # calva (31)
- # cider (18)
- # clj-commons (16)
- # cljfx (5)
- # clojars (5)
- # clojure (33)
- # clojure-europe (15)
- # clojure-nl (1)
- # clojure-norway (15)
- # clojure-uk (4)
- # clojurescript (1)
- # conjure (1)
- # core-logic (7)
- # cursive (16)
- # data-science (4)
- # datalevin (6)
- # emacs (20)
- # events (5)
- # fulcro (15)
- # holy-lambda (1)
- # introduce-yourself (1)
- # jobs (2)
- # lsp (30)
- # luminus (3)
- # malli (3)
- # membrane-term (19)
- # missionary (62)
- # off-topic (39)
- # pathom (24)
- # polylith (5)
- # portal (9)
- # practicalli (3)
- # re-frame (16)
- # reagent (5)
- # remote-jobs (1)
- # reveal (21)
- # rewrite-clj (8)
- # shadow-cljs (13)
- # spacemacs (23)
- # sql (12)
- # timbre (2)
- # tools-deps (1)
- # xtdb (4)
Is it possible to send a value to the output panel from the results panel? Is this something that would be a normal reveal interaction?
I wouldn’t say it’s a normal Reveal interaction, why do you want to do something like that? It’s possible, but depends on your setup. If you create a Reveal window yourself, you can just call the function that manages the window to submit values. If you use Reveal as a REPL, usually using tap>
to submit values from anywhere is enough
Hmm. I see. I'm pondering what the right "show test diff" interaction is. I want to rely on reveal's deep-diff support, but I'm not sure where exactly the diff should go.
Oh, hmm… What’s currently possible with public APIs is using action-popup so you can use right click to execute some action
I think I could also create a button of sorts that executes action and opens new result panel, so you could use that…
Each level there is a popup-view. What I'm thinking is to allow an action to get attached to each one that is "show diff." It could either: 1) update the result panel to show a deep-diff view 2) open a new window showing a deep-diff view. TBH, I'm not sure how to do either 🙈 Given an object, what reveal view can I use to render it like it would be rendered in the output panel?
This is seriously awesome! It would be great to have this in Reveal. If you want to open source it, I'd be happy to maintain it as a part of Reveal
In that case it could have some extra state with currently shown diff, and your view can use that state to show the diff
> Given an object, what reveal view can I use to render it like it would be rendered in the output panel? rx/value-view
Yep! atom+observable-view. I just collect the events and have a single function to interpret the events as the above structure.
Yeah, I don't really care how it is made available. Native in reveal makes the most sense long term for sure.
I was thinking I finish the ui in a library, share it for feedback, and then open a pr against reveal to get it added?