innovationOUtside / nbev3devsim

Ev3DevSim ipywidget in Jupyter notebooks
Apache License 2.0
5 stars 0 forks source link

Audio setting is not persistent #138

Open psychemedia opened 2 years ago

psychemedia commented 2 years ago

The audible alert that announces successful operations in the simulator can be disabled via a setting in the simulator, but this setting is not persistent (it must be reset to Off manually each time the simulator is opened.).

image

It would be useful if the setting were persisted. Which means we need to save some state somewhere. A cookie maybe? At the moment, there is no cookie mechanism associated with the widget. Another option might be a Jupyter extension but that then brings in an element of dependency on class notebook extension or JupyterLab extension (at the moment, we don't make use of the extension mechanism at all).

If we move to making nbev3devsim a JupyterLab widget in a JupyterLab plugin, then we'd have access to the plugin preferences.