Merge branch 'action-modal-w-stream' into 'v3'

CSM modal shows stream

Closes #678

See merge request openflexure/openflexure-microscope-server!483
This commit is contained in:
Julian Stirling 2026-02-18 15:10:44 +00:00
commit 41c9c58f42
5 changed files with 31 additions and 1 deletions

View file

@ -40,6 +40,13 @@ class ActionButton(BaseModel):
modal_progress: bool = False
"""Specify whether to show a progress modal."""
stream_with_modal: bool = False
"""Specify whether to show a mini stream preview in the progress modal.
This option only has an effect if `modal_progress` is True.
If `modal_progress` is False, no modal (and therefore no stream preview) is shown.
"""
notify_on_success: bool = False
"""Specify whether to a notification on successful completion."""