Commit b7c3f7b9 authored by Joel Collins's avatar Joel Collins
Browse files

Added viewPanel GUI property

parent 697fa875
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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
+++++++++++++++

+1 −0
Original line number Diff line number Diff line
@@ -248,6 +248,7 @@ def dynamic_form():
                "isTask": False,
                "route": "/location-from-title",
                "emitOnResponse": "globalUpdateCaptures",
                "viewPanel": "gallery",
                "submitLabel": "Set path",
                "schema": [
                    {