diff --git a/docs/source/extensions/ev_gui.rst b/docs/source/extensions/ev_gui.rst index 4d639fc0..c5d64211 100644 --- a/docs/source/extensions/ev_gui.rst +++ b/docs/source/extensions/ev_gui.rst @@ -53,6 +53,10 @@ Each form is described by a JSON object, with the following properties: ``schema`` - List of dictionaries. Each dictionary element describes a form component. +``viewPanel`` *(optional)* - Content to display to the right of the extension form. Either ``stream`` (default), ``gallery``, or ``settings``. + +``emitOnResponse`` *(optional)* - OpenFlexure eV event to emit when a response is recieved from the extension (generally avoid unless you know you need this.) + Component level +++++++++++++++ diff --git a/openflexure_microscope/api/default_extensions/autostorage.py b/openflexure_microscope/api/default_extensions/autostorage.py index 6b92bea0..1d1d98a8 100644 --- a/openflexure_microscope/api/default_extensions/autostorage.py +++ b/openflexure_microscope/api/default_extensions/autostorage.py @@ -248,6 +248,7 @@ def dynamic_form(): "isTask": False, "route": "/location-from-title", "emitOnResponse": "globalUpdateCaptures", + "viewPanel": "gallery", "submitLabel": "Set path", "schema": [ {