This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-13
Channels
- # babashka (1)
- # beginners (11)
- # cider (8)
- # clj-kondo (7)
- # clojure (35)
- # clojure-italy (2)
- # clojurescript (6)
- # conjure (5)
- # datomic (10)
- # duct (7)
- # fulcro (9)
- # helix (2)
- # introduce-yourself (5)
- # lsp (3)
- # malli (7)
- # meander (3)
- # off-topic (8)
- # pathom (3)
- # podcasts-discuss (2)
- # portal (9)
- # reitit (7)
- # releases (3)
- # shadow-cljs (43)
- # sql (25)
- # tools-deps (3)
• Records can now be viewed as maps • Remove incognito chrome flag for chrome app • Improve table viewer ◦ Distinguish header rows / columns from data ◦ Highlight row / column as you hover over elements ◦ Fix path for selected value • Map `META` in shortcuts to `⌘` for mac users • Add selected path with copy button to bottom of portal • Add `:portal.viewer/relative-time` for instants ◦ ex: `1 day ago` • Add `:portal.viewer/date-time` for instants ◦ ex: `6/12/2021 6:32:28 PM` • Viewers that parse data have a tab to get back to the original value
Hi @U1G869VNV, Do you have plan to support Portal Atom on Node runtime? I am interested on this feature.
Hi @UNKNGH2EL, I can add node support but it would have to return a promise on deref because it needs to make a call to the client to get the currently selected value. Would that still be useful for you?
I am thinking that atom is necessary to be a promise. In my use case, after I selected the value from the view, I will switch back to my editor and pull the value from atom then do some experiments. In local environment, the value should be returned instantly.
I traced the code that ui can invoke server function like clear-values
. Maybe it could be implemented by this mechanism. When ui selected the value, pass the value to server and update the portal atom. I did try to implement it, however it is a little complicated for me now.