You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Create the dual-editor package with resizable split-view layout - #499
Adds the @openworkflowspec/dual-editor workspace package, providing a resizable split view for the Text Editor and Diagram Editor.
The divider overlays the pane boundary to avoid a visible gutter. It remains keyboard accessible, supports pointer dragging, and becomes visible on hover, focus, or while dragging.
Edits are synchronized between the editors and reported through onContentChange. The initial split is 50/50, with a 20% minimum pane size.
Also adds package documentation, Storybook coverage, and unit and integration tests. Extends DiagramEditor with an onContentChange callback for in-editor workflow changes and adds a stylesheet export for the Text Editor.
The default story nests do inside document, leaving the workflow without a root task list. Its task body also contains only message, rather than a supported task type, so the only story cannot display the intended hello-world workflow. Move do alongside document and use a valid task body such as set.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The 3,000 ms debounce breaks synchronization tests and blocks build:prod, while deferred editor updates can leave the panes permanently out of sync after external content changes.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Potential loss of final edits when unmounting cancels a pending change notification requires human assessment of the editor lifecycle and host save behavior.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed for an unpublished initialization finding that can leave stories using the system default despite a persisted dark toolbar selection.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #368
Description
Adds the
@openworkflowspec/dual-editorworkspace package, providing a resizable split view for the Text Editor and Diagram Editor.The divider overlays the pane boundary to avoid a visible gutter. It remains keyboard accessible, supports pointer dragging, and becomes visible on hover, focus, or while dragging.
Edits are synchronized between the editors and reported through
onContentChange. The initial split is 50/50, with a 20% minimum pane size.Also adds package documentation, Storybook coverage, and unit and integration tests. Extends
DiagramEditorwith anonContentChangecallback for in-editor workflow changes and adds a stylesheet export for the Text Editor.Screen Recording
Screen.Recording.2026-10-27.at.2.19.38.PM.mov