Skip to content

Core events

Event Payload
shell/tab.open { id?, title, viewId, params?, closeEvent?, groupId? } — opens in the active group by default; a stable id restores its saved group after restart. With closeEvent the shell emits that event instead of closing the tab itself, so the plugin can confirm unsaved changes
shell/tab.close / shell/tab.activate { id }
shell/tab.update { id, title?, dirty? }
shell/tab.move { tabId, groupId, index? } — move or reorder a tab
shell/tab.split { tabId, groupId, direction: "left" | "right" | "top" | "bottom" } — move a tab into a new adjacent group
shell/panel.toggle { panel: "left" | "right" | "bottom" }
shell/status.set { text }
plugins/install.url { url }
plugins/toggle { id, enabled }
plugins/remove { id }
plugins/dependency.missing { id, toEnable, missing }
notes/document.saved { document }
notes/document.save / notes/document.saveAs { docId? } — save overwrites the known path (desktop) and otherwise opens the picker
notes/document.close { docId?, tabId?, force? } — prompts when the document is dirty unless force
notes/document.saveAndClose / notes/document.closeCancel answers of the prompt
i18n/locale.set { locale } — change the language
i18n/locale.changed { locale } — emitted after the change

Documentation under CC BY 4.0 · © SCFlow contributors ·Back to supplychainflow.org