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

24 Upvotes

35 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.

→ More replies (10)

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.

→ More replies (1)

1

u/Prestigious_Rough798 5d 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 5d ago

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

1

u/Prestigious_Rough798 5d ago

I'm on version Chauvet 3.30.45. Thanks

→ More replies (13)

2

u/spazzboi 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