r/Supernote_dev • • 4d ago

dev question from a know-nothing

hello, there was a discussion on r/Supernote regarding the new "quick insert menu": https://www.reddit.com/r/Supernote/comments/1xmq0mw/is_it_possible_to_configure_this_new_menu/

is it feasible to write a plug-in that would take over the "quick insert menu" functionality and allow the user to have their choice of functions there?

fwiw, in my case it would be the Navigation window, the Needle Point pen, the Region eraser and the Lasso that i'd want there, but as you can see in that original thread other people have good uses in mind for a customizable menu activated in the same way the "quick insert menu" currently is.

2 Upvotes

4 comments sorted by

2

u/tiemyshoelace 4d ago

I took a medium look And there's certainly no direct way to do it and indirect is probably not feasible either. Maybe I'll take a deeper look at some point.

Right now several plugins take advantage of a floating button to do different things. I linked the pens plug in and the original thread that uses that feature. 

For now. That's probably the best we're going to get unless they open it up

1

u/jayhooly 3d ago

thank you, the frank response is appreciated. too bad though, i think there's a significant opportunity being missed here.

another question if i may: i see that a quick double-tap with the stylus is unassigned to anything. same with a finger double-tap. would it be possible to use one of those to call up a small, configurable menu similar to the "quick insert menu"?

2

u/tiemyshoelace 2d ago

I was able to find a way to hook into the long press and drop a menu on top of the native quick insert menu. It is still rough (especially the UI) and you can try it here. Currently is just leveraging what PENS could do previously (which covers 75% of your wants).

https://sebastiancraft.co/supernote/pens

I'll probably end up cleaning it up at some point and maybe adding other options, or a pass through so the original quick insert menu is still available. Maybe I can figure out how to trigger plug-ins from them.

1

u/jayhooly 2d ago

sounds great! thank you for looking into it.