jmoenig/Snap

Save the state of the "Javascript Extensions" option

Closed this issue · 2 comments

This suggestion is really small, its just something I find mildly annoying.
The option to enable javascript extensions doesn't save its state, requiring you to re-enable it every time (and mention to people to enable it when you share a project using JS extensions)
Potential resolutions:

  • Store checkbox state in project data
  • check project for JS extension blocks on load, and enable JS extensions if they exist

This would completely ruin why the option was added.
https://forum.snap.berkeley.edu/t/snap-version-6-9-and-the-javascript-function-block/6970

The users are meant to read through the javascript before they enable it.

Oh yeah I see why that's an issue, thanks.