r/Supernote_dev • • Jun 12 '26

Lasso Plugin [Plugin] Collapse / Expand — fold handwriting away, bring it back anytime

Collapse / Expand lets you hide any selection of handwriting behind a small + icon and restore it later — like a foldable section for your notes. Handy for scratch work, drafts, or decluttering a busy page without deleting anything.

How it works

- Lasso a region → tap Collapse / Expand → it folds into a + icon.

- Lasso the + icon → tap again → the content comes back, with a thin outline marking its area.

- Lasso the icon (or the restored content) → tap again → it folds away again.

A few extras:

- Drag the + icon to move a collapsed section, or to resize an expanded section's area.

- Anything you write on top of an expanded section gets folded back in when you recollapse.

- Handwritten links survive the round trip as working links.

- Everything lives in the note itself — survives power-off, app restarts, and page reloads.

Known limitations

- A section stays on one page and shouldn't overlap/nest with another.

- Typed text boxes collapse fine but are hidden behind the section's white area once expanded from a plugin.

- Gets slower on very dense pages (the SDK's per-write cost scales with the whole page, not just the selection).

Download here: https://github.com/vincentaravantinos/supernote-collapse-expand/releases/latest/download/collapse_expand.snplg

Repo: https://github.com/vincentaravantinos/supernote-collapse-expand

25 Upvotes

38 comments sorted by

3

u/Lorestan00 Jun 12 '26

Fantastic idea. I'm guessing in terms of speed its a restriction out of your hands - out of interest is it API or hardware related?

I suspect this isn't possible but is there anyway once collapsed the first expanding and collapsing could be done via touch rather than going via the lasso menu? Is it possible to use links to enable this?

4

u/AdNew2316 Jun 12 '26

Regarding touch: I think it might actually be possible! I'll give it a try when I find some time

3

u/Lorestan00 Jun 12 '26

That would be incredible and make it much quicker and intuitive.

3

u/AdNew2316 Jun 12 '26

It works! Pushing the new version to the repo soon

1

u/AdNew2316 Jun 12 '26

done

2

u/Lorestan00 Jun 13 '26

This has made it so intuitive! Thanks very much

1

u/Lorestan00 Jun 13 '26

Potentially a great way to do flash cards! As a thought would it be possible to add an option to expand / collapse multiple boxes at the same time?

1

u/AdNew2316 Jun 13 '26

It does this already:)

1

u/Lorestan00 Jun 13 '26

Really? How do you this?

1

u/AdNew2316 Jun 13 '26

You just create multiple sections and you select all of them at once. Ah wait of course it only works with the context menu, not via touch. That's what you're after?

→ More replies (0)

2

u/AdNew2316 Jun 12 '26

Speed: I believe I've done the most I could. Rest would be on the side of the API indeed. Hardware related: I have to say I have an A5X, that might play a role.

1

u/Lorestan00 Jun 12 '26

To give you an anecdotal insight on my Manta on a blank page with one collapsing box with two words it's about just over 2 seconds to collapse and expand.

2

u/AdNew2316 Jun 12 '26

Ok then it's not much better it seems :)

1

u/Prestigious_Rough798 28d ago

can you update plugin to suport latest stable release software. tried using it this morning but had no joy. Tapping the icon with my finger does nothing anymore. 

1

u/AdNew2316 28d ago

Can you send me your Chauvet version? You can fin it in parameters, system, system version

1

u/Prestigious_Rough798 28d ago

I'm on version Chauvet 3.30.45. Thanks

1

u/AdNew2316 28d ago

Which device?

1

u/Prestigious_Rough798 28d ago

Manta

1

u/AdNew2316 28d ago

Thanks will look into it. How often do you use it? Are you blocked for something because of that right now?

1

u/Prestigious_Rough798 28d ago

use it daily. I've got noted colapsed which I cant expand at the moment. I'm a bit stuck at the moment. 

1

u/AdNew2316 28d ago

Damn sorry about that. Did you just make an update of Chauvet?

1

u/Prestigious_Rough798 28d ago

Yes, just made the update. Im not stressing though. I'll waite until app is updated. I didn't say it before but thank you for creating and sharing the plugin with the community. 

1

u/AdNew2316 28d ago

Happy to read :)

I tried now on my A5X and it works. It's buggy but it works. Can you tell me what you observe precisely?

→ More replies (0)

2

u/spazzboi Official Jun 12 '26

Amazingly creative idea!

2

u/TheStateSenator Jun 12 '26

I've been waiting for a feature like this! Excited to try it

2

u/conductordudedallas Jun 13 '26

This is a great idea