Fork me on GitHub
#reveal
<
2022-08-31
>
comptedeouf22:08:09

Would it be possible to • optionally pin the context menu so that it doesn’t disappear when reveal loses the focus. I often need to copy multiple things into the context menu editor (for instance when applying a filter to a collection selected in reveal). I use clippy (clipboard history) to select what I want to copy but each time clippy pops-up reveal loses the focus and the context menu disappears. I must write everything in another editor and copy paste it to the reveal context menu. • Have a list of the most recent expressions entered in the editor so they can be selected and run again against a different dataset.

vlaaad18:09:54

I think a list of recent forms would be very useful, I frequently need it

vlaaad18:09:34

re #1, have you thought about creating custom actions, would that work?

comptedeouf20:09:16

#1 I am using actions a lot, it’s a great feature. But when I am exploring data that is not familiar I apply filter/map and very often want to paste a few different values for instance (filter #(= “toto” (:field %)) *v) in that case I would mostly want to paste in “toto” and :field values that I’ve copied into clippy. Then again it might be possible to have an action bring out a pinned editor not sure how to move the expression to the context menu editor once done editing it or how to access the highlighted collection through *v.

vlaaad20:09:05

Yes, I understand. I think something like that would be great. I'm not sure how to implement it :)

vlaaad20:09:27

Btw have you considered using table view and applying sorting (e.g. Alt+Up) on :field as an alternate to filtering?

comptedeouf23:09:32

another maybe simpler approach would be to not clear the context menu editor when it closes ?

vlaaad14:09:43

I released an update to Reveal that adds eval form history for starters 🙂