Skip to content

Releases: nocode-js/sequential-workflow-designer

0.19.1

19 Feb 22:03
db49623
Compare
Choose a tag to compare

Fixed the bug with refreshing the state modifier dependencies.

0.19.0

18 Feb 18:45
58f6241
Compare
Choose a tag to compare
  • Added the isSelectable callback to the StepsConfiguration interface. Now it's possible to disable the selection of steps.
  • Deleted deprecated methods and interfaces.

0.18.5

12 Feb 14:51
b01321f
Compare
Choose a tag to compare

This version fixes a bug with unintended selection of HTML elements in Apple Vision Pro.

0.18.4

04 Feb 12:45
6d9829d
Compare
Choose a tag to compare

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);
}

0.18.3

01 Feb 20:28
957b90d
Compare
Choose a tag to compare

Edited: changes are reverted in the 0.18.4 version.

0.18.2

29 Jan 23:11
20a2df9
Compare
Choose a tag to compare

This version corrects a bug in the moveViewportToStep method that caused the viewport to move to the incorrect position.

0.18.1

11 Jan 13:09
adfd055
Compare
Choose a tag to compare

This version exposes the definition walker from the Designer class #109.

const walker = designer.getWalker();

0.18.0

12 Dec 15:49
41549b6
Compare
Choose a tag to compare

This version fixes the problem with scrolling #105.

0.17.0

09 Nov 20:26
b1b2846
Compare
Choose a tag to compare

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.

Breaking Changes

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.

React

// globalEditor={} is not supported anymore, use `rootEditor={}` instead.
<SequentialWorkflowDesigner
  rootEditor={<RootEditor />} ... />

Angular

<!-- [globalEditor]="" is not supported anymore, use [rootEditor]="" instead. -->
<sqd-designer ...
  [rootEditor]="rootEditor"></sqd-designer>

0.16.10

25 Oct 21:16
b689399
Compare
Choose a tag to compare

This version fixes the error: Failed to execute 'removeChild' on 'Node' when a user uses the undo feature #100.

Additionally, this version introduces getViewport, setViewport methods and onViewportChanged event in the Designer class.