portal

https://github.com/djblue/portal
djblue 2021-06-13T01:54:34.017500Z

https://github.com/djblue/portal/releases/tag/0.12.0 🎉 :portal: 🎉

djblue 2021-06-13T01:54:52.017800Z

• 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

👏 2
🎉 3
andyhorng 2021-06-25T02:44:16.021100Z

Hi @djblue, Do you have plan to support Portal Atom on Node runtime? I am interested on this feature.

djblue 2021-06-25T05:11:14.021400Z

Hi @andyhorng168, 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?

andyhorng 2021-06-25T07:52:09.021600Z

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.

andyhorng 2021-06-27T04:10:48.021800Z

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.

djblue 2021-06-28T15:19:49.022300Z

That's an interesting idea. I'll have to look into this when I get some time. Feel free to link me your branch if you'd like to share your progress.

andyhorng 2021-06-29T02:13:35.022500Z

ok, thanks. I will give you my branch when I have some free time. it’s busy in work days.

👍 1
djblue 2021-06-13T01:56:38.017900Z

@plexus, I think you might be interested in the new record support 👌

💯 1