Hey there. Is there a mouse/keyboard command in reveal that would clear the output panel?
I'm using reveal only as a tap as described in https://vlaaad.github.io/reveal/#ui and couldn't get the editor commands work for some reason
it is Ctrl-L https://github.com/vlaaad/reveal/pull/14#issuecomment-741992148
Thank you sir! I only checked the user guide and it wasn't there
although it doesn't appear to be working...
It seems that my reveal window doesn't see ctrl
being pressed. I'm on a mac. Checked global shortcuts and I don't seem to have anything clashing
weird...
Same for all other ctrl or alt shortcuts
weird indeed
How about clear command? have you tried evaluating (tap> {:vlaaad.reveal/command '(clear-output)})
?
it doesn't work either but I might have found something. Seems I'm using some old version
PEBKAC
yeah totally
sorry for being a muppet
tapping commands also works now
Excellent! Thank you!
Hi! Why is my reveal not following the output at the end of the window like with less or something? Is there some config I have to set?
That is one of my peeves as well, it starts off well, then somehow, it gets "stuck" and doesn't advance onwards whenever new output is sent to it. I suspect, that a focus on it, moving up and down the scrollbar does this.
it does autoscrolling when latest value is selected, if you select something else it wont autoscroll
Nothing is selected
otherwise it is hard to explore if newly submitted values constantly move selection
if there is output, there is selection
with that said, I also find this behavior annoying as hell, Iβll add more heuristics to determine when to autoscroll
I'm playing with reveal and portal, to see which works for me (both are great). A thing I like about portal is that puts the latest to the top, and pushes the rest down.
so latest is always on top
yeah thatβs nice
Hey folks, I just released 1.3.195
with 2 important changes:
β’ auto-scrolling to bottom is more aggressive β big QoL improvement!
β’ fixed exception on submitting sorted collections that don't contain keywords
@vlaaad I just noticed that the code input field no longer works: if I select, say, a sequence value and press space, then type (count *v)
in the input field, nothing submits it. return
/`enter` used to work but it no longer does anything.
Hmm, weird. It seems to work standalone. Will continue digging...
It works on some sequences and not on others. Odd.
I can't see any obvious pattern to what works and what doesn't. I have a big nested data structure and I can run code on some of the values inside it, but not on their surrounding hash maps or lazy sequences π
You mean this was introduced in 1.3.195
? odd... I can't reproduce it, (count *v)
works on maps as well as seqs...
maybe there is an exception stacktrace somewhere in some process output?
can you share example sequence where it doesn't work?
Not easily. It's big data structure full of Google Cloud AI Vision API result objects π
Now I've transformed the result to pure Clojure data, it all works again, so it seems to be something about data structures containing Java objects?
Hmm, eval in action popup embeds selected value in code (i.e. changes the form), perhaps it fails in some cases
I'll look into that tomorrow, it's almost midnight here...
It was initially a sequence built by (for [obj google-objs] (bean obj))
But those Google objects are crazy nested objects-within-objects stuff. Ugh!
Actually I was wrong, it doesn't embed objects in form...