sequential-workflow-designer
Advanced tools
Changelog
0.19.0
isSelectable
callback to the StepsConfiguration
interface. Now it's possible to disable the selection of steps.Changelog
0.18.5
This version fixes a bug with unintended selection of HTML elements in Apple Vision Pro.
Changelog
0.18.4
This version removes the features introduced in the previous release. We noticed that the proposed solution did not update the undo stack. As a result, we removed that feature in this version. Instead, we added a new method to the Designer class called replaceDefinition
, which allows for the replacement of the entire definition and updates the undo stack.
function appendStep() {
const newStep: Step = { /* ... */ };
const newDefinition = ObjectCloner.deepClone(designer.getDefinition());
newDefinition.sequence.push(newStep);
await designer.replaceDefinition(newDefinition);
}
Changelog
0.18.3
Edited: changes are reverted in the 0.18.4 version.
Changelog
0.18.2
This version corrects a bug in the moveViewportToStep
method that caused the viewport to move to the incorrect position.
Changelog
0.17.0
This version introduces a new argument for editor providers: isReadonly
. Now when the designer is in the read-only mode, the editor providers can render the read-only version of the editor.
This version finally renames the "global editor" into the "root editor". This change is made in the designer package and all wrappers, except the Svelte package. The Svelte package uses a new name from the beginning.
const configuration = {
editors: {
// globalEditorProvider: () => {}, is not supported anymore, use `rootEditorProvider` instead.
rootEditorProvider: (definition, rootContext, isReadonly) => { /* ... */ },
// ...
}
};
This version also renames the sqd-global-editor
class of the root editor into the sqd-root-editor
class.
// globalEditor={} is not supported anymore, use `rootEditor={}` instead.
<SequentialWorkflowDesigner
rootEditor={<RootEditor />} ... />
<!-- [globalEditor]="" is not supported anymore, use [rootEditor]="" instead. -->
<sqd-designer ...
[rootEditor]="rootEditor"></sqd-designer>